Math

Polar Curves

Polar coordinates describe a point by distance and angle. Change the parameters of r = a + b cos(kθ) and watch petals, loops, and symmetry appear.

6 minLevel 2/3The interactive stage stays ad-free.
CurveRose r = cos(3θ)Max |r|1.00Petals3Symmetry3-fold

A polar point is (r, θ). The faint curve is the full shape; the amber trace shows the current drawing progress. Changing k in a rose curve changes the number of petals, while a and b control inner loops and cardioid shapes.

What you are seeing

1

A polar point is (r, θ). Convert to Cartesian with x = r cos θ and y = r sin θ.

2

In r = a + b cos(kθ), the parameter k controls the number of petals or lobes, while a and b control the shape and inner loop.

3

Symmetry comes from the cosine: the curve repeats or reflects depending on whether k is even or odd.

Why it matters

Polar curves appear in radar, antenna patterns, orbital mechanics, and computer graphics. They also build intuition for parametric and periodic functions.

Complexity & details

Sampling n angles costs O(n). Smooth curves usually need a few hundred samples.

Frequently asked questions

Why does a rose have a different number of petals for even and odd k?+

When k is odd, the negative-radius half of the plot retraces the same petals. When k is even, those points land on new petals.

What is a cardioid?+

A cardioid is the polar curve r = a(1 + cos θ). It is the path traced by a point on a circle rolling around another circle of equal size.