Today, we’re going to explore how oscillations behave.
Mathematical:
Computationally:
🎯 Task for students: Start by making any animating any expanding spiral of your choice using loop and fn:
fn x 0
loop 360 do
fw x
rt 90
fn x x+1
wait 0.01
end

As you know, increasing the number of loops will make the spiral expand even faster.
Today, we’re going to be introducing a new function that makes the same oscillate instead.
Replace the fw x with fw sin[x] instead.