• 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.



© 2020 Kyungjoo Ha. All Rights Reserved