Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bartolomej/simple-pendulum

In browser pendulum simulation made with p5.
https://github.com/bartolomej/simple-pendulum

mathematics pendulum-simulation physics-simulation

Last synced: 12 days ago
JSON representation

In browser pendulum simulation made with p5.

Awesome Lists containing this project

README

        

# Pendulum simulation

### Equations:
- `posX = Math.cos(angle) * armLength`
- `posY = Math.sin(angle) * armLength`
- `a = -g * Math.sin(angle)`

![Simulation](https://i.ibb.co/KjbynnN/Screenshot-2019-09-12-at-20-19-00.png)