The example is a 4x4 lissajous figure animation coded in Matlab that is compatible with Matlab 2016b or + due to functions inside script.
2 keyboard binds are implemented:
- Press 'p' to pause/unpause the animation
- Press 'a' to toggle the asymptotes
Have fun :)