Skip to content

noahlevenson/lissajous-uncurve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lissajous uncurve demo

lissajous-uncurve

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.

Releases

No releases published

Packages

No packages published