Skip to main content
rule CX Codex

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

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

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

Similar IDE rules

All IDE rules for Frontend and UI →

From the same set101

The whole set →
kling-official kling-official teaches the agent to drive Kling's own API inside OpenMontage: video, images, speech, avatars and lip sync. CX Codex +1 ★ 78,316repo stars hyperframes-cli hyperframes-cli guides the HyperFrames video build loop, from composition validation and timeline inspection to AWS Lambda rendering. CX Codex +1 ★ 78,316repo stars synthetic-screen-recording The synthetic-screen-recording skill guides synthetic terminal demos in Remotion with TerminalScene. Use it when the command sequence and output can be authored ahead of time. CX Codex +1 ★ 78,316repo stars svg-path-draw svg-path-draw — a rule that gets the agent to trace an SVG outline stroke by stroke, then fade in a wordmark once the drawing settles. CX Codex +1 ★ 78,316repo stars gemini-omni Generates short clips via gemini-omni-1.1-flash and edits them through follow-up prompts without re-generating. Each generation returns an interaction_id so the next call changes only what you specify. CX Codex +1 ★ 78,316repo stars discrete-text-sequence discrete-text-sequence — a rule for GSAP scenes where the terminal line swaps whole states instead of typing evenly: typos, backspaces, pasted chunks and holds. CX Codex +1 ★ 78,316repo stars animation-groups The animation-groups rule organizes ManimGL animations for parallel, sequential, or staggered playback. Use it when several scene elements need coordinated timing. CX Codex +1 ★ 78,316repo stars transform-animations transform-animations — a rule that teaches Claude Code and Codex how to transform objects in ManimGL — from basic shape morphing to complex function-based transformations. Use it when writing Python animations of mathematical objects. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open