Draw your coaster then let go of your mouse and it will ride the coaster The speed you draw the coaster will be the speed of the circle that rides it The circle will occasionally get derailed To loop your coaster it back to wear it starts at the blue dot
This was a fun short project The code was extremely simple Everything except the red circle is pen Version2.0 Added looping for the roller coaster Version2.1 Improved looping