https://github.com/phenax/canvas-physics
Simulating cool physics problems on a canvas
https://github.com/phenax/canvas-physics
canvas physics simulation
Last synced: 3 months ago
JSON representation
Simulating cool physics problems on a canvas
- Host: GitHub
- URL: https://github.com/phenax/canvas-physics
- Owner: phenax
- License: mit
- Created: 2019-02-15T16:28:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T17:05:48.000Z (over 6 years ago)
- Last Synced: 2025-01-16T19:52:36.780Z (5 months ago)
- Topics: canvas, physics, simulation
- Language: JavaScript
- Size: 255 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# canvas-physics
Simulating cool physics problems on a canvasNOTE: Controls will be added soon.
### Double compound pendulum [[Demo](https://phenax.github.io/canvas-physics/double-pendulum.html)]
A chaotic system of two connected compound pendulums.
**References**
* https://en.wikipedia.org/wiki/Double_pendulum
* http://www.team.kdm.p.lodz.pl/master/Jankowski.pdf### Collision problem (Incomplete/buggy) [[Demo](https://phenax.github.io/canvas-physics/collision-problem.html)]
Trying to count the number collisions between the two objects to an approximation of PI.
**References**
* https://en.wikipedia.org/wiki/Collision
* https://www.youtube.com/watch?v=HEfHFsfGXjs