Git Product home page Git Product logo

bathbombfluiddynamics's Introduction

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. I have recently moved the demo to a free hosting service, so apologies for slow loading times.


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)

Also

I have another repo found here: https://github.com/ollyc2015/LushMoods where I implement a fluid simulation in native Android - I started to get tech interns to build a workflow, but the project was abondoned, when I get time I will look to fix it. However, if you select through the screens, you will get to the fluid simulation which you can play with.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.