Day 5 of 101 DoCC

I was feeling a little chaotic at the end of the week, so my code may reflect that. Day 5 of 101 DoCC is interactive. Click to add more spheres and rotate/zoom with your mouse. The maximum number of spheres is 200. The light moves with your mouse. This code won’t work well on a phone/touchscreen. Enjoy!

See the Pen semiChaotic_Day5 by Sophia (@fractalkitty) on CodePen.

Other variations included different shapes, planes intersecting and light motion.