/BathBombFluidDynamics

This is an experimental project simulating a bath bomb in digital water.

Primary LanguageHaxeGNU General Public License v3.0GPL-3.0

Bath Bomb Fluid Dynamics

This is an experimental project simulating a bath bomb in digital water. This project was only made possible due to the awesome code base from Haxiomic. To view the original build, please go to https://github.com/haxiomic/GPU-Fluid-Experiments/

  • haxe 3.2.1 is required to build (newer versions produce errors)

Please check out the demo to see the it in action! if you're using a Google Pixel phone, please run the demo using Firefox browser.


Building

Install the dependencies: 'flow' build tool and 'snow' library (more info on http://snowkit.org):

haxelib git snow https://github.com/underscorediscovery/snow.git ab0e6c084c55dc9be72807178f9dc21807e9e46e
haxelib git flow https://github.com/underscorediscovery/flow.git

haxe libraries:

haxelib git shaderblox https://github.com/haxiomic/shaderblox.git
haxelib git gltoolbox https://github.com/haxiomic/GLToolbox.git dcddf6
haxelib install hxColorToolkit

and you should be good to go

cd into the project root and to build and run execute:

haxelib run flow run web

(it'll start a server and open a web browser)