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

- rule · `type=rule` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline · ★ 78316 repo stars
- Author: calesthio
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/ai-tracking-box.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/rules/ai-tracking-box

## What it does

This rule sets up the layout and styling for a computer vision target tracker. The markup arranges a central target mascot, four L-shaped bracket corner elements, and an attached tag displaying the predicted class with a percentage value. It relies on high-contrast styling with bright border accents on a dark radial backdrop.

Motion relies entirely on a GSAP timeline object. The bounding container pops in with an elastic scale transition, then enters a continuous tracking cycle. Both the target element and the surrounding frame drift along sine and cosine paths, while box dimensions slightly jitter to replicate live computational recalculation.

Running this component requires GSAP 3 loaded in the host environment; without the GSAP runtime, timeline playback fails immediately. Timing offsets, sine drift amplitude, and confidence range limits are configured via explicit script constants.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/rules/ai-tracking-box.md` — The paths frontmatter field limits the files

### Codex

**AGENTS.md**
- Codex reads AGENTS.md: paste the rule text there

### Cursor

**Manually: put the files in place**
- File: `.cursor/rules/ai-tracking-box.mdc` — Frontmatter: description, globs, alwaysApply

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/instructions/ai-tracking-box.instructions.md` — The applyTo field sets which files it applies to

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/rules/ai-tracking-box.md`

### Cline

**Manually: put the files in place**
- File: `.clinerules/ai-tracking-box.md`

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/calesthio/OpenMontage/tree/HEAD/.agents/skills/hyperframes-animation/rules/ai-tracking-box.md

## When to use it
- build an animated bounding box with L-bracket corners
- simulate computer vision object tracking using GSAP timelines
- animate oscillating target positions and fluctuating box dimensions
- render a jittering detection confidence score above a target

## Example prompts
- Create an animated target tracking frame using the `ai-tracking-box` rule
- Tune the drift amplitude and bounce scale for the detection box timeline
- Implement the GSAP sine path tracking scene for object visualization

## Similar
- [svg-animation](https://affpapa.org/en/nevibecode/skills/svg-animation.md) — skill · 4400 installs
- [accessible-animation](https://affpapa.org/en/nevibecode/skills/accessible-animation.md) — skill · 4400 installs
- [modern-web-design](https://affpapa.org/en/nevibecode/skills/modern-web-design.md) — skill · 3200 installs
- [animate-text](https://affpapa.org/en/nevibecode/skills/animate-text.md) — skill · 2800 installs
- [animation-systems](https://affpapa.org/en/nevibecode/skills/animation-systems.md) — skill · 2400 installs
- [frontend-developer](https://affpapa.org/en/nevibecode/skills/dylantarre-frontend-developer.md) — skill · 633 installs

From the same set: [calesthio/openmontage](https://affpapa.org/en/nevibecode/by/calesthio/openmontage.md) — 101 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
