GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

04Fire spread — a consumption rule that burns neighboring fuel and shrinks

A fire cell stochastically ignites adjacent wood or oil cells while its own life ticks down to ash, so flames crawl through the materials, burn out and leave residue behind.

Best forA game destruction effect, an ember backdrop on a dark hero

ImageDataputImageDatarequestAnimationFrame
Fire spread — a consumption rule that burns neighboring fuel and shrinks
Open in a new tab

04 Fire spread — a consumption rule that burns neighboring fuel and shrinks — Measured area 49.402% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · Falling Sand Simulator, 9 Ways (No Library)

The post this demo lives in

Falling Sand Simulator, 9 Ways (No Library) - preview of all 9 demosFalling Sand Simulator, 9 Ways (No Library)No library, no WebGL — four rules per cell (down, down-left, down-right, sideways) make sand pile up, water flow and fir See all demos in this post

If you like this effect - similar demos