Skip to content

Creation of a video of multiple double pendulums in C++ with slightly different initial configurations.

Notifications You must be signed in to change notification settings

yursds/Double_Pendulum_Chaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Double Pendulum Chaos

Here you can find the code to simulate 200 double pendulum with very small different start configuration!

SFML library is necessary to execute the simulation.
For linux system you can install necessary package with:

sudo apt-get install libsfml-dev

Clone the repostery:

git clone https://github.com/yursds/double_pendulum_chaos.git

Navigate into the folder and run the following command:

make ./main
./main

You can use header file to change parameters of simulation.

Simulation

Command:

  • Keyboard_Space to start simulation
  • Keyboard_Right to increase first (absolute) angle of PI/36
  • Keyboard_Left to decrease first (absolute) angle of PI/36
  • Keyboard_Up to increase second (absolute) angle of PI/36
  • Keyboard_Down to decrease second (absolute) angle of PI/36
  • Keyboard_R to reset simulation

Video demostration:

IMAGE ALT TEXT HERE

About

Creation of a video of multiple double pendulums in C++ with slightly different initial configurations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published