Skip to content
animorio
IT
Back to the library

Rising next project

Transitions, ImagesGSAP, CanvasMediumCompressed weight: Demo 6.2 KBGSAP 28 KBFreeDownload the zip

The page change between the projects of a made-up design studio, in the style of product components: at the bottom of a project page sits the band of the next project, a slice of its cover (a real photo: the harbour with the lighthouse, the lavender field, the starry night over the dunes, the orchard in bloom) with the name above. Clicking it, the title and the facts lift away, the band opens like a window and rises until it becomes the large cover of the new page, the name flies into the title’s place and grows, and below come the facts and the band of the project after that.

The code

A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.

<!doctype html>
<!--
  "Rising next project" from Animorio · https://animorio.com
  License: free on your own sites and your clients’ sites, paid work included.
  Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>The next project page transition that rises into place</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <main class="stage" data-stage>
    <!-- a project page of a made-up design studio, Larchmere: the cover, the title, three facts and, at the bottom,
         the band of the next project. Clicking the band makes it rise and become the next page -->
    <header class="bar">
      <span class="bar__brand">
        <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M5 19V5M5 19h14M9 15l4-6 3 4 3-5"/></svg>
        <span data-brand>Larchmere</span>
      </span>
      <nav class="bar__nav" aria-label="Main">
        <span class="bar__link is-on">Work</span>
        <span class="bar__link">Studio</span>
        <span class="bar__link">Contact</span>
      </nav>
    </header>

    <article class="page" data-page>
      <div class="hero" data-hero><span class="hero__img" data-hero-img></span></div>
      <div class="head">
        <h1 class="title" data-title>Quiet Harbor</h1>
        <p class="kicker" data-kicker>Brand and web</p>
      </div>
      <dl class="meta" data-meta>
        <div><dt>Client</dt><dd data-client>Nordvik Ferries</dd></div>
        <div><dt>Year</dt><dd data-year>2026</dd></div>
        <div><dt>Role</dt><dd data-role>Identity, website</dd></div>
      </dl>
    </article>

    <button class="band" type="button" data-band aria-label="Open the next project">
      <span class="band__top">
        <span class="band__label">Next project</span>
        <span class="band__title" data-band-title>Palewave Radio</span>
        <svg class="band__arrow" viewBox="0 0 24 24" aria-hidden="true"><path d="M7 17 17 7M9 7h8v8"/></svg>
      </span>
      <span class="band__cover" data-band-cover><span class="band__img" data-band-img></span></span>
    </button>

    <svg class="cursor" data-cursor viewBox="0 0 24 24" aria-hidden="true"><path d="M5 2.8v16.4l4.2-4 2.8 6.2 2.9-1.3-2.8-6.1h5.9Z"/></svg>
  </main>

  <script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
  <script src="script.js"></script>
</body>
</html>

Playground

Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.

27 values to change

Or ask your AI assistant for it

With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:

Take “Rising next project” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a barely grey white sits a project page of Larchmere, a made-up design studio: at the top the logo and the Work, Studio and Contact links, then the large cover with rounded corners (a real photo: the harbour with the lighthouse at sunset, with hills behind and a fine grain over it), the title Quiet Harbor set large with the discipline beside it, and below a thin line with the client, the year and the role. At the bottom is the band of the next project: Next project, the name Palewave Radio and an arrow, and under it a low slice of its cover. On hover the slice lifts by a pixel, the image inside comes slightly closer, the arrow slides diagonally and the shadow grows. Clicking it squeezes it for a moment; the title and the facts lift away in sequence, the current cover dims, and the slice opens like a window: it rises and widens until it takes the cover’s place, goes one pixel past and settles, while the corners go from 14 to 18 pixels and the shadow grows. Meanwhile the name Palewave Radio flies from the band to the title’s place and grows to its size, widening slightly halfway. Then the discipline and the facts come in, and from below the band of the following project with a small bounce. The drawn pointer goes through the four projects, with the covers of the harbour, the lavender, the starry night and the orchard; a real click stops it.

How it works

The covers: photo and grain

Each project has its photo as a WebP next to index.html. The four photos are loaded and decoded right away with new Image(), so the window never opens on an empty cover. Over every photo lies a 160 pixel tile of grain made once in a canvas from a fixed seed generator: the cover, the band and the flying window have two backgrounds, the repeating grain and the photo set to cover.

A window on the cover

Inside the band the image is not cropped to the band’s size: it is as large as the page cover and centred, so the band shows its middle strip. While flying the window grows but the image keeps its size, so it looks like it opens rather than zooms; layout() measures it again on every resize.

The flight

On click four rectangles are read with getBoundingClientRect: the band, the cover, the name in the band and the title. A fixed copy of the band goes with x, y, width and height from the first to the second in RISE seconds with power4.inOut, one pixel higher, then settles in 0.35 s; the corners go from 14 to ROUND. The name is a copy as large as the title, scaled down to the small name’s size: it goes back to scale 1 as it travels to its place.

The swap

Once the copies have landed, a function fills the page with the new project and removes them: the real cover and title are already underneath, identical, so the change does not show. Then a timeline brings in the discipline, the facts, the band’s label row and the band of the next project with back.out.

The drawn pointer

The autopilot is an async function that waits with gsap.delayedCall, takes the pointer onto the band, turns on the hover, presses and lets the flight run. The first real touch stops it for nine seconds.

Values to change

NameFileDefaultWhat it changes
STUDIOscript.js'Larchmere'The name of the made-up studio, at the top left.
RISEscript.js1.05The seconds the next project’s band takes to rise and become the cover.
OUTscript.js0.45The seconds the current page’s title and facts take to lift away.
SETTLEscript.js1The pixels the cover goes past its place before settling.
ROUNDscript.js18The radius of the cover’s corners, in pixels.
GRAINscript.js14How much grain lies over the cover photos, from 0 to 40.
HOLDscript.js2.6The seconds the autopilot leaves a page before moving to the next.

Try them in the Playground

When to use it

For the portfolio of a studio, a photographer or an agency, at the bottom of a project page: whoever has finished reading finds the next project and steps into it with one gesture, without going back to the list.

On phones

The same transition with adapted sizes: the cover, the title and the band are measured on width and height, the discipline goes under the title and only Work stays in the menu. A tap on the band makes it rise.

With reduced motion

No flight: the page and the band fade out and come back with the new project, every four seconds.

Pitfalls

  • If the image inside the flying window uses background-size: cover, its crop changes every frame and it seems to warp: it must be kept as large as the cover and centred, inside the band too.
  • The flying name is a copy at the large size scaled down, not the small name scaled up: enlarged, the small text would turn blurry at the end of the trip.
  • The swap must happen when the copies have landed and the real page underneath is identical, otherwise a flash of the old project shows.
  • The photos must be loaded before the first click: a background-image set only at flight time opens the window on grey and the photo arrives halfway.
  • With two backgrounds (grain and photo) background-size and background-repeat need two values too: with a single value the grain stretches over the whole cover and becomes a smudge.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 6.2 KB; the libraries: GSAP 28 KB.

Testing

Tested on 7 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.

All animations