A simple JS ball bounce program, with basic ball-on-ball collision simulation I made in grade 10. A lot of it is based off of my simple platformer, which I started in grade 7-8 (still WIP)
It uses some basic vector math to do all the bounce simulations (which I had to teach myself over the summer before).
Things I learned:
- Vector Math
- Vector Addition
- Vector Dot Products
- Vector Projection
- Handling Collision off of curved surfaces