D
4
Symmetries of a square
Colors, and some code structure, come from
Erin Carmody and Ethan Bolker's now-defunct Java applet
. Built with
p5.js