Play here: https://svelte-webgl-fluid-simulation.vercel.app
Original: https://paveldogreat.github.io/WebGL-Fluid-Simulation
Built using SvelteKit.
Currently using my fork of svelte-knobby while waiting for this upstream PR to be integrated.
git submodule update --init
pushd packages/svelte-knobby && npm i && npm run build && npm run package; popd
Install dependencies with pnpm i
, start a development server:
pnpm dev
# or start the server and open the app in a new browser tab
pnpm dev --open
To create a production version of the app:
pnpm build
You can preview the production build with pnpm preview
.
To deploy your app, you may need to install an adapter for your target environment.
https://github.com/PavelDoGreat/WebGL-Fluid-Simulation
http://developer.download.nvidia.com/books/HTML/gpugems/gpugems_ch38.html
https://github.com/mharrys/fluids-2d
https://github.com/haxiomic/GPU-Fluid-Experiments
The code is available under the MIT license