Code of the Rings

While tinkering with my tree ring code, I created a simpler yet mesmerizing adaptation. Essentially I added a loop, some random multipliers, and changed to radian mode.

Sine and cosine are so incredibly beautiful and full of infinite play and wonder. Please play with the code below by clicking to change the equation. If you really like one, write down the numbers. The possibilities are infinite. I encourage you to share this with your elf, dwarf, and wizard friends. My daughter came up with the title.

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

Leave a Reply

%d bloggers like this: