Polar Roses
Drag the slider for k and watch the polar rose r = sin(kθ) change its petal count: odd k gives k petals, even k gives 2k. Edit the equation.
However many petals a rose has, together they cover a quarter of the disk around them when their number is odd, and half of it when their number is even. The Italian mathematician Guido Grandi named these curves rhodonea between 1723 and 1728. They are the polar curves r = \sin(n\theta) and r = \cos(n\theta) , where a point is given by its distance r from the center and its angle \theta . For a whole number n , an odd n gives n petals and an even n gives 2n .
Here one rose, (\sin(k\,t)\cos t, \sin(k\,t)\sin t) , is drawn over one full turn, and k steps through 2, 3, \dots, 8 . Drag the slider of k from stop to stop and notice the petal count jump: 4, 3, 8, 5, 12, 7, 16. For an odd k , half a turn later r has the opposite sign, which gives the same point, so the curve draws each petal twice. The equal aspect ratio keeps the petals undistorted. Edit the row, change the first \sin to \cos , and notice that the rose turns but keeps its petals.
JavaScript is required to view the interactive plot.