Simulating Forces

Nature of Code Lesson #2.1

In this video I introduce Newton’s Laws of Motion, and apply the concept of a “force” to a p5.js sketch with a mover object and two forces: gravity and wind.

View Code
Download Code
Live Demo