Three.js shader to visualise a particle wave. Equation for the wave is in the vertex shader in the wave.ts file.
Enable hardware acceleration for your browser if possible. Otherwise, reduce the width and height of the wave to improve performance.
Website found here.