hacker-flip-3d — Claude Code rule: what it does, how to install
hacker-flip-3d supplies guidelines for creating a 3D character flip animation with randomized glyph decoding. Helps build terminal and airport-style text reveals.
AGPL-3.0 ★ 78,316 updated 2026-10-24
.claude/rules/hacker-flip-3d.mdWhat hacker-flip-3d does
This rule provides technical specs for character-level text reveals where each letter rotates from 90 degrees down to 0 along the X axis. While in motion, glyphs flicker through randomized characters before settling on the real letter. The CSS setup explicitly demands perspective: 1500px on the scene, because rotation renders flat without 3D perspective.
The document details DOM structuring with an invisible ghost layer to stabilize container width, transform origin placement at the bottom edge, and deterministic seed math for frame scrubbing. It defines key variables: per-character tween length FLIP_DURATION, stagger spacing CHAR_STAGGER, and the transition point REVEAL_THRESHOLD.
What it helps with
- build a 3D flap display text reveal using GSAP
- implement character-level scrambled decoding effects
- stop horizontal layout jitter while cycling through glyphs
- tune stagger offsets and flip timing budgets for headings
Example prompts for the agent
- Implement a hacker-flip-3d reveal for the word SECURE
- Write CSS and GSAP logic for hacker-flip-3d using a monospace font
- Tune the hacker-flip-3d stagger to 0.04s and duration to 0.6s
How to install hacker-flip-3d
Manually: put the files in place
.claude/rules/hacker-flip-3d.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/hacker-flip-3d.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/hacker-flip-3d.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/hacker-flip-3d.mdManually: put the files in place
.clinerules/hacker-flip-3d.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about hacker-flip-3d
How to install hacker-flip-3d in Claude Code?
Place the rule file into your repository at .claude/rules/hacker-flip-3d.md.
What does the hacker-flip-3d rule do?
It guides the agent on generating HTML, CSS, and GSAP timeline scripts for split-flap 3D text decryption animations.
Why is the hacker-ghost row necessary?
It renders an identical transparent copy of the final word, reserving fixed layout space so varying glyph widths do not cause horizontal layout shifts.