2024-04-18_15-03-15.mp4
This project is a fluid simulator application written in WebGPU, utilizing the Smoothed Particle Hydrodynamics (SPH) technique for simulation.
You can play around with the app at webgpu-sph.vercel.app.
The frontend is developed using SvelteKit, Flowbite, and TailwindCSS. It is bundled with Vite. The simulation and rendering are entirely done in WebGPU, providing a fast and efficient fluid simulation experience.
This project was inspired by Sebastian League's Coding Adventure video about Fluid Simulation.
# 1) Install dependencies
npm install
# 2) Start a development server
npm run dev
# 3) Open browser at the URL shown in the terminal
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
For inquiries or collaborations, feel free to reach out to me on LinkedIn.
Developed by Mehdi Saffar.