1.6: Vectors: Acceleration towards Mouse - The Nature of Code
Channel:
Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=7eBLAgT0yUs
In this video I look at how to calculate a vector that points from an object to the mouse. This vector is used as a "force" to pull the object towards the mouse position.
The Nature of Code
http://natureofcode.com/
Twitter: https://twitter.com/shiffman
Example code: https://github.com/shiffman/The-Nature-of-Code-Examples
Help us caption & translate this video!
http://amara.org/v/Qbw8/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Other Videos By The Coding Train
Tags:
processing.org
nature of code
vectors
PVector
acceleration
Processing (Programming Language)
physics tutorial
processing code mouse
the nature of code vectors
vectors processing
processing tutorial
how to follow mouse
attraction behavior
acceleration vector
PVector tutorial