Please hover your mouse over the canvas to interact with the sketch.

life and Death

 

Personal Project | Nature of Code with Professor Daniel Shiffman | Mar 2017

Creative Coding

Tool: Javascript library P5.js

 

I created a sketch that generates various patterns of generative circles by using a rose curve. In mathematics, a rose or rhodonea curve is a sinusoid plotted in polar coordinates. The sketch represents lives that are being born, growing and dying at this very moment. MouseX (left - right) controls the shape of the pattern, and mouseY (up - down) controls the velocity of its rotation. 

The whole code is as simple as this:

Screen Shot 2019-03-14 at 10.50.00 PM.png
 
Screen Shot 2017-02-14 at 4.10.43 AM.png
Screen Shot 2017-02-14 at 3.48.58 AM.png
circle3.png
Screen Shot 2017-02-15 at 4.34.35 PM.png
Screen Shot 2017-02-15 at 4.35.53 PM.png
Screen Shot 2017-02-15 at 4.53.01 PM.png
Screen Shot 2017-02-15 at 4.35.07 PM.png
Screen Shot 2017-02-15 at 4.34.35 PM.png
Screen Shot 2017-02-15 at 4.34.52 PM.png