An open API service indexing awesome lists of open source software.

https://github.com/philipturner/multipendulum

A mesmerizing physics simulation
https://github.com/philipturner/multipendulum

javascript simulation

Last synced: 28 days ago
JSON representation

A mesmerizing physics simulation

Awesome Lists containing this project

README

          

# MultiPendulum

Try the simulation online at [philipturner.github.io/multipendulum](https://philipturner.github.io/multipendulum).


Screenshot of MultiPendulum running with three pendulums

This O(n^4) simulation shows an eye-catching manifestation of entropy in a system with only conservative forces. Bump the number of pendulums up to 30 and simulate for 3.00 seconds to see it in action. This mimics how large-scale, uniform motion in the real world disperses into chaotic motion at the molecular level.

Despite being a system of rigid bodies, the simulation demonstrates the emergent property of elasticity. Set the number of pendulums to 10 and initial angular velocity to +1 rev/s counterclockwise. After 30 seconds, it overcomes the local entropy minimum sustained by an apparent elastic tension. Everything compresses toward the center with high internal kinetic energy (thermal energy).

This is the browser version of the simulation. The mobile AR app is [AR MultiPendulum](https://github.com/philipturner/ar-multipendulum).