Mystify Version 2.5

While trying to get the bounce feature to work properly in the mystify sketch I was writing, I realized while working on the orbiting sketch that I could use sine waves as an alternative to having boolean switches that ticked on and off when the x or y coordinates increased past the canvas boundaries. What resulted is a more fluid dynamic that pretty mesmerizing. I also added the function of adding points when left-clicking and removing points when right-clicking.

Mystify version 2

I decided to attack the problems I was having on my Mystify code with a bit of additional knowledge and finesse while still avoiding any new topics, like multi-dimensional arrays. I came up with a simple solution for the ghost trails by essentially reducing the alpha (i.e. transparency) of the background refresh.