components/shared/effects/.cursor/rules/flame-effects.md
When working with visual effects components in components-new/shared/effects:
The flame effects are data-driven ASCII animations that create subtle, fire-inspired backgrounds.
data.json file containing ASCII art framessetIntervalOnVisible to only animate when in viewporttext-black-alpha-20text-[#FA5D19] (heat orange)import { CoreFlame } from '@/components/shared/effects/flame';
import { FlameBackground } from '@/components/shared/effects/flame';
// Static flame
<div className="relative">
<CoreFlame />
<YourContent />
</div>
// Dynamic intensity flame
<FlameBackground intensity={cpuUsage} animate={cpuUsage > 80}>
<DashboardCard />
</FlameBackground>
transform for positioningcw-*: Custom width (e.g., cw-720 = 720px)ch-*: Custom height (e.g., ch-470 = 470px)font-ascii: Monospace font for ASCII arttext-heat-*, text-black-alpha-*