All MicroEvals
Fluid Simulation
Create MicroEval

Fluid Simulation

3D Fluid Simulation

Prompt

Write a complete, single-file HTML document containing a high-performance, interactive, 3D Eulerian Neon Fluid Simulation as a 3D particle fluid sloshing in a glass box I can rotate and tilt. Requirements: - No external libraries. Plain WebGL with custom shaders. - Solve the fluid on the available hardware: advection, divergence, pressure and vorticity steps. - Black background, glowing dye that cycles through cyan, magenta, violet and gold. - Dragging the mouse or a finger pushes the fluid. When idle, the fluid keeps moving gently on its own. - A small control panel with sliders for viscosity, how fast the dye fades, and brush size. - Sharp on high-resolution screens. Complete working code, no placeholders.

A system prompt was added to support web rendering

Drag to resize

Response not available

Drag to resize