How: Fire / Flame

Please watch these videos first:

iLightr:
http://www.youtube.com/watch?v=lU2VQj6hAsU

Smule: Sonic Lighter:
http://www.youtube.com/watch?v=2XUw6Hy4Tzk

I would like to ask if you guys know how they do it? What technique? Because, as a programmer looking at games and amusing apps, I can pretty much figure out how they do it all the time. But, doing a dynamic fire or flame dumbfounded me. The only thing I can think of is "brute force" meaning spitting out small objects using a physics engine (simulating fluids), like Blender's water fluids using Bullet Physics on YouTube. But, keeping it at a high frame rate on a iPhone, it can't be done by "brute force".

I'm just curious how they do it or what technique they use in programming?
diehard wrote:The only thing I can think of is "brute force" meaning spitting out small objects using a physics engine (simulating fluids), like Blender's water fluids using Bullet Physics on YouTube. But, keeping it at a high frame rate on a iPhone, it can't be done by "brute force".


Huh? The iPhone can do 3D graphics... I imagine it can handle a large amount of particles just fine. I imagine that's how these are created, but who knows.
Looks like Navier Stokes fluid dynamics to me. Check out Riders on the Storm, a game I did awhile ago using this.

Bill

Original thread: https://box2d.org/forum/viewtopic.php?t=1523