-
Notifications
You must be signed in to change notification settings - Fork 0
Week 6 Blog
Chengbo Xing edited this page Oct 14, 2021
·
3 revisions
For this project, I used vectors stored in an array to make a large number of stars rotate on one axis in 2 dimensional.
I think the most interesting is that I learned p5.Vector() through this project.
A class to describe a two or three dimensional vector, and a vector is an entity that has both magnitude and direction.
I think in many p5 projects, p5.Vector can be used to describe a position, velocity, and acceleration a lot.