Lissajous
✓ Published0🌍 Public
SSleepyHarry
Last edited Feb 14, 2017
Created on Feb 4, 2017
This example animates Lissajous curves, parametric figures formed by sine waves on perpendicular axes, with interactive text inputs for amplitude, frequency, and phase values. The curve continuously evolves as the phase offset (δ) increments automatically, while the other parameters remain adjustable by the user. The SVG path is redrawn on each frame using a d3.timer, computing points with a custom lissajous function and d3.range over a fixed precision interval. The code relies on d3.v4 selection and attribute methods, with a centered group transform positioning the rendering.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed