├── .gitignore ├── LICENSE ├── README.md ├── dist ├── img.png ├── index.html ├── main.css ├── main.js └── micromodal.css ├── docs ├── demo.gif ├── export.png ├── plots.jpg └── toolpath.png ├── package.json ├── src ├── constants.ts ├── exports.ts ├── fluid.ts ├── gl.ts ├── gui.ts ├── index.ts ├── interactions.ts ├── kernels │ ├── AdvectParticlesShader.glsl │ ├── AdvectSVGParticlesShader.glsl │ ├── AdvectionShader.glsl │ ├── AgeParticlesShader.glsl │ ├── Divergence2DShader.glsl │ ├── ForceInteractionShader.glsl │ ├── GradientSubtractionShader.glsl │ ├── IncrementOpacityShader.glsl │ ├── JacobiShader.glsl │ └── ParticleFragmentShader.glsl ├── particles.ts └── plotterUtils.ts ├── tsconfig.json └── webpack.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .DS_Store 3 | 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/README.md -------------------------------------------------------------------------------- /dist/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/dist/img.png -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/dist/index.html -------------------------------------------------------------------------------- /dist/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/dist/main.css -------------------------------------------------------------------------------- /dist/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/dist/main.js -------------------------------------------------------------------------------- /dist/micromodal.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/dist/micromodal.css -------------------------------------------------------------------------------- /docs/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/docs/demo.gif -------------------------------------------------------------------------------- /docs/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/docs/export.png -------------------------------------------------------------------------------- /docs/plots.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/docs/plots.jpg -------------------------------------------------------------------------------- /docs/toolpath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/docs/toolpath.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/package.json -------------------------------------------------------------------------------- /src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/constants.ts -------------------------------------------------------------------------------- /src/exports.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/exports.ts -------------------------------------------------------------------------------- /src/fluid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/fluid.ts -------------------------------------------------------------------------------- /src/gl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/gl.ts -------------------------------------------------------------------------------- /src/gui.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/gui.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interactions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/interactions.ts -------------------------------------------------------------------------------- /src/kernels/AdvectParticlesShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/AdvectParticlesShader.glsl -------------------------------------------------------------------------------- /src/kernels/AdvectSVGParticlesShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/AdvectSVGParticlesShader.glsl -------------------------------------------------------------------------------- /src/kernels/AdvectionShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/AdvectionShader.glsl -------------------------------------------------------------------------------- /src/kernels/AgeParticlesShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/AgeParticlesShader.glsl -------------------------------------------------------------------------------- /src/kernels/Divergence2DShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/Divergence2DShader.glsl -------------------------------------------------------------------------------- /src/kernels/ForceInteractionShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/ForceInteractionShader.glsl -------------------------------------------------------------------------------- /src/kernels/GradientSubtractionShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/GradientSubtractionShader.glsl -------------------------------------------------------------------------------- /src/kernels/IncrementOpacityShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/IncrementOpacityShader.glsl -------------------------------------------------------------------------------- /src/kernels/JacobiShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/JacobiShader.glsl -------------------------------------------------------------------------------- /src/kernels/ParticleFragmentShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/kernels/ParticleFragmentShader.glsl -------------------------------------------------------------------------------- /src/particles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/particles.ts -------------------------------------------------------------------------------- /src/plotterUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/src/plotterUtils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/tsconfig.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amandaghassaei/FluidSimulation/HEAD/webpack.config.js --------------------------------------------------------------------------------