ambient-glow-bloom — Claude Code rule: what it does, how to install
ambient-glow-bloom defines code patterns for soft backdrop glow and light sweeps on key elements. Guides code assistants to write seek-safe GSAP timelines without infinite loops.
AGPL-3.0 ★ 78,316 updated 2026-10-24
.claude/rules/ambient-glow-bloom.mdWhat ambient-glow-bloom does
This rule provides instructions for rendering soft radial halos behind focal elements like cards or logos. The visual effect surfaces automatically when the object settles into position. It covers two distinct styles: a resting halo that subtly breathes and a single-pass traveling light sweep across a clipped bounding box.
Markup relies on a background container layer with a radial gradient positioned behind the element via z-index. To preserve scrubbing capability in video pipelines, idle breathing uses a mathematical sine formula inside onUpdate rather than an infinite repeat: -1 loop.
Peak opacity stays capped near 0.45 so the highlight never washes out foreground text. Your project must include the GSAP library for these timelines to execute.
What it helps with
- render a soft radial glow behind key interface elements
- animate a single-pass light sweep across a clipped panel
- maintain deterministic timeline scrubbing during animations
- prevent infinite animation loops from breaking frame-by-frame rendering
Example prompts for the agent
- Apply ambient-glow-bloom to give this pricing card a breathing background halo
- Create a single-pass light sweep across the header using GSAP
- Build a bloom-and-hold entrance animation for the hero badge
How to install ambient-glow-bloom
Manually: put the files in place
.claude/rules/ambient-glow-bloom.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/ambient-glow-bloom.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/ambient-glow-bloom.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/ambient-glow-bloom.mdManually: put the files in place
.clinerules/ambient-glow-bloom.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about ambient-glow-bloom
How to install ambient-glow-bloom in Claude Code?
Place the rule file at .claude/rules/ambient-glow-bloom.md inside your project root. Claude Code will automatically reference these instructions when building animations.
What does ambient-glow-bloom do?
It guides the agent to write markup and GSAP sequencing patterns for glowing highlights behind focal elements. Every generated animation runs on finite, seek-safe math.
Why does the rule avoid GSAP yoyo repeats?
Infinite repeats break deterministic timeline seeking. Calculating breathing via a sine function during an onUpdate callback guarantees consistent visual output at any playhead timestamp.