https://github.com/donno2048/dp-render
Render the double pendulum for every pendulum
https://github.com/donno2048/dp-render
double-pendulum pendulum renderer simulation
Last synced: 5 months ago
JSON representation
Render the double pendulum for every pendulum
- Host: GitHub
- URL: https://github.com/donno2048/dp-render
- Owner: donno2048
- Created: 2021-05-13T17:25:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T09:40:27.000Z (about 4 years ago)
- Last Synced: 2025-01-06T16:50:37.722Z (about 1 year ago)
- Topics: double-pendulum, pendulum, renderer, simulation
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DP render
Render the double pendulum for every pendulum
Each point represents a pendulum
The _x_ coordinates are from -π to π and represent the first angle
The _y_ coordinates are from -π to π and represent the second angle
## Clone
```sh
git clone https://github.com/donno2048/DP-render
cd DP-render
```
## Install dependencies
`pip3 install -r requirements.txt`
## Run
`python3 main.py `
Where _\_ is the number of frames to render (60 fps)
The output will be saved to _output.gif_ and the frames to the _frames_ folder