274

Scattered Assemble

Letters scattered everywhere, flipped and scaled, fly back into place as you scroll

TextOn scrollScroll effectHeadline & heroLogo & brandGSAPScrollTrigger

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

Each letter of the headline starts randomly scattered across the screen, each with its own rotation and scale and transparent; as the user scrolls down, the letters fly back to their places in random order, straightening out and returning to full size and opacity to form the complete headline; scrolling back scatters them again. (GSAP ScrollTrigger scrub: SplitText into letters, timeline.from(letters, { x/y/rotation/scale from functions returning random values, opacity:0, stagger:{each:.02, from:"random"} }))

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More text effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →