Form Generator
Random Form
Plan for my sketch
Design Process
First, I started by drawing 3 different forms in Procreate. These would serve as the basis of my sketch in p5js. Second, I recreated 2 of the forms I planned out using Rect, Ellipse, and Bezier. The 3rd form I felt was to complex for this assignemnt. Third, I implemented mouseX and mouseY for the scale and transform of each point to resize dynamicly. Forth, I used a if statement to check an array of random numbers to decide the shape of the object. Clicking on the mouse would cycle through the random number. Finally, I put text on the screen for the character to say. Any key press would cycle through different phrases.
My Unused Sketch
This image was designed to look 3D. However, using p5.js to recreate it was extremely difficult and time consuming. I was also worried about transforming the object and it losing its form. Eventually I discovered the scale() function, but at that point my design was finalized.
Reflection
I had a lot of trouble while making this but I really enjoyed this project in the end. Using bezier to draw shapes is already a complicated process. When you add translation and scale to object you can easily get unexpected results. Once I got to a point of which I was happy with my sketch I decided to not add anymore randomness to it. I decided to leave the randomness to selecting a different sketch. I fell this decision was good becuase it makes a much more interesting experience.