top of page

Attract 1 - Japanese Dance


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



©2023 by Xinyu Liu Carrot

bottom of page