/Gallery Web demo All effects ← Site

Campfire

Crackling flames rise from glowing embers between the logs.

Pixel Scenes · a single painted seed plus one Phlux rule, simulated live · 96×96 grid

Campfire — animated pixel art loop generated in Phluxel
Every frame above was generated by the simulation, not drawn by hand.

The rule that makes it move

This is the whole thing. Phluxel runs it on every cell, every step — the animation is what happens when you repeat it.

Flames (from embers, BASE)Phlux
PARAM _flicker = 6; PARAM _reach = 42; LET _h = {SAT, {AVG,(-1:1,1:2).R} - RN * _flicker * 0.01 - 8}; BASE.R > 239 & BASE.G < 50 ? [255, 255, 90 + RN * 0.35, 16] : (BASE.G > 49 ? [BASE] : (_h < _reach ? [BASE] : [255, _h, {SAT, _h * 0.75 - 55}, {SAT, _h * 0.22 - 38}]))

Paste it into the Rule Editor, or pick Flames (from embers, BASE) from the template list and skip the typing.

Make it yourself

  1. Open Phluxel and start a new field, or click Campfire in the starter gallery to get this exact setup.
  2. Leave Wrap edges off — this one is meant to have real borders.
  3. Press play. Change colours or numbers while it runs; you never have to stop and restart.
  4. Export a seamless loop as GIF, APNG, MP4, a PNG sequence, or a sprite sheet.

Try it without installing anything

Phluxel runs in the browser as a demo, and the free desktop edition has every feature with a watermark on exports.

Open the browser demo Download free (Windows) Wishlist on Steam

More from Pixel Scenes

Snowy NightSnow drifts down over a moonlit winter scene. Slime in RainA cheerful slime braves the rain — drops pass right behind it. Ghost WispsA pixel ghost sheds glowing soul-wisps that float away. Bubbling PotionA magic potion fizzes — bubbles rise and pop at the surface. All 62 effectsThe complete starter gallery.