Log In  

Cart #lissajous-0 | 2023-04-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

Lissajous Curve Generator

Draw curves by setting the frequency of a vertical and horizontal oscillator.
Lissajous curves are named after Jules Antoine Lissajous, a french physicist that invented the device to create this figures.


Up/Down - Increase/Decrease the frequency of the vertical oscillator.
Left/Right - Increase/Decrease the frequency of the horizontal oscillator.
Z - change the offset of the horizontal oscillator (sine or cosine)
X - change the offset of the vertical oscillator (sine or cosine)

P#128254 2023-04-07 12:48


this is very kewl

P#128267 2023-04-07 20:28


P#128383 2023-04-10 08:08

OMG that is so useful. I'm going to rewrite all my enemy motion code in the game I'm working on to do things like this now.

P#128428 2023-04-11 09:24

thanks to everyone! Godmil that is great, i know shoot-em-ups are filled with trigonometry, sine/cosine functions make everything feel organic and less "robotic" if that makes sense :P

P#128433 2023-04-11 11:27

[Please log in to post a comment]