This project is a simple web-based application that visualizes Lissajous curves. Lissajous curves are parametric equations that describe complex harmonic motion, often used in physics and mathematics to study waveforms and oscillations. Learn more about Lissajous curves on Wikipedia.
- Interactive Controls: Adjust parameters such as:
ωx(frequency along the x-axis)ωy(frequency along the y-axis)θ(phase shift)
The Lissajous curve is defined by the following parametric equations:
x = a * sin(ωx * t + θ)y = b * sin(ωy * t)
Where:
aandbare the amplitudes.ωxandωyare the angular frequencies.θis the phase difference.
The application uses the HTML5 <canvas> element to draw the curve and JavaScript to handle the animations and user interactions.
- Open the
index.htmlfile in any modern web browser. - Use the sliders on the right side of the screen to adjust the parameters:
ωx: Frequency along the x-axis.ωy: Frequency along the y-axis.θ: Phase shift.
- Watch the Lissajous curve update dynamically on the canvas as you adjust the sliders.
This project is inspired by the mathematical beauty of Lissajous figures and their applications in physics and engineering.



