Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorbrian fidler
- CommentTimeApr 19th 2011 edited
I'm trying to show an example of gas displacing a liquid. So for example, in the image located below:
http://www.brianfidler.com/flint-test/gas-displaces-liquid-v1.png
If air (represented by the small golden spheres) is blown into the tube on the left, the liquid (represented by the blue area) will be pushed up and out of the tube on the right.
Are there any good examples demonstrating something similar to this using FLiNT?
thanks.
brian -
- CommentAuthorRichard
- CommentTimeApr 20th 2011
Flint can handle movement and rendering of the gas particles, including collisions between them and between them and the liquid (see Brownian Motion and Pachinko examples). But you'll have to handle the animation of the liquid moving down in the main area and up in the tube yourself (and adjust the collision zones that restrict the particles accordingly too).
1 to 2 of 2
