Horizontal scroll chapters
Builds scenes that slide sideways as visitors scroll down, landing on the right frame even after fast skips.
Claude's review
8/10 Well argued scroll derived chapter state machine with numbers, rules and failure signatures.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Build scene-by-scene chapters that advance left to right on one fixed stage while the user scrolls vertically, with native scroll as the only input. One pure function turns scrollY into scene, dwell and move, so forward, reverse, scrollbar drags, fast skips and reload at depth all land on the right frame. Covers dwell versus transition budgets, a burn-wipe or pan between scenes, chapter index and progress UI, glide-to-scene links that skip intermediate scenes, keyboard and reduced-motion behaviour. Use for horizontal scrollytelling, multi-scene product tours, "scroll down to travel sideways", chapter carousels driven by the wheel, or any piece where a wheel-jacked slider keeps breaking on touch, keys, refresh or back.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: horizontal-scroll-scenes
description: Build scene-by-scene chapters that advance left to right on one fixed stage while the user scrolls vertically, with native scroll as the only input. One pure function turns scrollY into scene, dwell and move, so forward, reverse, scrollbar drags, fast skips and reload at depth all land on the right frame. Covers dwell versus transition budgets, a burn-wipe or pan between scenes, chapter index and progress UI, glide-to-scene links that skip intermediate scenes, keyboard and reduced-motion behaviour. Use for horizontal scrollytelling, multi-scene product tours, "scroll down to travel sideways", chapter carousels driven by the wheel, or any piece where a wheel-jacked slider keeps breaking on touch, keys, refresh or back.
---
# Horizontal Scroll Scenes
**The mechanism:** scroll position is the only state. One pure function turns `scrollY / (scrollHeight - innerHeight)` into `{scene, dwell 0→1, move 0→1}` every frame, and everything on screen (camera, wipe line, craft clock, text, index) is written from that triple. Nothing remembers where you were, so every beat is a place on the page.
This is what Kibori does, and it is not a `translateX` slider. Verified by running it: the page is a `1742vh` native-scroll track (15,678 px at 1440×900); a fixed stage holds one WebGL world whose camera travels 0 → 49.7 world units left to right through eight stations; between stations a ragged burn line wipes from a frozen frame of the scene being left to the live scene already framed on the next. There is no wheel handler, no snap, no stored "current chapter". Reload at depth, scrollbar drag and anchor jumps work because state is derived, not accumulated.
Reach for `scroll-world-storytelling` or `build-threejs-scroll-worlds` for the story and 3D-world side, `gsap-scrolltrigger-storytelling` for pinned sticky sections, `scroll-progress-timeline` for a progress line. Reach for this when the deliverable is *discrete chapters with a resting beat each, laid along an X axis*, and the hard part is making that state machine survive reverse, skip and refresh. The demo is Vanilla JavaScript + DOM/CSS + inline SVG; the source is three.js. The state machine is identical.
## The pace: two weights and a track height
Every number lives in `DWELL`, `MOVE` and the track height. One unit is one screen of scrolling.
| constant | value | meaning |
| --- | --- | --- |
| `DWELL` | 1.15 | scroll spent inside a scene while its craft advances (about 1,030 px at 900 tall) |
| `MOVE` | 0.85 | scroll spent crossing to the next scene (about 760 px); the last scene has none |
| `CYC` | 2.00 | one scene per two screens |
| `SPAN` | `N*DWELL + (N-1)*MOVE` | 8 scenes: 15.15 plus a 1.35 footer = 16.5; demo, 5 scenes: 9.15 |
| track | `(SPAN + 1) * 100vh` | so 1 unit ≈ 1 screen; Kibori is 1742vh for 16.5 |
```js
function travel(sp){ // sp = scrollY / (scrollHeight - innerHeight)
const u = Math.min(SPAN - 1e-5, sp*SPAN);
const i = Math.min(N - 1, Math.floor(u/CYC));
const local = u - i*CYC;
const dw = Math.min(1, local/DWELL); // the scene's own clock
const f = i >= N-1 ? 0 : clamp01((local - DWELL)/MOVE); // the move
const rc = clamp01((f - 0.01)/0.97); // the line's own clock
return {i, u, dw, f, fe: sstep(0,1,f), L: -0.08 + 1.24*rc, // L: line, off-frame at both ends
live: Math.min(N-1, f < 0.39 ? i : i+1)}; // what the index shows
}
```
Normalise by `scrollHeight - innerHeight`, never a hard-coded pixel height: a phone's collapsing URL bar changes `innerHeight` mid-scroll and a px map drifts.
...From MengTo's repository, MIT licence.
Related skills
-
Checked
Website cloner
Rebuilds an existing web page as working local code that matches its content, assets, layout and interactions.
8/101 credit -
Checked
Immersive website design
Designs immersive, award level websites with bold type, scroll storytelling and purposeful motion.
7/101 credit -
Checked
Website structure planner
Plans the pages your site needs, its navigation, URLs and internal links, including for site migrations.
7/101 credit -
Checked
Netlify forms setup
Adds contact, signup and upload forms to a Netlify site with no backend, and fixes lost or spammed entries.
9/101 credit -
Checked
Web design builder
Builds polished web pages, dashboards and prototypes in HTML, CSS and React, then checks them in a browser.
8/101 credit -
Checked
AI search optimiser
Audits your site's code and makes changes so ChatGPT, Perplexity and AI Overviews can find and quote it.
7/101 credit