• KJ Ha

Nature of Code: 2nd Assignment

Code


For the second assignment, I've decided to develop the first assignment further.


Besides using the createVector() function, for a more dynamic visual effect, I played with the alpha value of the color, visualizing the repeated path. There are also some added functionalities: resizing of the radius of the dot by up and down arrows and the flexible window size.




Live Sketch


- Click the mouse to relocate the dot.

- Press the Escape key to clear the canvas.

- Press the Up and Down arrows to resize the size of the dots.



Recent Posts

See All

Nature of Code: Final Proposal

Link to video recording: https://youtu.be/_n7wWtambYc For the final, I would like to continue working on the mid-semester exercise. (link to mid-semester exercise: https://editor.p5js.org/kh1785/sketc