• Elvin Ou

Attempt to animate 3

https://editor.p5js.org/full/SyTFvKZcX

Creating a function, a class, using constructor is extremely helpful to clarify the coding process and intention. It was very straight forward to create and use function to minimize the code, however I had some problems trying to class some of the functions and multiplying them with different"variables". In terms of the visual itself, I was trying to create shapes that has the mouse as starting point connecting to the ending point that is on a ellipse track. By putting in different variables in the class function of "ellipseTrack", I was able to multiply them with different radius.