You must press the green flag again to have it generate another pendulum. Press space to stop drawing, and show the trajectory of the endpoint. Switch example mode to 1 to see an example of how this could be utilized. Currently, it would not be very useful, as you require 3 lists and 3 variables. I might make it more compact in the future.
a usage for this could be an enemy that looks like it has random movement. shape sprite taken from my website. updated to include a much bigger range of motion, and waaay more combinations.