Lissajous Oscillation

Click to randomize. Press “P” to toggle background painting. Press the spacebar to pause.¬†Press “A” to toggle auto-randomizing. Press “C” to randomize colors. Press “S” to randomize the shape. Press “X” to randomize the number of axis. Press “+” and “-” to change the number of axis. Press “B” to clear the background. Press “D” to change the amount of decay when the background isn’t painting. Press “F” to show the frame rate.

This sketch was made with Processing 2 in Javascript mode.