Skip to main content
rule CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/ambient-glow-bloom.md
Open on GitHub

What 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.md

The paths frontmatter field limits the files

Step 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.

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set101

The whole set →
coordinate-target-zoom coordinate-target-zoom — a rule that teaches the agent to zoom into an element displaced from viewport center by pairing scale with counter-translation — the target lands at center after the zoom. CX Codex +1 ★ 78,316repo stars ai-tracking-box ai-tracking-box generates an animated target bounding box with corner brackets and oscillating coordinates to simulate computer vision tracking in GSAP. CX Codex +1 ★ 78,316repo stars spring-pop-entrance The spring-pop-entrance rule describes a smooth scale-in for one element or a staggered group. Use it for interface elements that should arrive on screen without bouncing. CX Codex +1 ★ 78,316repo stars depth-scatter-assemble depth-scatter-assemble — a rule for scenes where glyphs, cards or logo pieces arrive out of a turning 3D cloud and land in a flat layout. The reverse also works. CX Codex +1 ★ 78,316repo stars music-to-video music-to-video turns a music track into a beat-synced HyperFrames video. Use it for lyric-style clips, slideshows, or kinetic promo visuals with optional media. CX Codex +1 ★ 78,316repo stars depth-of-field-blur depth-of-field-blur is a Claude Code rule for selective focus in GSAP scenes: one layer stays crisp while the others blur and dim. It brings attention to the main element in a frame. CX Codex +1 ★ 78,316repo stars client-tools client-tools configures webhook and client-side actions for conversational voice agents, connecting them to external APIs and browser scripts. CX Codex ★ 78,316repo stars hyperframes This skill routes video and motion requests through HyperFrames, which renders compositions from HTML. Use it for editing, animation, captions, and finished video. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open