Pygame and Pymunk simulation of a double pendulum created with Pygame and Pymunk.
Controls:
-
Change pendulum position: left click
-
Pause/resume: Spacebar
-
Enable/disable trails: t
-
Clear pendulum trails: c
-
Change pendulum draw mode: m
Demo:
Double.Pyndulum.2021-09-16.14-51-56.mp4
Requires the installation of python3, pygame and pymunk. (see requirements.txt)