A real-time fluid simulation that runs in your browser and reacts to mobile device sensors. Built using the FLIP (Fluid-Implicit-Particle) technique for realistic fluid dynamics.
Try it live at fluid.sh4jid.me
This project implements fluid simulation techniques taught by the amazing Ten Minute Physics YouTube channel, particularly from this video.
The initial inspiration for this project came from Nicholas L. Johnson's flip-card project.
Since creating this simulation, it has become my go-to digital fidget toy. You can install it as a PWA too!
If you enjoy this project, consider buying me a coffee!
pnpm install
pnpm dev
MIT License - see LICENSE file for details.
Pull requests are welcome! Feel free to contribute improvements or new features.