Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 952 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 952 Bytes

BouncyBallsJS

In this project I am experimenting with:

  1. Elastic collision between N 2D balls
  2. Collision between camera blob detection and N 2D balls
  3. Collision between N balls and a straight line defined by a function
  4. Collision between N balls and a curve defined by a function

Written from scratch in Vanilla JS

Elastic collision

elasticcollision

Camera interaction

motiontracking

Collision with function drawing a straight line

straightfunction

Collision with function drawing a curve

curvedfunction