Attract 1 - Japanese Dance
- Xinyu Liu
- Sep 17, 2022
- 1 min read
Updated: Mar 28, 2023
In this exercise, I explored p5.Vector and several transformation functions. I learned from this CodingTrain video why the random2D function is called by “p5.Vector.random2D()” instead of “vel.random2D()” (the concept of static function). I also learned the two-body attraction (although not quite understand it yet).
