top of page
Writer's pictureJenny Wang

Forces - mouse followed floating dots

Updated: Feb 22, 2021


Inspired by the gravitational attraction demo video, I wanted to create something that is attracted to the mouse movement and follows it. I wasn't very creative about this sketch because I mainly wanted to understand attraction. This week's learning materials are hard. I kept confusing it with acceleration and velocity from the last week's materials.


With position and velocity, I created an interaction that is as same as the gravitational attraction. I didn't use force formula, and I played around with the value of setMag and vel.limit to see how the dots behaves. I will keep working on it and use force formula to create the interaction tomorrow.




18 views0 comments

コメント


bottom of page