Drawing a rose

Rhodonea curve

x = r ⋅ cos(θ)
y = r ⋅ sin(θ)

with r = sin(n ⋅ θ) + c, the angle θ in degrees runs from 0 bis u. If you like, change the step-size further below.

Is n a rational number, closed curves result.

, , ;

     


accepted formats: "red", "#f00", "rgb(255, 0, 0)", "rgba(255, 0, 0, 0.5)", "none" for no color

Create your rose as an SVG

Please choose u minimal, e. g. for n = 5 with c = 0 a rotation of u = 180° is sufficient. For further reduction (or for fun (.svg)/(.pdf)) enlarge the step size, please:

 > 0

  

Draw a rose in an astroid (.html), have more fun with (.html).


SQRT.CH | IMPRESSUM