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

07Candle and wind — a flame that leans toward the pointer

Feeding the pointer-to-flame direction in as the wind vector, scaled by distance, gives a candle that lies down whenever a hand approaches.

Best forInteractive cards and special-moment decor

pointermovefillRectglobalCompositeOperation
Candle and wind — a flame that leans toward the pointer
Open in a new tab

07 Candle and wind — a flame that leans toward the pointer — Measured area 51.817% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Canvas Fire Animation Scenes, No WebGL

The post this demo lives in

9 Canvas Fire Animation Scenes, No WebGL - preview of all 9 demos9 Canvas Fire Animation Scenes, No WebGLA canvas fire animation here is a rule, not a sprite — no libraries, no WebGL — canvas particle math only: fuel burns do See all demos in this post

If you like this effect - similar demos