Skip to content

Experimenting with elastic collision in javascript

License

Notifications You must be signed in to change notification settings

lubobul/BouncyBallsJS

Repository files navigation

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

About

Experimenting with elastic collision in javascript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published