ToolSphere
All Desmos art

Desmos Flower Equations (Polar Rose)

The petals are a rose curve, r = 3 cos(5θ), written in parametric form; a small circle, a line and an ellipse add the centre, stem and leaf.

Flower drawn from its Desmos equations
4 equations, t from 0 to 1

The picture above is drawn from exactly these equations. Paste them into the first empty line of the Desmos graphing calculator; each line becomes its own curve.

How it is built

A polar curve r = f(θ) becomes parametric with x = r cos θ and y = r sin θ. With θ = 2πt:

x = 3 cos(10πt) cos(2πt)
y = 3 cos(10πt) sin(2πt)

which is r = 3 cos(5θ). With an odd number like 5 the rose has 5 petals; with an even number like 4 it has 8. Change the 3 to resize it.

Press Copy all equations, open the Desmos graphing calculator, click into the first empty expression line and paste: each line becomes its own curve. Every curve uses t from 0 to 1, which is Desmos's default, so there is nothing to set up. Fill the centre orange and the leaf green.

Make your own

Frequently asked questions

How do I make a flower in Desmos?

Use a rose curve: r = a cos(kθ). In parametric form that is (a cos(kθ) cos θ, a cos(kθ) sin θ). This page uses k = 5 for five petals.

How do I change the number of petals?

Change k. Odd k gives k petals and even k gives 2k petals, so k = 4 makes 8.