Hyperframes oversized cursor

From oyi77/1ai-skills · View interactive version

Hyperframes oversized cursor is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when applying the oversized macOS cursor technique in HyperFrames videos. House-style oversized macOS cursor technique for HyperFrames videos. Use when a scene involves cursors, pointer-led action, kicking off a UI scene, igniting a morph/transition/typing with a click, or when a scene reads as

How to use this skill

Skill file

Overview

This skill creates the oversized animated cursor effect popular in product demo and walkthrough videos, as a HyperFrames composition. Use it to draw attention to exact click points and drag gestures in a UI demo. It renders the annotated MP4 from the HTML timeline.

HyperFrames — Oversized Cursor

A deliberately oversized macOS-style pointer that travels the frame as a visible protagonist: enters from off-screen, walks the eye to the next point of interest, clicks to cause the next thing that happens, and leaves.

When to Use

When NOT to Use

Why It Exists

Big cursor movement is one of the cheapest high-yield motion sources: one element, transform-only tweens, and it (1) brings the eye across the screen, (2) gives causal ignition to morphs/transitions, (3) segments the eye out of a stale state. Bigger is better — an actual-size cursor disappears at video scale.

Size & Look

Workflow

1 · Size and style the cursor

#root .cursor {
  position: absolute;
  left: 48%;
  top: 115%;
  width: 7cqw;
  height: 7cqw;
  z-index: 20;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  pointer-events: none;
  will-change: transform;
}

2 · Animate entry from off-screen

tl.fromTo(
  cursor,
  { left: "48.6%", top: "115%" },
  { left: "48.6%", top: "55%", duration: 0.85, ease: "power3.out", immediateRender: false },
  0.25,
);

3 · Add click ignition

tl.to(cursor, { scale: 0.84, duration: 0.1, ease: "power2.in", transformOrigin: "21% 14%" }, t);
tl.to(cursor, { scale: 1, duration: 0.22, ease: "power2.out", transformOrigin: "21% 14%" }, t + 0.1);

4 · Exit physically

Either leave the frame or hand off via cut-the-curve to the next scene.

Anti-Rationalization Table

#root .cursor {
  position: absolute;
  left: 48%;
  top: 115%; /* off-screen below — the resting pose IS off-screen */
  width: 7cqw;
  height: 7cqw;
  z-index: 20;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  pointer-events: none;
  will-change: transform;
}

Entry Law — Physical, Never Revealed

The cursor always enters from off-screen (canonical: from below, top:115-120%) and travels to its first target in one decelerating glide. It must feel like it entered the room. Never opacity-fade it in at a resting position, never mask-reveal it.

tl.fromTo(
  cursor,
  { left: "48.6%", top: "115%" },
  { left: "48.6%", top: "55%", duration: 0.85, ease: "power3.out", immediateRender: false },
  0.25,
);

Tip-Targeting & the Click Tap

The hot-spot is the arrow TIP, not the box center. Land the tip on the target's center, pivot all press scaling on the tip: transformOrigin: '21% 14%'.

Click = asymmetric compress/expand (1:2 ratio reads as a real tap):

tl.to(cursor, { scale: 0.84, duration: 0.1, ease: "power2.in", transformOrigin: "21% 14%" }, t);
tl.to(cursor, { scale: 1, duration: 0.22, ease: "power2.out", transformOrigin: "21% 14%" }, t + 0.1);

The Click Ignites the Next Beat

Never let a morph, typing run, window transform, or scene-defining animation simply start. Park the cursor on the trigger and let the click cause it, same-frame:

During long beats it doesn't own (typing, narration), the cursor drifts aside (0.5-0.9s, power2.out) — never sits frozen, never wobbles idly.

Exit Law & Cross-Scene Handoff

Two sanctioned exits — both physical, never an opacity fade in place:

  1. Leave the frame: accelerate off the nearest edge with power2.in (left:'118%', left:'-12%', or top:'116%'), 0.5-0.7s.
  2. Cut-the-curve handoff: in the final ~0.3s before a hard cut, the cursor starts accelerating toward the NEXT scene's first click point, covering the first ~1/3 of that path; the next composition sets the cursor at the handoff pose and continues at matched velocity.
// Scene A, last 0.3s — start the journey:
tl.to(cursor, { left: "40.7%", top: "63.7%", duration: 0.3, ease: "power2.in" }, CUT - 0.3);
// Scene B, t=0 — finish it at matched velocity:
gsap.set(cursorB, { left: "40.7%", top: "63.7%" });
tl.to(cursorB, { left: "22%", top: "45%", duration: 0.6, ease: "power2.out" }, 0);

Anti-Rationalization Table

| Rationalization | Reality |

|----------------|---------|

| "I'll fade the cursor in at its first position" | Physical off-screen entry — never opacity reveal |

| "I'll use a normal-sized cursor" | 7cqw minimum — actual-size disappears at video scale |

| "I'll let the animation just start" | Click ignites the beat — same-frame causation |

| "I'll leave the cursor frozen during typing" | Drift aside — never frozen, never idle wobble |

| "I'll fade the cursor out at the end" | Physical exit (off-frame or cut-the-curve handoff) |

| "I'll center the cursor box on the target" | Tip-targeting — the hot-spot is the arrow tip |

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.