This project aims to bring an interactive fluid simulation based on the Smoothed Particle Hydrodynamics (SPH) method to the web.
A running simulation can be tested here: http://websph.azurewebsites.net/
- You need following software installed:
- Git
- Node.js with npm
- Yarn
- Clone this repository with
git clone https://github.com/nbasargin/WebSPH.git
- Install dependencies with
yarn install
- Build the project with
npm run buildNew
, the generated code will be saved in thedist
folder - Open
dist/index.html
in browser