Enact
Modal · GSAP playground · drag · click · scroll GSAP 3.12 · ScrollTrigger · Draggable
Drag me. Click me.
Section 1 · scroll trigger

Scroll, and he watches.

Modal is fixed in the hero above. As you scroll past him, his eyes look down. As you scroll back, they look up. ScrollTrigger handles the position math — we just say "when this section enters the viewport, eyes go down."

Section 2 · band ripple

The body band ripples.

When this section enters view, Modal's body band shows a one-pixel pulse traveling left to right — like a heartbeat. ScrollTrigger fires the timeline. repeat: -1 keeps it running while this section is visible.

Section 3 · spontaneous joy

Stars when he's seen.

Five small Carbon stars puff up around his head. Stagger 90ms apart. elastic.out(1, 0.5) on the scale, power2.in on the fade-out. He bounces once.