C
cibercitizen1
I've developed a simple plotter of math functions.
What is a good place to share the code?
Just for the curious it is to be used this way
p = Plotter.new {
leftX -2.0
rightX 2.0
inf 0.0
sup 2.0*Math:I
funClass Circum
}
p.show
where
class Circum < Function
def self.vx (p)
Math.sin(p)
end
def self.vy (p)
Math.cos(p)
end
end
What is a good place to share the code?
Just for the curious it is to be used this way
p = Plotter.new {
leftX -2.0
rightX 2.0
inf 0.0
sup 2.0*Math:I
funClass Circum
}
p.show
where
class Circum < Function
def self.vx (p)
Math.sin(p)
end
def self.vy (p)
Math.cos(p)
end
end