On mode zero, you can hod space to make a trail. For mode one, use the sliders to manually adjust the position of the circle. As usual, a full tour (fully commented code) is ready at the click of the see inside button.
All code by me. Hope you enjoy! Feel free to remix, just credit me.