This repository contains Python code that models and visualises the Kapitza pendulum. Moreover, it contains some images and data obtained using the code.
Call one of the functions in simulations.py
or plots.py
to obtain the wanted result. Note that if you call gif_simulation()
in simulations.py
, the resulting simulation.gif
file will be stored in the images
directory.