Raxol.Effects.BorderBeam.Effects.Flames (Raxol v2.6.0)

View Source

Flickering flames climb the bottom edge of the box, with weaker echoes on the left and right edges near the bottom. Per-cell character + color choices come from bucket_hash/3 over a ~100ms time bucket, so the effect looks chaotic but stays reproducible per tick.

Char replacement is gated by intensity: at low strength the box border stays mostly intact; at full strength flame characters eat the bottom edge.

Surface support: terminal only. LiveView/MCP ignore non-stroke types.

Opts

  • :variant -- color palette (defaults to :sunset; :electric works too)
  • :strength -- 0.0-1.0 base intensity (default 0.9)
  • :density -- 0.0-1.0 fraction of bottom cells that get flame chars at peak (default 0.75)