![]() |
![]() |
![]() |
Python code for plotting Lissajous figures as either PNGs or GIFs through Matplotlib.
The code constructs Lissajous figures from the parametric equations vary_phase to True, which ignores any phase input and automatically cycles
Depending on the system this code is run on, it could take upwards of 2 minutes for high-resolution GIFs to be created, and even longer for the images to be displayed, if display is set to True. However, an upside is that the code can be easily edited — figure sizes, number of samples, colours, etc. can all be tweaked to produce personalised figures.


