Lissacurses - Lissajous curves on the console
Tags: programming, projects, software
Published on
« Previous post: Markov chains for Christmas
— Next post: Making Qt and OpenSceneGraph play nice: … »
While cleaning out my project directory, I stumbled over some rather ancient code for generating “Lissajous curves” on the console. These were probably my first steps with the “ncurses” library, back in the days when I knew nothing much about anything.
I decided to share the program anyway, and after half an hour of
cleaning the source and having fun with CMake
, the program still
builds on my Archlinux desktop.
Short usage information:
- Press
a
/A
to decrease/increase the value of the “a” variable - Press
b
/B
to decrease/increase the value of the “b” variable - Press
-
/+
to decrease/increase the value of the “delta” variable, resulting in the curve being rotated - Press
q
to quit the program
The program is released under the “MIT Licence”. You may get the source from the Lissacurses git repository. This repository also contains more detailed instructions for building the program.