Saturday, April 2, 2011

Fluid Sim Operational!

Yay! I adapted Jos Stam's C-based fluid simulation to include mouse-definable boundary conditions!

Velocity field with boundary conditions:


Density field, revealing the spookiest smiley face ever!



This still needs a bit of work to make sure that no density ever gets added to areas with boundaries.

Next step: convert this puppy to c++!

No comments:

Post a Comment