Simulating refraction and caustics with vanilla JS and WebGL

measure_plan · x · 2026-08-26

A developer demonstrates simulating light refraction and caustic patterns as it travels through water in a physics puzzle game. The effect is coded with vanilla JavaScript and WebGL as part of a mission to guide sunlight to save houseplants.

Related event: Indie Dev Builds Real-Time Light Refraction Puzzle Game in WebGL(2 posts)→

Original post →

More from Apps

Apps channel →