Skip to content

Analysis of pendulums, double pendulums, their chaos and numerical instability. πŸ”

Notifications You must be signed in to change notification settings

kxnoun/PendulumDynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Videos we made using the GLRK4 Double Pendulums!

100 Double Pendulums

100 Double Pendulums

Chaotic Art

Chaos Art

how to use
hi quick lil readme

just install the dependencies (pygame, matplotlib, scipy) and just run whichever pendulum you'd like to use!

just drag whichever mass and drop, have fun! 100 Double Pendulums:

the code
play with delta_t, you should find better results the smaller delta_t is.

also, there is no fps cap, so sim may look unstable, add a clock = pygame.tick.Clock() before the while loop then in the while loop, at the end, add a clock.tick(120).

also chaos_art.py, chaos_study.py, butterfly_effect.py are just for fun, try to run it, but it may be slow!

About

Analysis of pendulums, double pendulums, their chaos and numerical instability. πŸ”

Topics

Resources

Stars

Watchers

Forks

Languages