https://zonebahama.blogspot.com/2018/05/lissajous-curves-javascript-simulation.html