├── .gitignore ├── LICENSE ├── README.md ├── cover.jpg ├── dist ├── index-0702caef.js ├── index-7318614d.css └── index.html ├── package.json ├── src ├── app │ ├── _sketch-template.js │ ├── app.js │ ├── shader │ │ └── 03 │ │ │ ├── draw.frag.glsl │ │ │ ├── draw.vert.glsl │ │ │ ├── force.frag.glsl │ │ │ ├── force.vert.glsl │ │ │ ├── indices.frag.glsl │ │ │ ├── indices.vert.glsl │ │ │ ├── integrate.frag.glsl │ │ │ ├── integrate.vert.glsl │ │ │ ├── offset.frag.glsl │ │ │ ├── offset.vert.glsl │ │ │ ├── pressure.frag.glsl │ │ │ ├── pressure.vert.glsl │ │ │ ├── sort.frag.glsl │ │ │ ├── sort.vert.glsl │ │ │ └── utils │ │ │ └── particle-utils.glsl │ ├── sketch-01.js │ ├── sketch-02.js │ ├── sketch-03.js │ └── utils │ │ └── webgl-utils.js ├── index.html └── styles.css └── vite.config.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/README.md -------------------------------------------------------------------------------- /cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/cover.jpg -------------------------------------------------------------------------------- /dist/index-0702caef.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/dist/index-0702caef.js -------------------------------------------------------------------------------- /dist/index-7318614d.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/dist/index-7318614d.css -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/dist/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/package.json -------------------------------------------------------------------------------- /src/app/_sketch-template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/_sketch-template.js -------------------------------------------------------------------------------- /src/app/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/app.js -------------------------------------------------------------------------------- /src/app/shader/03/draw.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/draw.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/draw.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/draw.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/force.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/force.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/force.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/force.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/indices.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/indices.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/indices.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/indices.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/integrate.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/integrate.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/integrate.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/integrate.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/offset.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/offset.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/offset.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/offset.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/pressure.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/pressure.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/pressure.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/pressure.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/sort.frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/sort.frag.glsl -------------------------------------------------------------------------------- /src/app/shader/03/sort.vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/sort.vert.glsl -------------------------------------------------------------------------------- /src/app/shader/03/utils/particle-utils.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/shader/03/utils/particle-utils.glsl -------------------------------------------------------------------------------- /src/app/sketch-01.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/sketch-01.js -------------------------------------------------------------------------------- /src/app/sketch-02.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/sketch-02.js -------------------------------------------------------------------------------- /src/app/sketch-03.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/sketch-03.js -------------------------------------------------------------------------------- /src/app/utils/webgl-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/app/utils/webgl-utils.js -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/index.html -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/src/styles.css -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/robert-leitl/gpgpu-2d-sph-fluid-simulation/HEAD/vite.config.js --------------------------------------------------------------------------------