With a couple of loops and a bit of maths you can create a rotating spiral.
The only way to learn mathematics is to do mathematics.