Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.01 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.01 KB

Kuramoto Model

An animation of sine functions using the Kuramoto Model

Usage

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

Example

Example GIF

Running

  • 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

Meta

I got the inspiration to make this from standupmath's video on a spreadsheet representation of the Kuramoto model.