#184 — Elastic Collisions

Nebula logo

What happens when two circles collide in a p5.js canvas? In this video, I examine the math and implement idealized elastic collisions in a JavaScript physics simulation. This video supplements the Nature of Code book series in Chapter 6 which uses 3rd party physics libraries to ...

  • Editing

    by Mathieu Blanchette

  • Animations

    by Jason Heglund

Passenger Showcase

The Showcase is collection of projects created by viewers like you!

Have you made something? Please share your work!

Try a challenge!

Suggested by the video you're watching

👁