Blur and threshold in the main loop to simulate fluids
Posted: Mon Feb 27, 2012 1:20 pm
Hello,
Do you know how to implement the example below with Love2D?
http://www.patrickmatte.com/stuff/physicsLiquid/
I know how the physics engine works but I do not know:
- How to do the blur and then the threshold?
- Which are the better functions to use (for performance)?
Thanks in advance for your reply.
Do you know how to implement the example below with Love2D?
http://www.patrickmatte.com/stuff/physicsLiquid/
I know how the physics engine works but I do not know:
- How to do the blur and then the threshold?
- Which are the better functions to use (for performance)?
Thanks in advance for your reply.