Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 904 Bytes

File metadata and controls

27 lines (17 loc) · 904 Bytes

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!