
Keep scrolling
Transitions, Scroll
Scroll inside the preview
The chapter of a made-up comic saga, Emberfell, that ends in a warm black footer: “Next: Book Two”. Once at the end, as you keep turning the wheel the top edge of the footer bends up like a sail, with a thin gold line on it, and the more it bends the harder it pushes back. Stop, and it falls back on a spring; insist past the threshold, and the footer rises to become the header of the next book while a paper brush stroke climbs from below. Minimal style, warm paper, warm black and gold.
Rebuilt from scratch studying thorgal.com by Caracal, REEPLE Studio: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Bending footer" 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 footer that bends and takes you to the next page</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/fraunces@5.3.0/full.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mulish@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Emberfell, a made-up comic saga in five books from a made-up publisher, Quire Press. Each book is a short page
that ends in a warm black footer: "Next: Book Two". Past the end of the page, every turn of the wheel bends the
top edge of the footer up like a sail, with a thin gold line along it. Stop, and it falls back on a spring.
Insist past the threshold, and the footer rises to become the header of the next book while a paper brush
stroke climbs from below. The pages are built by script.js from the BOOKS list. -->
<main class="palco" data-palco aria-live="polite"></main>
<div class="velo" data-velo aria-hidden="true"></div>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>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.
17 values to change
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 “Bending footer” from Animorio and fit it into my siteEach book is an article with overflow auto and overscroll-behavior contain, inside a fixed stage as tall as the screen: the page scrolls on its own, the wheel past the end does not spill into the page that hosts it, and the passage can place the next book under the current one. Header, chapter and footer are built from a list of five books.
A non-passive wheel listener: within 50 pixels of the end of the page, each positive deltaY is stopped and adds deltaY × 0.001 × (1 − arc / 1.5) to the arc, up to 1.5. The factor in brackets is the resistance: near the maximum each notch counts for less and less. With a finger the same through touchmove (the finger’s travel times 2.5), with the down arrow, space and page down a notch of 100.
The footer has an SVG above it with three paths. The curve 4x(1 − x) is a quadratic Bézier whose control point sits twice as high as the peak: the peak is arc × 0.05 × the screen height. The first path is the black that rises into the paper, the second the gold line on the edge, the third the faint line nine pixels below, which follows the arc on a softer spring of its own.
GSAP’s ticker counts the frames without wheel: after six the arc goes back to zero on a spring integrated by hand in steps of a two-hundred-and-fortieth of a second, acceleration = (−300 × arc − 25 × velocity) / 0.8, starting from the arc’s own velocity. Damping ratio 0.81: it dips just below zero and settles.
At the threshold (0.7, or 0.3 under 768 pixels) the next book is prepared hidden under the current one and its name and title are measured. A copy of the footer in a fixed panel rises to zero in 0.7 s on the curve cubic-bezier(.42, 0, .58, 1), solved by hand; the edge follows sin(p·π) × 1.5 and the name and title fly from their place to the header’s (FLIP). A paper-coloured brush stroke climbs with yPercent (1 − p) × 100 and stops exactly on the torn edge of the new header, which has the same drawing: there the veil is removed and no seam shows.
| Name | File | Default | What it changes |
|---|---|---|---|
ARC_HEIGHT | script.js | 0.05 | How high the edge rises per unit of arc, as a share of the screen height. |
ARC_MAX | script.js | 1.5 | The most the arc can bend. |
WHEEL_GAIN | script.js | 0.001 | Arc added per pixel of wheel, before the resistance. |
THRESHOLD | script.js | 0.7 | The arc that opens the next page. |
THRESHOLD_SMALL | script.js | 0.3 | The same threshold under 768 pixels of width. |
STILL_FRAMES | script.js | 6 | Frames without wheel before the arc falls back. |
STIFFNESS | script.js | 300 | Stiffness of the spring that brings it back. |
DAMPING | script.js | 25 | Damping of the spring that brings it back. |
MASS | script.js | 0.8 | Mass of the spring that brings it back. |
PASSAGE | script.js | 0.7 | Seconds the footer takes to become the next header. |
SWELL | script.js | 1.5 | How far the edge swells during the passage. |
AUTO_AFTER | script.js | 6 | Seconds without a touch before it plays by itself again. |
For sites that are read in sequence: the chapters of a book or a comic, the episodes of a podcast, the articles of a magazine, the projects of a portfolio, the stages of a brand story. Instead of a “next page” button there is a gesture: you keep scrolling and you arrive.
The same gestures with a finger: past the end, the finger moving up bends the edge as the wheel does. The threshold drops to 0.3 under 768 pixels, as on the site, because the gesture is shorter on a phone; header, footer and type are measured on the height too, so the page fits in the phone preview.
No bending edge, no spring, no rising footer and no brush stroke: past the end only the gold thread of “Keep scrolling” fills in with a fade, and at the threshold the next book fades in over the current one. When it plays by itself it jumps to the end with a fade instead of scrolling.
GSAP 3.15.0, Fraunces (font variabile) 5.3.0, Mulish (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.9 KB; the libraries: GSAP 28 KB.
Tested on 1 November 2026
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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.