Lissajous Uncurve is a command line toy that generates and responsively animates ASCII Lissajous curves.
Usage:
node luncurve.js a b [dx dy p]
a = angular frequency a
b = angular frequency b
dx = x damping constant [optional]
dy = y damping constant [optional]
p = initial phase [optional]
To responsively scale the Lissajous figure, resize the terminal window. Its amplitude values will adjust to fit.
To exit, press any key.
Some figures to try:
2 1
3 4
3 4 0.003
1 1
2 6
1 1 0.004 0.001
Note: Given the (cutely) limited resolution of the raster, nonzero damping constants tend to generate figures too complex to render meaningfully.