lissajous, a Python code which displays a Lissajous figure, of the form x = sin ( a1 t + b1 ), y = sin ( a2 t + b2 ).

The user specifies information about the number of points, and the definition of the two sine curves involved. Depending on these parameters, the resulting shape may or may not be a closed curve. The user also specifies a range for the underlying T parameter. Again, depending on the parameters, this value may result in a closed curve being drawn several times, or a closed curve being only partially drawn.


The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.


lissajous is available in a C++ version and a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

python_plots, a Python code which uses plotting to illustrate a mathematical structure, such as an iterative map, a fractal, a curve or surface.

Source Code:

Last revised on 29 August 2023.