GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

08Phase-difference comparison panel

Dragging an input[type=range] slider for δ from 0 to π morphs the same Lissajous curve live from a line into an ellipse into a circle. Every requestAnimationFrame tick reads the slider value into the Math.sin phase term.

Best forInteractive phase-teaching tool, physics-simulator UI

::-webkit-slider-thumbMath.sinrequestAnimationFrame
Phase-difference comparison panel
Open in a new tab

08 Phase-difference comparison panel — Measured area 27.153% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Wave Interference Simulation: 9 Canvas Scenes

The post this demo lives in

Wave Interference Simulation: 9 Canvas Scenes - preview of all 9 demosWave Interference Simulation: 9 Canvas ScenesA wave interference simulation shows what happens on screen when two or more waves combine, and this set builds nine of See all demos in this post

If you like this effect - similar demos