P5.js Kaleidoscope

Click and drag on the canvas to draw kaleidoscope patterns.

Press 'C' to clear. Press keys '2' through '9' to change symmetry.