Project #2 Form Generator
Design Process
I first decided that I want to learn how to draw seemingly organic shape with p5.js. I used my snakeplant as the inspiration. It ended up to be much harder than I thought it would be. At first I started with randomizing a curve and make the curved stroke to follow the coordinates of the cursor. Then I looked into how to fill the space with color around the curve I "filled" the curve by filling it with triangles that are visually small enough to make the curve look smooth enough. In the design process I also noticed that random() does not achieve an organic shape properly. I had to utilize the cos curve and play with the math a bit to get the curve to work more smoothly instead of looking like a jagged line. Unfortunately I only found out the reference of the Brownian Motion after I completed the assignment, which would have made my life a lot easier :/