These video lessons accompany Chapter 1 (Vectors) from The Nature of Code book.
Vectors28 Jul 2015
This video covers the topic vectors: What is a vector? How do vectors play a role in programming motion and physics simulation in Processing?
PVector class28 Jul 2015
In this video, I look at how to apply the concept of a vector in Processing itself using the PVector class. The video accompanies Chapter 1 from The Nature of Code book.
Vector Math28 Jul 2015
This video covers the basics of vector math. What is a vector? How do you add and subtract vectors? Leading up to using vectors in code!
Vector Math II30 Jul 2015
This video continues the discussion about vector mathematics. How to calculate a vector’s magnitude (using PVector mag()) and how to normalize a vector (using normalize()) are also discussed.
Acceleration30 Jul 2015
Vectors Acceleration towards Mouse30 Jul 2015
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.