Creative Coding

CMU SAMS 2018

Rotating Firework

Jaelin Haynes

This was inspired by a prompt to make some sort of paint brush. Additionally, we had just learned about the push and pop functions that are used to rotate items on the screen. The rotation of the lines make for a cool effect of what the paintbrush actually leaves behind. Move the mouse around to draw, and press any key to clear the canvas.

Source code