An animation of sine functions using the Kuramoto Model
usage: python graph.py [-h] [-d] K
An animation of synchronization of sine functions.
positional arguments:
K Coupling constant for the sine functions
optional arguments:
-h, --help show this help message and exit
-d, --debug Show the plot instead of writing to a file
- Create
conda
env from environment.yml (see Install Conda) - From the root of the folder,
python ./graph.py
- It will generate the files into ./recordings/
- Or use
-d
and it will display the matplotlib window
I got the inspiration to make this from standupmath's video on a spreadsheet representation of the Kuramoto model.