This week’s assignment was pretty challenging for me on a workflow and conceptual basis. I think this was the first really open ended prompt we got, so it took me awhile to figure out what I would make and how that would combine with Taigen’s input. Eventually I gave up on an idea and started playing around, which led me to my half of our submission: The reverse drawing tube effect. This alone does not have choice, so I landed on adding random parameters that trigger depending on where your mouse is on the the screen. Taigen also made a ball clicking game. I worked on combining both of our code, and I do believe the combination does require difficult choices for the user. In order to click the balls, the user must move the mouse, doing so create an inverse record of their mouse movment, making the canvas busier, and the ball harder to touch.
One thing I had to look up to figure out how to do was something called “normalizing the vectors” and I still do not fully understand it. It results in the ball’s movement becoming much more smooth, though.
Initially before we decided to put our games together I was planning on making a start screen that could lead to both of our respective codes. I abandoned this as I liked putting the games together more, but I am now curious about custom functions.
https://happycoding.io/tutorials/p5js/creating-functions just adding a source I found that was helpful for making a start screen
<iframe src="https://editor.p5js.org/nbdorazio/full/Z0MYhd21p"></iframe>