orbit-3d-entry — Claude Code rule: what it does, how to install
orbit-3d-entry sets up a GSAP animation where items flip in from 3D coordinates and transition into a continuous elliptical orbit around a center point.
AGPL-3.0 ★ 78,316 updated 2026-10-24
.claude/rules/orbit-3d-entry.mdWhat orbit-3d-entry does
The animation splits each element into two stages. First comes a 3D entrance utilizing rotateX, rotateY, and negative z offsets with a spring-like back.out transition. After landing, elements glide along an ellipse driven by trigonometric cos and sin calculations.
Orbit motion updates directly inside a GSAP timeline rather than relying on requestAnimationFrame. This guarantees predictable frame-by-frame seeking during playback. For the visual volume to hold, the outer scene container must define perspective: 1800px, or the 3D rotation collapses into flat transforms.
What it helps with
- animate UI elements flipping in from 3D coordinates
- run continuous elliptical orbits around focal points
- ensure deterministic frame seeking within GSAP timelines
- configure 3D scene perspective and ellipse flattening ratios
Example prompts for the agent
- Build a six-item orbit scene around a center text using orbit-3d-entry
- Implement a 3D flip entrance followed by continuous elliptical motion with GSAP
- Generate CSS and GSAP timeline code for an orbital ring with 3D entry
How to install orbit-3d-entry
Manually: put the files in place
.claude/rules/orbit-3d-entry.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/orbit-3d-entry.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/orbit-3d-entry.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/orbit-3d-entry.mdManually: put the files in place
.clinerules/orbit-3d-entry.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about orbit-3d-entry
How do I install orbit-3d-entry in Claude Code?
Place the rule file into .claude/rules/orbit-3d-entry.md in your project workspace.
Why does the orbit run inside the GSAP timeline?
Driving coordinates via the timeline instead of requestAnimationFrame maintains deterministic motion, allowing accurate frame-by-frame seeking.
What CSS properties are required for the 3D effect?
The scene wrapper must have perspective: 1800px, and orbiting stages need transform-style: preserve-3d. Skipping perspective flattens the X and Y rotations completely.