Challenge: Rainbow slinky

Slink that slinky!

Hint

var = sin(TWO_PI * frameCount / );
var = map();
drawSlinky(width/2, 10, );


This slinky is hanging from the ceiling, so it should really be bobbing up and down from spring forces. Use the sin() function to calculate the y position of the bottom of the slinky, and map() to convert it to a reasonable value.