This example utilizes multiple saved paths. It plays back the paths in a random order using the onEnded() method to get a new path when a path animation is complete! The ellipse gets a new color when a new path is chosen.

press the 'p' key to show / hide the paths