From Wikipedia, here's the equation of an ellipse:
I want all ellipses to have a width of 240 pixels.
And want to the height of all ellipses to be a value between 10 and 60 pixels which will be randomly generated.
Something like this:
My questions is where do I plug in the 240, and where do I plug in my randomly generated height values?
a and b are the radii of the ellipse.
This is the answer I was looking for:
.. where h = randomly generated height between 10 and 60.
Because an ellipse has two radii, instead of just one in the case of a circle.