Uses M4 to create an interactive whisky glass scene in real time. Sunlight passing through the glass and droplets creates focused light on a wooden table.
The interaction is written in a single HTML file using only WebGL2 and GLSL. According to the author, the GPU traces about half a million rays of sunlight per frame, calculating where they land after passing through the glass, whisky, and droplets. The wood grain is also computed by a shader.
The screen recording in the original post shows the user dragging the sun to move the shadows, moving the whisky glass, or tapping the liquid to create ripples. The author says the file is 49 KB and uses no engine, third-party library, or images.
Requires an environment that can run WebGL2. The original post does not provide the HTML source, the full prompt, or test devices, so the frame rate on other devices cannot be determined. Only the author's demo was observed.
MiniMax M4