Skip to content

vincentmader/double-pendulum.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Double Pendulum Integrator & Visualization

In this small python project, the equations of motion of a double pendulum were integrated using a fourth order Runge-Kutta scheme. The results were visualized via the `pygame` library.

A demonstration can also be seen here on YouTube.

Setup

To try it out, you need to have `python3` installed on your machine.

If you also have the `make` CLI tool, you can run the project by executing the following two commands:

make setup
make pendulum

If you don’t, you can also navigate to the `./bin/` directory and execute the two binaries manually from there.

cd ./bin
./setup
./pendulum

./out/demo-image.png

About

RK4 integration & visualization of a double-pendulum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published