donno2048 / DP-render

Render the double pendulum for every pendulum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

git clone https://github.com/donno2048/DP-render
cd DP-render

Install dependencies

pip3 install -r requirements.txt

Run

python3 main.py <frames>

Where <frame> is the number of frames to render (60 fps)

The output will be saved to output.gif and the frames to the frames folder

About

Render the double pendulum for every pendulum


Languages

Language:Python 100.0%