Skip to main content
rule CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/orbit-3d-entry.md
Open on GitHub

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

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set101

The whole set →
svg-icon-enrichment svg-icon-enrichment — a rule that teaches Claude Code and Codex to animate the inner parts of SVG icons: clock hands, scissor blades, pulsing dots, flowing dashes. For micro-animation without swapping the icons themselves. CX Codex +1 ★ 78,316repo stars physics-press-reaction physics-press-reaction synchronizes cursor and element compression in GSAP using shared spring scaling. Controls approach trajectory, simultaneous press down, and bouncy release. CX Codex +1 ★ 78,316repo stars camera-cursor-tracking The camera-cursor-tracking rule keeps a growing text element in view with a two-stage virtual camera. Use it for search fields, animated URLs, and similar scenes. CX Codex +1 ★ 78,316repo stars seedance-2-5 Skill for generating 4–30 second video clips with ByteDance Seedance 2.5 via fal.ai, Volcengine Ark, Runway, or ComfyUI. CX Codex +1 ★ 78,316repo stars motion-graphics motion-graphics is a Claude Code skill that creates short motion-led graphics, from animated headlines and charts to logo stings. For pieces without narration or live-action footage. CX Codex +1 ★ 78,316repo stars sine-wave-loop sine-wave-loop — a GSAP rule that gives a settled scene element light jitter, or one bounded breathing loop, driven by Math.sin once its entry animation ends. CX Codex +1 ★ 78,316repo stars avatar-cloud-network avatar-cloud-network guides the agent in creating an elliptical community reveal scene with a center hub and SVG lines. Built for social proof animations powered by GSAP. CX Codex +1 ★ 78,316repo stars viewport-change viewport-change — a rule that teaches the agent a virtual camera in GSAP scenes: zoom, pan and focus-lock on a moving element, all through one wrapper. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open