Categories
3. Generative Thing

Starry Night – Generative Thing

Reflection

For the generative project, the idea of letting go of complete control of your art mesmerized me. It truly did push me to think of the seemly random nature of art around us. For the project, I chose to depict a flowery field surrounded by a dark starry moonlit sky. The reason for this is that I have always been fascinated by nature’s ability to create art all around us and how much variation exists as well.

My first step was designing each element, sketching it, and coding it individually. The stars were the hardest as I had to calculate multiple shapes (triangles) and set their locations to be related to one another.

Every time the mouse is pressed, a cluster of randomly generated stars are created around it by a certain radius. The amount of stars, the amount of “arms” it has, its location, its color, and its size are all randomly generated for each star. If the mouse goes down to the field and is pressed, the location of the x and y are randomly generated between a more acceptable range. The same is true for the flowers. Their quantity, size, and colors are randomly generated. They are also kept within an acceptable range (the field) when the mouse is pressed on the sky.

Code: https://editor.p5js.org/ym1820/sketches/-rXGZAL98
Grid of Images