Skip to main content
Post

Liquid Refraction releases its three.js effect under MIT

Jehad Uddin released the Liquid Refraction source code under MIT. In the live demo, move your cursor over the main sphere to see its surface bulge. Hover over a bubble to hear a synthesized chime.

The three.js project uses a physical material with a water-like index of refraction of 1.33 and chromatic dispersion. GLSL Simplex noise drives the ripples, and Web Audio handles the chimes. The repo includes the TypeScript and Vite project so you can run the scene locally and see how the pieces fit together.

An interactive three.js and WebGL experiment with rippling liquid refraction, orbiting bubbles and hover chimes.

Profile
Loading replies