Skip to content
motionprompts motionprompts

VoyeurVerite Scroll Animation

GSAP animation component · Published 2026-07-27 · by vanguardia.dev

Open live demo ↗ Download source

What it does

Pinned hero scrubbed over five viewport heights with four manual phases: the foreground image clips into a central vertical slit while a dark overlay fades in, then rotates to 65deg, scales to zero over sliding background text columns as a red overlay flashes on, and finally two outro images wipe in via clip-path from top and bottom before a SplitText line-masked headline staggers up at 90% progress.

How it's built

Categoryscroll
Techgsap, lenis
GSAP pluginsScrollTrigger, SplitText
Complexitypage
Performance costmedium
Mobile-safeyes
Scrollhijacks scrolling

scroll pin scrub clip-path rotate overlay split-text lenis hero

Rebuild it with AI

This component's prompt is part of the paid library. Below you can read how it starts; the full prompt, the exact structure, timing and easing an AI agent needs to rebuild the effect, unlocks with any paid plan, yearly or lifetime.

# VoyeurVerite Scroll Animation — Pinned Rotating-Slit Hero over Five Viewports
## Goal
Build a full-screen editorial hero that is **pinned and scrubbed across five viewport heights**, driven by a **single manual `ScrollTrigger.onUpdate` handler** (NOT a `gsap.timeline`) that reads `self.progress` and hand-computes four sequential phases with `gsap.utils.clamp` + `gsap.utils.interpolate`. In order, as you scroll: a full-bleed foreground image **clips inward to a thin central vertical slit** while a dark overlay simultaneously **fades in over it** (so the slit goes black); the slit then **rotates to 65°**; then it **scales down to zero** while, behind it, two background text columns **slide apart** and a gold accent overlay **flash-fills the shrinking slit**; then two side-by-side outro images **wipe in via clip-path** (left one top-down, right one bottom-up); and finally, once scroll passes 90%, a **line-masked SplitText headline staggers up** with a real (non-scrubbed) tween. Smooth scroll via Lenis. Then a plain dark `about` section follows.
## Tech
Vanilla HTML/CSS/JS with ES module imports (fresh Vite project). Install and import from npm:
- **`gsap`** (3.x) plus the plugins **`ScrollTrigger`** and **`SplitText`**.
- **`lenis`** — smooth scroll.
```js
import gsap from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
import { SplitText } from "gsap/SplitText";
import Lenis from "lenis";
…

Premium prompt

Unlock this prompt, and every other one

From $99/year, or $139 once for lifetime access. Commercial license included.

See pricing Or start with the free set Already bought? Sign in

New components in your inbox

One email a week, only when new components ship, each with its live demo and prompt.