Scenes · Study 082
Campfire
A crackling campfire built from a few hundred glowing particles, with embers spiralling up into the stars. Lean the flames with your pointer.
What you're looking at
Each flame particle is born at the logs with a random upward speed, drifts with a little turbulence, shrinks and cools from yellow through orange to deep red, then vanishes. The particles are blended additively, so where many overlap the fire burns white. Embers are the same idea with longer lives and smaller size.
The idea behind it
A real flame is hot gas made visible by glowing soot. It rises because hot gas is lighter than the surrounding air, and it flickers because that rising column is unstable and sheds puffs a few times a second. A flame in orbit, with no buoyancy, forms a dim blue sphere.
Try this
Move the pointer left or right of the fire to blow the flames that way.