Five portfolio projects, taken apart.
A product launch, a studio portfolio, an editorial long-read, an agency case study in GSAP and a product showcase in WebGL. Each runs below with its brief, the techniques it uses, the prompts that rebuild it for your own project, a portfolio-ready checklist and every line of code. All five fit any screen from 375 pixels up, and all five sit still under reduced motion.
What you will learn
By the end of this chapter- 01Read a complete site and recognise the techniques it combines.
- 02Explain why each example feels cinematic: pacing, restraint and one loop.
- 03Rebuild an example for your own subject with the prompts given.
- 04Replace placeholder media with real images, frames or a route.
01 · How to use this chapter
Scroll the preview first
Each site runs in a frame. Scroll inside it, or press View full screen to open it on its own screen, with a Back button to return here. Notice what moves, and how little: these are minimalist on purpose.
Then read how it is built
The techniques list says which pieces from Motion each site combines. Every site is three files and no build step. The first three use no libraries; Halden Studio loads GSAP and Atelier Sora loads three.js from a CDN, so each line can still be read on its own.
Rebuild it for your project
The prompts fill in your project from the fields below. Paste them in order and inspect after each one, as in Build.
02 · Product launch
Orbit OneA launch page for a fictional speaker. The product turns as you scroll, then a sticky tour walks through what it does.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Orbit One · a speaker that fills the room</title>
<meta name="description" content="A fictional product launch page, built for the Scrollcraft tutorial." />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- the film layer: letterbox bars for the signature moment, and grain -->
<div class="bars" aria-hidden="true"><i></i><i></i></div>
<div class="grain" aria-hidden="true"></div>
<header class="nav">
<a class="brand" href="#top">Orbit</a>
<nav class="links" aria-label="Sections">
<a href="#design">Design</a>
<a href="#features">Features</a>
<a href="#colours">Colours</a>
<a href="#faq">Questions</a>
</nav>
<a class="buy" href="#order">Pre-order</a>
</header>
<main id="top">
<section class="hero">
<!-- orbits behind the headline: the sound, drawn once as the page opens -->
<svg class="orbits" viewBox="0 0 800 800" aria-hidden="true">
<ellipse cx="400" cy="400" rx="390" ry="150" />
<ellipse cx="400" cy="400" rx="300" ry="112" />
<ellipse cx="400" cy="400" rx="210" ry="76" />
<circle cx="790" cy="400" r="5" />
</svg>
<h1 class="split">
<span class="line"><span>Sound that</span></span>
<span class="line"><span>fills the room,</span></span>
<span class="line"
><span>not the <em>shelf.</em></span></span
>
</h1>
<p class="sub">A small speaker that plays in every direction.</p>
<p class="cue" aria-hidden="true">Scroll</p>
</section>
<!-- frame scrub: the canvas draws the product, the captions change with the scroll -->
<section class="spin" id="design" aria-label="The speaker, turning">
<div class="spin-pin">
<canvas class="spin-canvas" aria-hidden="true"></canvas>
<p class="spin-cap" data-at="0">Sound in every direction.</p>
<p class="spin-cap" data-at="0.34">A fabric shell over an aluminium core.</p>
<p class="spin-cap" data-at="0.67">One button. Nothing else to learn.</p>
</div>
</section>
<section class="statement">
<p class="words">Put it in the middle of the table and forget where the front is. There isn't one.</p>
</section>
<!-- product tour: the device stays pinned, the feature crossing the middle sets the screen -->
<section class="tour" id="features">
<div class="tour-device" aria-hidden="true">
<div class="tour-screen" data-i="0"><span>Play</span></div>
</div>
<div class="tour-list">
<article class="feat">
<span class="num">01</span>
<h2>Play</h2>
<p>Press once to start the last thing you listened to.</p>
</article>
<article class="feat">
<span class="num">02</span>
<h2>Pair</h2>
<p>Hold the same button and your phone finds it.</p>
</article>
<article class="feat">
<span class="num">03</span>
<h2>Group</h2>
<p>Two of them share one song across two rooms.</p>
</article>
</div>
</section>
<!-- colours: the choice recolours the drawing here and the speaker in the film above -->
<section class="colours" id="colours">
<div class="colours-text">
<p class="eyebrow">Colours</p>
<h2>Three colours, one shape.</h2>
<p>Each shell is woven in one colour, all the way through, so a scratch never shows a different one.</p>
<div class="tones" role="group" aria-label="Colour">
<button type="button" data-tone="graphite" aria-pressed="true"><i></i>Graphite</button>
<button type="button" data-tone="sand" aria-pressed="false"><i></i>Sand</button>
<button type="button" data-tone="clay" aria-pressed="false"><i></i>Clay</button>
</div>
</div>
<div class="swatch-speaker" aria-hidden="true"><span></span></div>
</section>
<!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
<section class="kit-section kit-zoomer" id="room" aria-labelledby="room-title">
<div class="kit-head"><h2 id="room-title" class="kit-reveal">Made for the middle of the room.</h2></div>
<figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
<svg viewBox="0 0 1050 450" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<rect width="1050" height="450" fill="#0b0d0f" />
<rect x="0" y="300" width="1050" height="150" fill="#121417" />
<g fill="none" stroke="rgba(255,138,61,0.35)">
<ellipse cx="525" cy="262" rx="120" ry="22" />
<ellipse cx="525" cy="262" rx="200" ry="38" />
<ellipse cx="525" cy="262" rx="290" ry="56" />
</g>
<rect x="330" y="262" width="390" height="16" rx="4" fill="#2a2420" />
<rect x="360" y="278" width="10" height="150" fill="#1d1916" />
<rect x="680" y="278" width="10" height="150" fill="#1d1916" />
<rect x="497" y="196" width="56" height="66" rx="10" fill="#2b3135" />
<ellipse cx="525" cy="196" rx="28" ry="6" fill="#0d0f11" />
<circle cx="525" cy="196" r="3" fill="#ff8a3d" />
<circle cx="860" cy="120" r="46" fill="rgba(255,214,170,0.08)" />
<rect x="852" y="60" width="16" height="70" fill="#1a1d20" />
</svg>
</figure>
<p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
No front, no back: put it where people sit, and the sound reaches all of them.
</p>
</section>
<!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
<section class="kit-section kit-carousel" id="rooms" aria-labelledby="rooms-title">
<div class="kit-head">
<h2 id="rooms-title" class="kit-reveal">Where it fits</h2>
<div class="kit-buttons">
<button type="button" data-dir="-1" aria-label="Previous room">←</button><button type="button" data-dir="1" aria-label="Next room">→</button>
</div>
</div>
<div class="kit-track" tabindex="0" role="region" aria-label="Where it fits">
<figure class="kit-card">
<div
class="kit-art"
style="background: radial-gradient(circle at 50% 70%, #ff8a3d55, transparent 50%), linear-gradient(#1b1f22, #0b0d0f)"
aria-hidden="true"
></div>
<figcaption>
<h3>Kitchen counter</h3>
<p>Loud enough for the radio, small enough to move for the chopping board.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="background: radial-gradient(circle at 40% 60%, #5cc8ff44, transparent 55%), linear-gradient(#15191c, #07080a)"
aria-hidden="true"
></div>
<figcaption>
<h3>Living room</h3>
<p>On the low table, with everyone around it.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="background: radial-gradient(circle at 60% 50%, #9be15d44, transparent 55%), linear-gradient(#171a1c, #08090a)"
aria-hidden="true"
></div>
<figcaption>
<h3>Studio desk</h3>
<p>Between the screens, playing to the whole room.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="background: radial-gradient(circle at 50% 30%, #ffd59e55, transparent 50%), linear-gradient(#1d2a12, #07080a)"
aria-hidden="true"
></div>
<figcaption>
<h3>Garden table</h3>
<p>For an evening outside, until the battery says goodnight.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="background: radial-gradient(circle at 50% 50%, #b4694a55, transparent 55%), linear-gradient(#1a1412, #07080a)"
aria-hidden="true"
></div>
<figcaption>
<h3>Bedside</h3>
<p>Quiet enough to fall asleep to.</p>
</figcaption>
</figure>
</div>
</section>
<!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
<section class="kit-section kit-feed" id="workshop" aria-labelledby="workshop-title">
<div class="kit-head"><h2 id="workshop-title" class="kit-reveal">From the workshop</h2></div>
<ul class="kit-list" aria-live="polite">
<li>
<span class="kit-tag">Week 12</span>
<p><b>Shell sample four</b>The weave is finally tight enough that the dots do not show the core.</p>
</li>
<li>
<span class="kit-tag">Week 11</span>
<p><b>The button, again</b>We tried two buttons for a week. Everyone went back to one.</p>
</li>
<li>
<span class="kit-tag">Week 10</span>
<p><b>A heavier base</b>Twenty grams more at the bottom, and it stopped walking on the table.</p>
</li>
</ul>
<template
><li>
<span class="kit-tag">Week 9</span>
<p><b>Ring colours</b>Orange for playing, blue for pairing, green for a group.</p>
</li>
<li>
<span class="kit-tag">Week 8</span>
<p><b>The aluminium core</b>Turned from one piece, so nothing inside can rattle.</p>
</li>
<li>
<span class="kit-tag">Week 7</span>
<p><b>Listening tests</b>Twelve rooms, one question: where is the front? Nobody could say.</p>
</li>
<li>
<span class="kit-tag">Week 6</span>
<p><b>First drawings</b>A cylinder, because sound does not have a favourite side.</p>
</li>
<li>
<span class="kit-tag">Week 5</span>
<p><b>The name</b>Orbit, because it plays all the way round.</p>
</li>
<li>
<span class="kit-tag">Week 4</span>
<p><b>The brief</b>One speaker, one button, for the middle of the room.</p>
</li></template
>
<div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
</section>
<section class="specs">
<h2>The details</h2>
<dl>
<div>
<dt>Sound</dt>
<dd>All the way round</dd>
</div>
<div>
<dt>Shell</dt>
<dd>Woven fabric</dd>
</div>
<div>
<dt>Core</dt>
<dd>Aluminium</dd>
</div>
<div>
<dt>Controls</dt>
<dd>One button</dd>
</div>
</dl>
</section>
<section class="faq" id="faq">
<h2>Questions</h2>
<details>
<summary>Where should it go?</summary>
<p>In the middle of the room, or the middle of the table. It has no front, so it does not need a wall behind it.</p>
</details>
<details>
<summary>How do I pair my phone?</summary>
<p>Hold the button until the ring turns blue, then choose Orbit One in your phone’s settings.</p>
</details>
<details>
<summary>Can two play together?</summary>
<p>Yes. Hold the button on the second one while the first is playing, and they share the song.</p>
</details>
</section>
<section class="order" id="order">
<h2>Orbit One</h2>
<p>Three colours. Shipping when it is ready.</p>
<a class="btn" href="#top">Pre-order</a>
</section>
</main>
<footer class="foot">
<div class="foot-cols">
<p class="brand">Orbit</p>
<ul>
<li><a href="#design">Design</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#colours">Colours</a></li>
<li><a href="#faq">Questions</a></li>
</ul>
<ul>
<li><a href="#order">Pre-order</a></li>
<li><a href="#top">Back to top</a></li>
</ul>
</div>
<p class="foot-note">A fictional product, built for the Scrollcraft tutorial.</p>
</footer>
<div class="progress" aria-hidden="true"></div>
<script src="app.js"></script>
</body>
</html>
The brief
A start-up is launching one speaker and needs one page that makes people pre-order it. The product must be the hero, its three features must be clear in under a minute, and the page must stay quick on a mid-range phone.
Techniques used
Headline revealed line by line, over orbit lines drawn once as the page opens (Motion, recipe e). A frame-sequence scrub that tells the product in three acts: it turns while sound rings spread across the floor, it opens into an exploded view of shell, core and driver with labelled leader lines, and it closes as the view tilts down to the one button (recipe c). Words lit at the pace of the scroll (technique 5). A sticky product tour whose light ring fills and changes colour per feature (recipe a). A reading progress bar.
Why it feels cinematic
One accent colour, used only for the progress bar, the button and the product’s single control. Every section does one thing and holds the screen for it. The product turns only while you scroll, so the reader directs the shot.
Prompts to rebuild it
Build a minimalist product launch page for [subject], for [audience], ending with one call to action: [one action]. Plain HTML, CSS and JavaScript in three files, no libraries. Sections: a hero headline revealed line by line, a pinned canvas section where scroll turns the product, one sentence whose words light up as you scroll, a sticky tour of three features, and a closing call to action. Dark background, one accent colour. Write the CSS mobile first: phone layout as the base, wider screens added with min-width queries.Use one scroll listener that schedules one requestAnimationFrame. In it, compute progress through each pinned section from getBoundingClientRect, and redraw the canvas only when the frame number changes. For the feature tour, light the last feature whose heading has passed a reading line, in the same frame: the middle of the screen, or just under the device on phones.Check it: under prefers-reduced-motion the product stays on frame 0, every word is lit and the headline is visible at once. With JavaScript turned off, all text must be readable. Test at 375, 768 and 1440 px and tell me what you could not test.Swap in real product frames
The example draws its frames in code so it needs no files. With a 3D render or a turntable shoot, export the frames and draw images instead:
const FRAMES = 120;
const frames = Array.from({ length: FRAMES }, (_, i) => {
const img = new Image();
img.src = `frames/${String(i + 1).padStart(3, '0')}.webp`;
return img;
});
function drawFrame(i) {
const img = frames[i];
if (!img.complete) return; // the next scroll event draws it
ctx.clearRect(0, 0, cv.width, cv.height);
const s = Math.min(cv.width / img.width, cv.height / img.height);
ctx.drawImage(img, (cv.width - img.width * s) / 2, (cv.height - img.height * s) / 2, img.width * s, img.height * s);
}Portfolio-ready
Tick each one as your version meets it. The ticks stay in this browser.
0 of 7 criteria met
03 · Studio portfolio
Field StudioA typographic portfolio for a fictional design studio. Large type, a drifting line of services, projects that open as they arrive, and a process told sideways.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Field Studio · identity and motion</title>
<meta name="description" content="A fictional studio portfolio, built for the Scrollcraft tutorial." />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- the film layer: letterbox bars for the signature moment, and grain -->
<div class="bars" aria-hidden="true"><i></i><i></i></div>
<div class="grain" aria-hidden="true"></div>
<div class="progress" aria-hidden="true"></div>
<header class="nav">
<a class="brand" href="#top">Field Studio</a>
<nav aria-label="Sections">
<a href="#work">Work</a><a class="wide" href="#services">Services</a><a class="wide" href="#process">Process</a><a href="#contact">Contact</a>
</nav>
</header>
<main id="top">
<section class="hero">
<!-- the ground: soft fields of colour that flow like ink in water, under a halftone grid that swells where the pointer is -->
<canvas class="field" aria-hidden="true"></canvas>
<h1 class="split">
<span class="line"><span>We design</span></span>
<span class="line"><span>quiet brands</span></span>
<span class="line"><span class="dim">that move.</span></span>
</h1>
<p class="meta"><span>Identity</span><span>Websites</span><span>Motion</span></p>
</section>
<!-- marquee: drifts on its own, speeds up with the scroll -->
<div class="marquee" aria-hidden="true">
<div class="marquee-row">Identity · Type · Web · Motion · Print ·</div>
</div>
<section class="work" id="work">
<h2 class="label">Selected work</h2>
<!-- each project opens from a small window to its full frame -->
<article class="project">
<figure class="clip">
<svg class="art" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<defs>
<linearGradient id="sky1" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#16242c" />
<stop offset="1" stop-color="#2c4a5c" />
</linearGradient>
</defs>
<rect width="400" height="300" fill="url(#sky1)" />
<circle data-depth="40" cx="270" cy="120" r="46" fill="#e8d6b0" />
<path data-depth="24" d="M0 180 C 60 168, 120 192, 200 178 S 330 166, 400 176 V 300 H 0 Z" fill="#1d3644" />
<path data-depth="12" d="M0 214 C 70 202, 140 226, 220 210 S 340 200, 400 210 V 300 H 0 Z" fill="#162a35" />
<path data-depth="4" d="M0 250 C 80 240, 160 262, 240 248 S 350 238, 400 246 V 300 H 0 Z" fill="#0f1e26" />
<path data-depth="24" d="M0 180 C 60 168, 120 192, 200 178 S 330 166, 400 176" fill="none" stroke="#e8d6b0" stroke-width="1.5" />
</svg>
</figure>
<div class="project-text">
<span class="pnum">01</span>
<h3>Tidewater</h3>
<p>Identity and website for a fictional ferry line.</p>
</div>
</article>
<article class="project">
<figure class="clip">
<svg class="art" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<rect width="400" height="300" fill="#d9cdb4" />
<g data-depth="6" fill="none" stroke="#b8a37a" stroke-width="1">
<path d="M0 60 H 400 M0 120 H 400 M0 180 H 400 M0 240 H 400 M80 0 V 300 M160 0 V 300 M240 0 V 300 M320 0 V 300" />
</g>
<rect data-depth="18" x="60" y="70" width="120" height="160" fill="#6e5a3b" />
<path data-depth="34" d="M210 150 H 300 L 300 120 L 350 165 L 300 210 L 300 180 H 210 Z" fill="#2b2418" />
<circle data-depth="48" cx="120" cy="110" r="22" fill="#d9cdb4" />
</svg>
</figure>
<div class="project-text">
<span class="pnum">02</span>
<h3>Common Ground</h3>
<p>Wayfinding for a fictional public library.</p>
</div>
</article>
<article class="project">
<figure class="clip">
<svg class="art" viewBox="0 0 400 300" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<defs>
<radialGradient id="glow3" cx="0.5" cy="0.42" r="0.5">
<stop offset="0" stop-color="#ffd59e" />
<stop offset="0.25" stop-color="#e0893a" stop-opacity="0.7" />
<stop offset="1" stop-color="#120804" stop-opacity="0" />
</radialGradient>
</defs>
<rect width="400" height="300" fill="#120804" />
<circle data-depth="10" cx="200" cy="126" r="150" fill="url(#glow3)" />
<path data-depth="44" d="M200 40 C 214 60, 186 74, 200 96" fill="none" stroke="#5a3a26" stroke-width="2" stroke-linecap="round" />
<ellipse data-depth="30" cx="200" cy="124" rx="9" ry="20" fill="#fff1d6" />
<rect data-depth="16" x="168" y="150" width="64" height="120" rx="4" fill="#2a160a" />
<rect data-depth="16" x="168" y="150" width="64" height="10" rx="4" fill="#3d2213" />
</svg>
</figure>
<div class="project-text">
<span class="pnum">03</span>
<h3>Low Light</h3>
<p>Packaging for a fictional candle maker.</p>
</div>
</article>
</section>
<!-- horizontal gallery: vertical scroll moves the strip sideways while the section is pinned -->
<!-- what the studio does: four rows that open to say how -->
<section class="services" id="services" aria-labelledby="services-title">
<h2 class="label" id="services-title">Services</h2>
<details>
<summary><span class="sn">01</span>Identity</summary>
<p>Names, marks and the rules that keep them consistent, from a business card to a building.</p>
</details>
<details>
<summary><span class="sn">02</span>Websites</summary>
<p>Fast, readable sites that a team can update without calling us.</p>
</details>
<details>
<summary><span class="sn">03</span>Motion</summary>
<p>How a brand moves on screen: timing, easing and when to stay still.</p>
</details>
<details>
<summary><span class="sn">04</span>Print</summary>
<p>Books, posters and packaging, set by hand and checked on paper.</p>
</details>
</section>
<!-- a statement whose words darken as you read them -->
<section class="manifesto" aria-label="How we work">
<p class="words">We would rather make one thing well than ten things loudly. Every project starts with listening and ends with a guide.</p>
</section>
<section class="hs" id="process" aria-label="Process, in five steps">
<div class="hs-pin">
<h2 class="label hs-label">Process</h2>
<div class="hs-track">
<div class="step">
<span>01</span>
<h3>Listen</h3>
<p>A week of questions before any sketch.</p>
</div>
<div class="step">
<span>02</span>
<h3>Reduce</h3>
<p>One idea, said as plainly as possible.</p>
</div>
<div class="step">
<span>03</span>
<h3>Draw</h3>
<p>Type, mark and grid, on paper first.</p>
</div>
<div class="step">
<span>04</span>
<h3>Move</h3>
<p>Motion rules, so the brand behaves the same everywhere.</p>
</div>
<div class="step">
<span>05</span>
<h3>Hand over</h3>
<p>Files and a guide your team can use without us.</p>
</div>
</div>
<div class="hs-progress" aria-hidden="true"><i></i></div>
</div>
</section>
<!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
<section class="kit-section kit-carousel" id="journal" aria-labelledby="journal-title">
<div class="kit-head">
<h2 id="journal-title" class="kit-reveal">Journal</h2>
<div class="kit-buttons">
<button type="button" data-dir="-1" aria-label="Previous note">←</button><button type="button" data-dir="1" aria-label="Next note">→</button>
</div>
</div>
<div class="kit-track" tabindex="0" role="region" aria-label="Journal">
<figure class="kit-card">
<div class="kit-art" style="background: linear-gradient(160deg, #2c4a5c, #16242c)" aria-hidden="true"></div>
<figcaption>
<h3>On restraint</h3>
<p>Why most of our first sketches are deleted by lunch.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: repeating-linear-gradient(0deg, #d9cdb4 0 18px, #cfc2a6 18px 20px)" aria-hidden="true"></div>
<figcaption>
<h3>Type on paper</h3>
<p>We print every specimen before anyone sees it on a screen.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: radial-gradient(circle at 30% 70%, #e0893a, #3a1c0b 60%)" aria-hidden="true"></div>
<figcaption>
<h3>Motion rules</h3>
<p>Three durations, two easings, and when to do nothing.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: linear-gradient(200deg, #6e5a3b, #2b2418)" aria-hidden="true"></div>
<figcaption>
<h3>Handing over</h3>
<p>A guide is part of the work, not an extra.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: conic-gradient(from 90deg at 50% 50%, #b8a37a, #d9cdb4, #b8a37a)" aria-hidden="true"></div>
<figcaption>
<h3>Small studios</h3>
<p>Why we stay at five people.</p>
</figcaption>
</figure>
</div>
</section>
<!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
<section class="kit-section kit-feed" id="archive" aria-labelledby="archive-title">
<div class="kit-head"><h2 id="archive-title" class="kit-reveal">Archive</h2></div>
<ul class="kit-list" aria-live="polite">
<li>
<span class="kit-tag">2025</span>
<p><b>Harbour Lights</b>Identity for a fictional festival on the quay.</p>
</li>
<li>
<span class="kit-tag">2025</span>
<p><b>Paper Mill</b>Website for a fictional print workshop.</p>
</li>
<li>
<span class="kit-tag">2024</span>
<p><b>North Rail</b>Wayfinding for a fictional branch line.</p>
</li>
</ul>
<template
><li>
<span class="kit-tag">2024</span>
<p><b>Salt & Smoke</b>Packaging for a fictional smokehouse.</p>
</li>
<li>
<span class="kit-tag">2023</span>
<p><b>The Reading Room</b>Signage for a fictional library annex.</p>
</li>
<li>
<span class="kit-tag">2023</span>
<p><b>Fieldwork</b>Our own identity, redrawn.</p>
</li>
<li>
<span class="kit-tag">2022</span>
<p><b>Low Tide</b>Posters for a fictional film season.</p>
</li>
<li>
<span class="kit-tag">2022</span>
<p><b>Common Table</b>Menus and signs for a fictional canteen.</p>
</li>
<li>
<span class="kit-tag">2021</span>
<p><b>First Light</b>Identity for a fictional bakery.</p>
</li></template
>
<div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
</section>
<section class="contact" id="contact">
<p class="label">Contact</p>
<a class="mail" href="mailto:hello@example.com">hello@example.com</a>
</section>
</main>
<footer class="foot">
<div class="foot-cols">
<p class="brand">Field Studio</p>
<ul>
<li><a href="#work">Work</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#process">Process</a></li>
</ul>
<ul>
<li><a href="mailto:hello@example.com">hello@example.com</a></li>
<li><a href="#top">Back to top</a></li>
</ul>
</div>
<p class="foot-note">A fictional studio, built for the Scrollcraft tutorial.</p>
</footer>
<script src="app.js"></script>
</body>
</html>
The brief
A small design studio wants a portfolio that sounds like them: confident type, three projects and how they work. Visitors should remember the name and find the contact link without looking for it.
Techniques used
Headline revealed line by line, with its last line, “that move.”, sliding sideways as the hero leaves (recipe e). Scroll-speed marquee (recipe d). Clip-path reveal with a slow counter-zoom (recipe b), and inside each frame an SVG artwork in layers that settle at different speeds, which reads as depth. Horizontal scroll in a pinned section with outlined step numbers and a progress line (technique 8).
Why it feels cinematic
The type does the work, so motion stays small. Each project image opens like a shutter while the picture inside settles back from a slight zoom, which reads as a camera move. The process section changes direction, a cut that tells the reader a new part has started.
Prompts to rebuild it
Build a typographic portfolio for [subject], for [audience], ending with [one action]. Plain HTML, CSS and JavaScript in three files, no libraries. Light warm background, one sans-serif typeface, no accent colour. Sections: a three-line headline revealed line by line, a marquee of services that speeds up with the scroll, three projects whose images open with clip-path as they reach the middle of the screen, a pinned horizontal strip of five process steps, and a large contact link. Write the CSS mobile first: phone layout as the base, wider screens added with min-width queries.Set clip-path only from JavaScript so images are fully visible without it. Size the horizontal section from the strip width on load and on resize. Do not start the marquee under prefers-reduced-motion. Then test at 375, 768 and 1440 px.Use real project images
Replace each generated artwork with an image that fills its frame. Keep the width and height attributes so the page does not jump while images load:
<figure class="clip">
<img class="art" src="work/tidewater.avif" alt="Tidewater ferry timetable poster"
width="1600" height="1200" loading="lazy" decoding="async">
</figure>
<!-- style.css: .art { object-fit: cover; } -->Portfolio-ready
Tick each one as your version meets it. The ticks stay in this browser.
0 of 7 criteria met
04 · Editorial long-read
The Long Way NorthA fictional travel story. A layered cover, then a map that stays beside the text and draws the route day by day.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>The Long Way North · a coastal walk in five days</title>
<meta name="description" content="A fictional editorial long-read, built for the Scrollcraft tutorial." />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- the film layer: letterbox bars for the signature moment, and grain -->
<div class="bars" aria-hidden="true"><i></i><i></i></div>
<div class="grain" aria-hidden="true"></div>
<div class="progress" aria-hidden="true"></div>
<header class="mast">
<a class="mast-name" href="#top">North<span> · Issue 07</span></a>
<nav aria-label="Sections">
<a href="#story">Story</a>
<a href="#route">Route</a>
<a href="#kit">Kit</a>
<a href="#stories">More</a>
</nav>
</header>
<header class="cover" id="top">
<!-- parallax: the farther the layer, the more it moves with the reader, so it seems to drift by more slowly -->
<svg class="layer sky" data-speed="0.5" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
<defs>
<linearGradient id="dusk" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#121c22" />
<stop offset="0.55" stop-color="#3a4a50" />
<stop offset="0.85" stop-color="#9a8462" />
<stop offset="1" stop-color="#c9a46a" />
</linearGradient>
<radialGradient id="halo">
<stop offset="0" stop-color="#f1dcae" stop-opacity="0.35" />
<stop offset="1" stop-color="#f1dcae" stop-opacity="0" />
</radialGradient>
</defs>
<rect width="1600" height="900" fill="url(#dusk)" />
<circle class="sun-glow" cx="1180" cy="330" r="150" fill="url(#halo)" />
<circle class="sun" cx="1180" cy="330" r="40" fill="#f1dcae" opacity="0.85" />
<g class="stars" fill="#e9e4da" opacity="0.5">
<circle cx="210" cy="120" r="1.6" />
<circle cx="420" cy="80" r="1.2" />
<circle cx="640" cy="160" r="1.4" />
<circle cx="900" cy="70" r="1.1" />
<circle cx="1320" cy="140" r="1.5" />
<circle cx="1480" cy="60" r="1.2" />
<circle cx="760" cy="230" r="1" />
<circle cx="300" cy="260" r="1.1" />
</g>
<!-- a few birds crossing the dusk -->
<g class="birds" fill="none" stroke="#141c20" stroke-width="2.4" stroke-linecap="round">
<path class="bird" d="M-60 300 q 8 -8 16 0 q 8 -8 16 0" />
<path class="bird" d="M-110 330 q 6 -6 12 0 q 6 -6 12 0" />
<path class="bird" d="M-160 290 q 7 -7 14 0 q 7 -7 14 0" />
</g>
</svg>
<svg class="layer far" data-speed="0.3" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
<path d="M0 640 C 160 600, 260 520, 420 540 S 700 610, 860 560 S 1120 470, 1300 520 S 1520 590, 1600 570 V 900 H 0 Z" fill="#2b3a3c" />
<rect y="660" width="1600" height="240" fill="#22302f" opacity="0.6" />
</svg>
<!-- mist lying in the valleys, drifting slowly across -->
<svg class="layer mist" data-speed="0.25" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
<defs>
<filter id="haze" x="-20%" y="-50%" width="140%" height="200%"><feGaussianBlur stdDeviation="22" /></filter>
</defs>
<g filter="url(#haze)" fill="#c9cfc8">
<ellipse class="fog f1" cx="300" cy="650" rx="420" ry="34" opacity="0.18" />
<ellipse class="fog f2" cx="1100" cy="620" rx="520" ry="30" opacity="0.14" />
<ellipse class="fog f3" cx="700" cy="700" rx="600" ry="40" opacity="0.16" />
</g>
</svg>
<svg class="layer mid" data-speed="0.2" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
<path
d="M0 720 C 200 690, 340 640, 520 660 S 800 730, 980 700 L 1080 690 L 1090 600 L 1100 600 L 1108 690 C 1250 690, 1420 720, 1600 700 V 900 H 0 Z"
fill="#18211f"
/>
<path d="M1086 606 L 1112 606 L 1099 590 Z" fill="#e6b45c" />
<!-- the lighthouse is lit: its beam sweeps the sea and the lamp breathes -->
<g class="beam">
<path d="M1099 598 L 1700 540 L 1700 660 Z" fill="url(#ray)" />
</g>
<circle class="lamp" cx="1099" cy="598" r="16" fill="url(#lampglow)" />
<defs>
<linearGradient id="ray" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#f6d58e" stop-opacity="0.55" />
<stop offset="1" stop-color="#f6d58e" stop-opacity="0" />
</linearGradient>
<radialGradient id="lampglow">
<stop offset="0" stop-color="#ffe8b0" />
<stop offset="1" stop-color="#ffe8b0" stop-opacity="0" />
</radialGradient>
</defs>
</svg>
<svg class="layer near" data-speed="0.1" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMax slice" aria-hidden="true">
<path d="M0 800 C 180 770, 300 760, 420 790 S 620 860, 760 850 S 1000 800, 1200 830 S 1460 880, 1600 860 V 900 H 0 Z" fill="#0d1113" />
</svg>
<div class="cover-text">
<p class="kicker">A long read · Fiction</p>
<h1>The Long Way North</h1>
<p class="standfirst">Five days on foot along a coast that does not want to be hurried.</p>
</div>
</header>
<main>
<p class="lead reveal" id="story">
Nobody walks this coast for the view on the first day. The first day is rain, and a path that keeps losing its nerve at the edge of the fields. The view
comes later, and only to people who kept going.
</p>
<!-- scrollytelling: the map stays pinned, each day draws more of the route -->
<section class="journey" id="route" aria-label="The route, day by day">
<figure class="map" aria-hidden="true">
<svg viewBox="0 0 300 520">
<!-- contours inland, a north mark, and the walker who follows the drawn line -->
<path class="contour" d="M10 500 C 30 430, -6 392, 22 346 S 4 262, 42 222 S 34 128, 84 96 S 150 34, 222 22" />
<path class="contour" d="M-14 470 C 4 410, -20 380, 2 340 S -12 270, 18 236 S 12 150, 58 116 S 120 60, 196 44" />
<g class="north" transform="translate(262 470)">
<path d="M0 -16 L 6 4 L 0 0 L -6 4 Z" />
<text y="18" text-anchor="middle">N</text>
</g>
<path class="coast" d="M40 510 C 60 440, 20 400, 50 350 S 30 260, 70 220 S 60 120, 110 90 S 170 20, 250 10" />
<path class="route-bg" d="M70 490 C 90 430, 60 390, 85 345 S 70 265, 105 230 S 100 140, 140 110 S 190 50, 240 40" />
<path class="route" d="M70 490 C 90 430, 60 390, 85 345 S 70 265, 105 230 S 100 140, 140 110 S 190 50, 240 40" />
<g class="stops">
<circle cx="70" cy="490" r="5" />
<circle cx="85" cy="345" r="5" />
<circle cx="105" cy="230" r="5" />
<circle cx="140" cy="110" r="5" />
<circle cx="240" cy="40" r="5" />
</g>
<g class="walker" transform="translate(240 40)">
<circle class="walker-halo" r="12" />
<circle r="4.5" />
</g>
</svg>
<figcaption>Route drawn for illustration. Not to scale.</figcaption>
</figure>
<div class="days">
<article class="day">
<p class="day-n">Day one</p>
<h2>The harbour</h2>
<p>We left before the cafés opened. The harbour wall was the last straight line we would see for a while.</p>
</article>
<article class="day">
<p class="day-n">Day two</p>
<h2>The salt marsh</h2>
<p>The path turned into boardwalk and then into an opinion. We followed the posts and trusted the birds.</p>
</article>
<article class="day">
<p class="day-n">Day three</p>
<h2>The cliffs</h2>
<p>Up, for most of the morning. At the top the wind took every sentence and gave back only the vowels.</p>
</article>
<article class="day">
<p class="day-n">Day four</p>
<h2>The forest</h2>
<p>Quiet, after the cliffs. Moss on everything, and a stream that ran beside us like it was also late.</p>
</article>
<article class="day">
<p class="day-n">Day five</p>
<h2>The lighthouse</h2>
<p>We saw it an hour before we reached it. It did not get closer for most of that hour, and then it did.</p>
</article>
</div>
</section>
<blockquote class="pull reveal">“The view comes later, and only to people who kept going.”</blockquote>
<p class="reveal">
At the lighthouse there was a bench, and on the bench there was nothing to do. We sat on it anyway, for longer than any of the days had taken to
describe.
</p>
<!-- after the story: what the walk took, in things and in figures -->
<!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
<section class="kit-section kit-zoomer" id="cliffs" aria-labelledby="cliffs-title">
<div class="kit-head"><h2 id="cliffs-title" class="kit-reveal">Day three, from the top</h2></div>
<figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
<svg viewBox="0 0 1050 450" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<defs>
<linearGradient id="pz" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#2a3a40" />
<stop offset="1" stop-color="#8a7a5c" />
</linearGradient>
</defs>
<rect width="1050" height="450" fill="url(#pz)" />
<path d="M0 230 C 160 200, 260 140, 420 170 S 700 120, 860 160 S 1000 190, 1050 180 V 450 H 0 Z" fill="#2b3a3c" />
<path d="M0 300 C 120 260, 220 250, 330 280 L 360 200 L 420 210 L 470 300 C 600 330, 800 290, 1050 310 V 450 H 0 Z" fill="#18211f" />
<path d="M0 380 C 200 360, 400 400, 600 380 S 900 360, 1050 390 V 450 H 0 Z" fill="#0d1113" />
<path d="M360 200 L 420 210 L 470 300" fill="none" stroke="#e6b45c" stroke-width="2" stroke-dasharray="4 6" />
</svg>
</figure>
<p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
The cliffs, drawn from a sketch in the notebook. The dashed line is the path; it is steeper than it looks.
</p>
</section>
<!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
<section class="kit-section kit-carousel" id="notebook" aria-labelledby="notebook-title">
<div class="kit-head">
<h2 id="notebook-title" class="kit-reveal">From the notebook</h2>
<div class="kit-buttons">
<button type="button" data-dir="-1" aria-label="Previous sketch">←</button><button type="button" data-dir="1" aria-label="Next sketch">→</button>
</div>
</div>
<div class="kit-track" tabindex="0" role="region" aria-label="From the notebook">
<figure class="kit-card">
<div class="kit-art" style="background: linear-gradient(#3d4b4f, #1b2a33)" aria-hidden="true"></div>
<figcaption>
<h3>The harbour wall</h3>
<p>The last straight line for a while.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: repeating-linear-gradient(90deg, #2b3a3c 0 22px, #22302f 22px 26px)" aria-hidden="true"></div>
<figcaption>
<h3>Boardwalk</h3>
<p>Posts, birds and an opinion.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: linear-gradient(135deg, #5d6466, #2f3537)" aria-hidden="true"></div>
<figcaption>
<h3>Wind</h3>
<p>Drawn with the pencil held in a glove.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: radial-gradient(circle at 40% 60%, #4a5a3a, #18211f 70%)" aria-hidden="true"></div>
<figcaption>
<h3>Moss</h3>
<p>Everything green, and wet.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: radial-gradient(circle at 50% 30%, #e6b45c 0 6%, #3a3020 30%, #0d1113 70%)" aria-hidden="true"></div>
<figcaption>
<h3>The light</h3>
<p>An hour away, for most of an hour.</p>
</figcaption>
</figure>
</div>
</section>
<section class="kit" id="kit" aria-labelledby="kit-title">
<h2 id="kit-title" class="reveal">What we carried</h2>
<ul>
<li class="reveal"><b>Boots</b> worn in for a month before</li>
<li class="reveal"><b>A paper map</b> because the signal gave up first</li>
<li class="reveal"><b>Two layers</b> and one that kept the rain out</li>
<li class="reveal"><b>A flask</b> refilled at every café that was open</li>
</ul>
</section>
<section class="figures" aria-label="The walk in figures">
<div class="reveal"><b>5</b><span>days on foot</span></div>
<div class="reveal"><b>1</b><span>coast, followed north</span></div>
<div class="reveal"><b>0</b><span>shortcuts taken</span></div>
</section>
<section class="more" id="more" aria-labelledby="more-title">
<h2 id="more-title" class="reveal">Read next</h2>
<div class="cards">
<article class="card reveal">
<div class="card-art a"></div>
<p class="day-n">Essay</p>
<h3>Islands in winter</h3>
<p>Three crossings in the season the ferries would rather skip.</p>
</article>
<article class="card reveal">
<div class="card-art b"></div>
<p class="day-n">Field notes</p>
<h3>A week of fog</h3>
<p>What a coast sounds like when you cannot see it.</p>
</article>
<article class="card reveal">
<div class="card-art c"></div>
<p class="day-n">Guide</p>
<h3>Packing light, properly</h3>
<p>Everything we took, and the half we should have left.</p>
</article>
</div>
</section>
<!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
<section class="kit-section kit-feed" id="stories" aria-labelledby="stories-title">
<div class="kit-head"><h2 id="stories-title" class="kit-reveal">More from North</h2></div>
<ul class="kit-list" aria-live="polite">
<li>
<span class="kit-tag">Essay</span>
<p><b>The ferry that waits</b>On a timetable that bends to the weather.</p>
</li>
<li>
<span class="kit-tag">Field notes</span>
<p><b>Counting lighthouses</b>Seven in five days, if you count the broken one.</p>
</li>
<li>
<span class="kit-tag">Guide</span>
<p><b>Walking in rain</b>What keeps you dry, and what only feels like it does.</p>
</li>
</ul>
<template
><li>
<span class="kit-tag">Essay</span>
<p><b>Harbour mornings</b>Before the cafés open, the coast belongs to the gulls.</p>
</li>
<li>
<span class="kit-tag">Field notes</span>
<p><b>A map in pencil</b>Why we stopped trusting the blue dot.</p>
</li>
<li>
<span class="kit-tag">Guide</span>
<p><b>Boots, properly</b>A month of wearing them in, and why it matters.</p>
</li>
<li>
<span class="kit-tag">Essay</span>
<p><b>The long way</b>On choosing the slower path on purpose.</p>
</li>
<li>
<span class="kit-tag">Field notes</span>
<p><b>Salt</b>It gets into everything, including the notebook.</p>
</li>
<li>
<span class="kit-tag">Guide</span>
<p><b>Coming home</b>How to carry a coast back with you.</p>
</li></template
>
<div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
</section>
<section class="letter" aria-labelledby="letter-title">
<h2 id="letter-title" class="reveal">The next story, by email</h2>
<p class="reveal">One long read a month. Nothing in between.</p>
<a class="btn reveal" href="mailto:north@example.com?subject=The%20next%20story">Send me the next one</a>
</section>
</main>
<footer class="foot">
<p class="mast-name">North</p>
<nav aria-label="Footer">
<a href="#story">Story</a>
<a href="#route">Route</a>
<a href="#kit">Kit</a>
<a href="#top">Back to top</a>
</nav>
<p class="end">A fictional magazine and story, written for the Scrollcraft tutorial.</p>
</footer>
<script src="app.js"></script>
</body>
</html>
The brief
A magazine wants a travel story where readers follow the route as they read. The text comes first; the map supports it and must never get in the way on a phone.
Techniques used
A cover drawn as a landscape in four SVG layers (sky and moon, far hills, a headland with a lighthouse, near cliffs) with parallax (technique 7). Paragraphs that arrive once (technique 3). Scrollytelling with a pinned map (technique 9): the route is drawn with stroke-dashoffset, a walker stands at the tip of the drawn line, and the page’s light shifts from dusk to night to dawn as the days change. A reading progress bar.
Why it feels cinematic
The text stays calm and readable, set in a serif at a comfortable measure. All the motion sits in the margin: the map draws as the reader moves, so the story and the route keep the same pace. The map says it is drawn for illustration, so nobody reads it as real data.
Prompts to rebuild it
Build an editorial long-read about [subject], for [audience], ending with [one action]. Plain HTML, CSS and JavaScript in three files, no libraries. A full-screen cover with three parallax layers, a serif body at about 65 characters per line, and a section where an SVG map stays pinned on the left while five short chapters scroll on the right. Draw the route with stroke-dashoffset from scroll progress and light each stop as its chapter crosses the middle of the screen. Write the CSS mobile first: phone layout as the base, wider screens added with min-width queries.On phones put the map above the text, smaller, and keep each chapter tall enough to read. Under prefers-reduced-motion draw the whole route at once and switch off the parallax. Label the map as illustrative unless I give you real coordinates.Draw your own route
Draw the path in any vector editor, export it as SVG and copy its d attribute. The script measures it, so any shape works:
const route = document.querySelector('.route');
const length = route.getTotalLength();
route.style.strokeDasharray = length;
// on scroll, with p from 0 to 1:
route.style.strokeDashoffset = length * (1 - p);Portfolio-ready
Tick each one as your version meets it. The ticks stay in this browser.
0 of 7 criteria met
05 · Agency case study
Halden StudioA case study for a fictional studio that redesigned a ferry line. Built with GSAP: a process told in a pinned section, a route drawn as you scroll, and the work shown in a strip that moves sideways.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Halden Studio · Tidewater, a case study</title>
<meta name="description" content="A fictional design studio case study, built for the Scrollcraft tutorial." />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- the film layer: letterbox bars for the signature moment, and grain -->
<div class="bars" aria-hidden="true"><i></i><i></i></div>
<div class="grain" aria-hidden="true"></div>
<div class="progress" aria-hidden="true"></div>
<div class="cursor" aria-hidden="true"></div>
<header class="nav">
<a class="brand" href="#top">Halden</a>
<nav class="links" aria-label="Sections">
<a href="#process">Process</a>
<a href="#route-title">Idea</a>
<a href="#work-title">Work</a>
<a href="#outcome">Outcome</a>
</nav>
<a class="contact-link" href="#contact">Start a project</a>
</header>
<main id="top">
<section class="hero">
<!-- the sea chart: contour lines drawn on a canvas; the tide rises as you scroll and the water answers the pointer -->
<canvas class="tide" aria-hidden="true"></canvas>
<p class="kicker">Case study · Tidewater ferries</p>
<h1 class="title">A ferry line that reads like the coast it serves.</h1>
<!-- the studio's one idea, drawn under the headline: the line between land and water -->
<svg class="horizon" viewBox="0 0 1200 60" preserveAspectRatio="none" aria-hidden="true">
<path d="M0 40 C 150 40, 220 14, 380 18 S 640 46, 820 30 S 1060 8, 1200 20" />
</svg>
<dl class="meta">
<div>
<dt>Scope</dt>
<dd>Identity, wayfinding, motion</dd>
</div>
<div>
<dt>Team</dt>
<dd>Strategy, design, engineering</dd>
</div>
</dl>
</section>
<!-- process: pinned while three steps hand over; without motion they are a plain list -->
<section class="process" id="process" aria-label="Process" data-tint="#061217">
<div class="process-bar" aria-hidden="true"><i></i></div>
<div class="big-num" aria-hidden="true"><span>01</span><span>02</span><span>03</span></div>
<article class="step">
<span class="num">01</span>
<h2>Listen</h2>
<p>Two weeks on the boats, with the crews and the people who ride them every day.</p>
</article>
<article class="step">
<span class="num">02</span>
<h2>Reduce</h2>
<p>One idea: the line between land and water, drawn once and used everywhere.</p>
</article>
<article class="step">
<span class="num">03</span>
<h2>Move</h2>
<p>Motion rules, so screens, signs and tickets all behave the same way.</p>
</article>
</section>
<!-- the route draws itself as you scroll, and each stop lights up when the line reaches it -->
<section class="route" aria-labelledby="route-title" data-tint="#05101a">
<div class="route-pin">
<h2 id="route-title">One line, drawn once.</h2>
<svg viewBox="0 0 400 230" role="img" aria-label="The ferry route, from the harbour past the lighthouse to the islands">
<defs>
<pattern id="swell" width="14" height="8" patternUnits="userSpaceOnUse">
<path d="M0 6 Q 3.5 3, 7 6 T 14 6" class="swell" />
</pattern>
</defs>
<rect class="sea" width="400" height="230" fill="url(#swell)" />
<!-- a channel between two coasts, and two islands at the far end -->
<path class="land" d="M0 0 H 330 C 300 20, 262 36, 230 48 S 160 84, 120 102 S 50 150, 0 168 Z" />
<path class="land" d="M400 230 H 64 C 110 196, 170 172, 226 152 S 330 116, 400 104 Z" />
<path class="coast" d="M330 0 C 300 20, 262 36, 230 48 S 160 84, 120 102 S 50 150, 0 168" />
<path class="coast" d="M64 230 C 110 196, 170 172, 226 152 S 330 116, 400 104" />
<path class="contour" d="M290 0 C 262 16, 228 28, 200 40 S 136 72, 100 88 S 40 126, 0 140" />
<path class="contour" d="M110 230 C 150 206, 200 188, 250 172 S 340 142, 400 134" />
<path class="land island" d="M364 40 C 370 24, 392 20, 400 26 V 62 C 388 66, 360 58, 364 40 Z" />
<path class="land island" d="M318 92 C 322 84, 338 82, 344 88 C 348 96, 336 102, 326 100 C 320 99, 316 97, 318 92 Z" />
<path class="route-ghost" d="M20 200 C 70 200, 100 130, 160 125 S 260 80, 300 70 S 360 40, 380 28" />
<path class="route-wake" d="M20 200 C 70 200, 100 130, 160 125 S 260 80, 300 70 S 360 40, 380 28" />
<path class="route-line" d="M20 200 C 70 200, 100 130, 160 125 S 260 80, 300 70 S 360 40, 380 28" />
<circle class="stop" cx="20" cy="200" r="5" />
<circle class="stop" cx="160" cy="125" r="5" />
<circle class="stop" cx="380" cy="28" r="5" />
<!-- the lighthouse beam, and the ferry that follows the line -->
<path class="beam" d="M166 119 L 230 92 L 226 82 Z" />
<g class="boat" transform="translate(380 28) rotate(-28)">
<path d="M-9 -3 H 6 L 10 0 L 6 3 H -9 Z" />
<rect x="-5" y="-1.6" width="7" height="3.2" rx="1" class="cabin" />
</g>
</svg>
<ol class="stops">
<li>Harbour</li>
<li>Lighthouse</li>
<li>Islands</li>
</ol>
</div>
</section>
<!-- deliverables: a strip that moves sideways while you scroll down; without motion, a grid -->
<section class="work" aria-labelledby="work-title" data-tint="#0a0b0f">
<div class="work-pin">
<h2 id="work-title">What we made</h2>
<div class="work-track">
<figure class="tile">
<div class="art a1"></div>
<figcaption>Signs for every pier</figcaption>
</figure>
<figure class="tile">
<div class="art a2"></div>
<figcaption>Timetables you can read in the rain</figcaption>
</figure>
<figure class="tile">
<div class="art a3"></div>
<figcaption>Tickets that fold into a map</figcaption>
</figure>
<figure class="tile">
<div class="art a4"></div>
<figcaption>Screens on board</figcaption>
</figure>
<figure class="tile">
<div class="art a5"></div>
<figcaption>A livery for the boats</figcaption>
</figure>
</div>
</div>
</section>
<!-- what changed: three short statements, then the brief in the client's words -->
<section class="outcome" id="outcome" aria-labelledby="outcome-title" data-tint="#06080a">
<h2 id="outcome-title" class="rise">What changed</h2>
<ol class="outcomes">
<li class="rise"><span>01</span><b>One system</b> for signs, screens, tickets and boats, where there had been four.</li>
<li class="rise"><span>02</span><b>Timetables</b> set large enough to read from the back of a queue.</li>
<li class="rise"><span>03</span><b>A line</b> that passengers now draw on postcards without being asked.</li>
</ol>
<blockquote class="brief rise">
<p>“We asked for a new logo. We got a way of explaining the islands.”</p>
<footer>The client, in the fictional brief</footer>
</blockquote>
</section>
<section class="services" aria-labelledby="services-title">
<h2 id="services-title" class="rise">What we do</h2>
<ul>
<li class="rise">Identity</li>
<li class="rise">Wayfinding</li>
<li class="rise">Digital products</li>
<li class="rise">Motion systems</li>
</ul>
</section>
<!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
<section class="kit-section kit-zoomer" id="livery" aria-labelledby="livery-title">
<div class="kit-head"><h2 id="livery-title" class="kit-reveal">The livery, up close</h2></div>
<figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
<svg viewBox="0 0 1050 450" preserveAspectRatio="xMidYMid slice" aria-hidden="true">
<rect width="1050" height="450" fill="#0d1418" />
<path d="M80 300 H 900 L 980 250 H 140 Z" fill="#eef1f2" />
<path d="M80 300 H 900 L 980 250 L 990 270 L 910 330 H 100 Z" fill="#1e2428" />
<path d="M120 285 C 300 270, 420 300, 600 280 S 860 262, 960 262" fill="none" stroke="#4fd1c5" stroke-width="5" />
<rect x="420" y="190" width="260" height="60" rx="6" fill="#eef1f2" />
<rect x="440" y="205" width="220" height="18" fill="#0d1418" />
<path d="M0 360 C 120 350, 240 372, 360 360 S 620 350, 760 362 S 960 370, 1050 360" fill="none" stroke="#12202a" stroke-width="3" />
</svg>
</figure>
<p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
The line runs the length of every boat, at the height of the water it crosses.
</p>
</section>
<!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
<section class="kit-section kit-carousel" id="other" aria-labelledby="other-title">
<div class="kit-head">
<h2 id="other-title" class="kit-reveal">Other work</h2>
<div class="kit-buttons">
<button type="button" data-dir="-1" aria-label="Previous project">←</button><button type="button" data-dir="1" aria-label="Next project">→</button>
</div>
</div>
<div class="kit-track" tabindex="0" role="region" aria-label="Other work">
<figure class="kit-card">
<div class="kit-art" style="background: linear-gradient(90deg, #0d1418 0 40%, #4fd1c533 40% 55%, #0d1418 55%)" aria-hidden="true"></div>
<figcaption>
<h3>Northgate Library</h3>
<p>Seven entrances, one way of finding your way.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: radial-gradient(circle at 30% 70%, #4fd1c544, transparent 50%), #0b1114" aria-hidden="true"></div>
<figcaption>
<h3>Harbour Market</h3>
<p>Stalls, signs and a map on the floor.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: repeating-linear-gradient(0deg, #12202a 0 14px, #0b1114 14px 28px)" aria-hidden="true"></div>
<figcaption>
<h3>Coastal Rail</h3>
<p>Timetables that fit on a ticket.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: conic-gradient(from 0deg at 50% 50%, #4fd1c533, #0b1114 40%)" aria-hidden="true"></div>
<figcaption>
<h3>Island Radio</h3>
<p>A sound and a mark for a small station.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div class="kit-art" style="background: linear-gradient(160deg, #1b2a36, #06080a 70%)" aria-hidden="true"></div>
<figcaption>
<h3>Pier Theatre</h3>
<p>Posters for a season by the sea.</p>
</figcaption>
</figure>
</div>
</section>
<!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
<section class="kit-section kit-feed" id="journal" aria-labelledby="journal-title">
<div class="kit-head"><h2 id="journal-title" class="kit-reveal">Studio journal</h2></div>
<ul class="kit-list" aria-live="polite">
<li>
<span class="kit-tag">Note</span>
<p><b>Drawing with water</b>Why the Tidewater line wobbles on purpose.</p>
</li>
<li>
<span class="kit-tag">Talk</span>
<p><b>Motion for signs</b>Can a printed sign move? Ours pretend to.</p>
</li>
<li>
<span class="kit-tag">Note</span>
<p><b>The rain test</b>Every timetable is read from three metres in a shower.</p>
</li>
</ul>
<template
><li>
<span class="kit-tag">Note</span>
<p><b>One accent colour</b>And what we say when asked for a second.</p>
</li>
<li>
<span class="kit-tag">Talk</span>
<p><b>Wayfinding is writing</b>The best sign is a short sentence.</p>
</li>
<li>
<span class="kit-tag">Note</span>
<p><b>Postcards</b>Passengers drew the line. We did not ask them to.</p>
</li>
<li>
<span class="kit-tag">Note</span>
<p><b>Night ferries</b>How the line works when the sea is black.</p>
</li>
<li>
<span class="kit-tag">Talk</span>
<p><b>Small studios, big systems</b>Five people, four hundred signs.</p>
</li>
<li>
<span class="kit-tag">Note</span>
<p><b>Starting again</b>What we keep from every project, and what we throw away.</p>
</li></template
>
<div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
</section>
<!-- the next case study, as a teaser -->
<section class="next" aria-labelledby="next-title">
<p class="kicker">Next case study</p>
<h2 id="next-title" class="rise">Northgate Library</h2>
<p class="rise">Wayfinding for a building with seven entrances and no front door.</p>
<div class="next-art rise" aria-hidden="true"></div>
</section>
<section class="contact" id="contact">
<h2 class="end">Have a line to draw?</h2>
<svg class="underline" viewBox="0 0 600 30" preserveAspectRatio="none" aria-hidden="true">
<path d="M4 20 C 120 6, 220 26, 330 16 S 520 6, 596 14" />
</svg>
<a class="btn" href="#top">Start a project</a>
</section>
</main>
<footer class="foot">
<div class="foot-cols">
<p class="brand">Halden</p>
<ul>
<li><a href="#process">Process</a></li>
<li><a href="#work-title">Work</a></li>
<li><a href="#outcome">Outcome</a></li>
</ul>
<ul>
<li><a href="mailto:studio@example.com">studio@example.com</a></li>
<li><a href="#top">Back to top</a></li>
</ul>
</div>
<p class="foot-note">A fictional studio and client, built for the Scrollcraft tutorial.</p>
</footer>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/ScrollTrigger.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/SplitText.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/DrawSVGPlugin.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.1/dist/MotionPathPlugin.min.js"></script>
<script src="app.js"></script>
</body>
</html>
The brief
A studio wants one case study that shows how it thinks, not only what it made: the problem, the process, the idea and the work, ending with a way to start a project. It will be sent to clients, so it has to feel finished on any screen.
Techniques used
Headline split into its real lines with SplitText, each rising out of a mask, with the studio’s line drawn under it (GSAP, techniques 4 and 5). A pinned process timeline where each step leaves before the next arrives, while a huge outlined number rolls to the next (techniques 1 and 3). A sea chart where one timeline draws the route and its wake, sails the ferry along it with MotionPathPlugin, sweeps the lighthouse beam and lights each stop. A pinned strip that moves sideways by exactly its overflow, leans with the scroll speed, and lets each artwork drift inside its frame. Everything is created inside gsap.matchMedia.
Why it feels cinematic
One idea carries the page: the line between the islands. It is drawn once, at the reader’s pace, and every stop it reaches lights up in the accent colour. The process holds the screen while it changes, like a cut between three shots, and the strip of work moves sideways, a turn that tells the reader the story has ended and the results have started.
Prompts to rebuild it
Build a one-page case study for [subject], for [audience], ending with [one action]. HTML, CSS and JavaScript in three files, with GSAP, ScrollTrigger, SplitText, DrawSVGPlugin and MotionPathPlugin from jsDelivr. Sections: a headline split into lines that rise out of a mask, with one hand-drawn line drawn under it; a pinned process of three steps where each fades out before the next arrives while a huge outlined step number rolls to the next; an SVG chart of the route where one scrubbed timeline draws the line and a soft wake, moves a small vessel along it with autoRotate and lights each stop as the line reaches it; a pinned strip of five pieces of work moving sideways that leans with the scroll speed; and a contact link underlined by the same line. Dark background, one accent colour.Put every scroll effect inside gsap.matchMedia with (prefers-reduced-motion: no-preference), and add the class that switches on the pinned layout inside it too. The default CSS must be the plain document: steps one under another, the route fully drawn with every stop lit, the work as a grid. Run SplitText after document.fonts.ready with autoSplit, so lines are measured in the real font.Check it at 375, 768 and 1440 px, with and without reduced motion, and switch reduced motion on while the page is open: every pin must go and the plain layout must come back. Tell me what you could not test.Use your own route
Draw the line in a vector editor, keep its d attribute, and place a circle on it for each stop. The script finds where each stop sits along the line, so it lights at the right moment for any shape:
const at = stops.map((s) => {
const x = +s.getAttribute('cx'), y = +s.getAttribute('cy');
let best = 0, min = Infinity;
for (let i = 0; i <= 200; i++) {
const p = line.getPointAtLength((i / 200) * length);
const d = (p.x - x) ** 2 + (p.y - y) ** 2;
if (d < min) [min, best] = [d, i / 200];
}
return best; // 0 to 1 along the line
});Portfolio-ready
Tick each one as your version meets it. The ticks stay in this browser.
0 of 7 criteria met
06 · Product showcase in WebGL
Atelier SoraA product page for a fictional ceramics studio. One three.js vase behind the page turns as you scroll, and the glaze can be changed. Without WebGL, a drawing stands in.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Sora · a stoneware vase, thrown by hand</title>
<meta name="description" content="A fictional product landing page in WebGL, built for the Scrollcraft tutorial." />
<link rel="stylesheet" href="style.css" />
<script type="importmap">
{ "imports": { "three": "https://cdn.jsdelivr.net/npm/three@0.187.0/build/three.module.js" } }
</script>
</head>
<body>
<a class="skip" href="#making">Skip to the story</a>
<header class="nav">
<a class="brand" href="#top">Sora</a>
<nav class="links" aria-label="Sections">
<a href="#making">Making</a>
<a href="#glazes">Glazes</a>
<a href="#details">Details</a>
<a href="#studio">Studio</a>
</nav>
<a class="buy" href="#order">Order</a>
</header>
<!-- the scene: one three.js canvas behind the whole page; a drawing stands in when WebGL is missing -->
<canvas class="stage" aria-hidden="true"></canvas>
<div class="heat" aria-hidden="true"></div>
<!-- film: letterbox bars that close in while the story plays, and a fine grain over everything -->
<div class="bars" aria-hidden="true"><i></i><i></i></div>
<div class="grain" aria-hidden="true"></div>
<div class="progress" aria-hidden="true"></div>
<svg class="fallback" viewBox="0 0 120 200" aria-hidden="true">
<ellipse class="fb-shadow" cx="60" cy="196" rx="46" ry="4" />
<path d="M38 196 H82 Q90 196 92 186 Q104 130 98 96 Q92 64 74 46 Q70 30 72 6 H48 Q50 30 46 46 Q28 64 22 96 Q16 130 28 186 Q30 196 38 196 Z" />
</svg>
<!-- where the piece is in the making; the chapter being read is lit -->
<nav class="steps" aria-label="Chapters">
<ol>
<li>
<a href="#clay"><span>01</span> Clay</a>
</li>
<li>
<a href="#thrown"><span>02</span> Thrown</a>
</li>
<li>
<a href="#trimmed"><span>03</span> Trimmed</a>
</li>
<li>
<a href="#fired"><span>04</span> Fired</a>
</li>
<li>
<a href="#glazed"><span>05</span> Glazed</a>
</li>
</ol>
</nav>
<main id="top">
<section class="scene hero" data-stage="0">
<p class="kicker reveal">Atelier Sora · Stoneware</p>
<h1 class="mega">
<span class="ln"><span>Thrown</span></span>
<span class="ln"
><span>by <em>hand.</em></span></span
>
</h1>
<p class="lede reveal">One vase, made from a single piece of clay. Scroll, and watch it being made.</p>
<p class="cue" aria-hidden="true"><i></i>Scroll</p>
</section>
<div id="making">
<section class="scene chapter" id="clay" data-stage="1" data-side="left">
<p class="big-n" aria-hidden="true">01</p>
<h2>
<span class="ln"><span>A lump of</span></span
><span class="ln"><span>wet clay.</span></span>
</h2>
<p class="reveal">Every Sora starts the same way: one weighed piece of stoneware, wedged by hand until there is no air left in it.</p>
</section>
<section class="scene chapter" id="thrown" data-stage="2" data-side="right">
<p class="big-n" aria-hidden="true">02</p>
<h2>
<span class="ln"><span>Pulled up</span></span
><span class="ln"><span>on the wheel.</span></span>
</h2>
<p class="reveal">Opened, then raised in three pulls. The rings a potter’s fingers leave stay until the wall is smoothed.</p>
</section>
<section class="scene chapter" id="trimmed" data-stage="3" data-side="left">
<p class="big-n" aria-hidden="true">03</p>
<h2>
<span class="ln"><span>Trimmed a</span></span
><span class="ln"><span>day later.</span></span>
</h2>
<p class="reveal">When the clay is leather-hard, the foot is cut. The vase sits lower, lighter and steady.</p>
</section>
<section class="scene chapter" id="fired" data-stage="4" data-side="right">
<p class="big-n" aria-hidden="true">04</p>
<h2>
<span class="ln"><span>Fired</span></span
><span class="ln"><span>until it glows.</span></span>
</h2>
<p class="reveal">Twice through the kiln. The second firing is hot enough to turn clay into stone.</p>
</section>
<section class="scene chapter" id="glazed" data-stage="5" data-side="left">
<p class="big-n" aria-hidden="true">05</p>
<h2>
<span class="ln"><span>Dipped</span></span
><span class="ln"><span>in glaze.</span></span>
</h2>
<p class="reveal">Held by the foot and dipped once. Where the glaze stops, the bare clay shows: no two lines are alike.</p>
</section>
</div>
<section class="scene glazes" id="glazes" data-stage="6">
<h2 class="reveal">Two glazes</h2>
<p class="reveal">Choose one. The vase changes with you.</p>
<div class="swatches" role="group" aria-label="Glaze">
<button type="button" data-glaze="celadon" aria-pressed="true"><i></i><span>Celadon</span><small>Pale green, glassy</small></button>
<button type="button" data-glaze="tenmoku" aria-pressed="false"><i></i><span>Tenmoku</span><small>Dark iron, glossy</small></button>
</div>
</section>
<!-- zoom on scroll: the picture settles into its frame as the frame crosses the screen -->
<section class="kit-section kit-zoomer sheet" data-stage="7" id="close" aria-labelledby="close-title">
<div class="kit-head"><h2 id="close-title" class="kit-reveal">Up close</h2></div>
<figure class="kit-zoom" style="aspect-ratio: 21 / 9; margin: 0">
<div
style="
background:
radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.35), transparent 30%),
radial-gradient(#2d3a30 1px, transparent 1.8px) 0 0 / 22px 26px,
radial-gradient(#3a4a3c 1.2px, transparent 2px) 9px 13px / 31px 23px,
linear-gradient(170deg, #b4cdb8, #8fae97 60%, #d9c6a8 61%, #cdb796);
"
></div>
</figure>
<p class="kit-reveal" style="margin-top: 18px; max-width: 46ch; color: var(--muted)">
Iron in the clay rises through the glaze in the kiln and leaves these dark specks. No two pieces have the same pattern.
</p>
</section>
<!-- horizontal scroll with snap: a native track that settles on a card; the buttons step through it -->
<section class="kit-section kit-carousel sheet" data-stage="7" id="batches" aria-labelledby="batches-title">
<div class="kit-head">
<h2 id="batches-title" class="kit-reveal">Past batches</h2>
<div class="kit-buttons">
<button type="button" data-dir="-1" aria-label="Previous batch">←</button><button type="button" data-dir="1" aria-label="Next batch">→</button>
</div>
</div>
<div class="kit-track" tabindex="0" role="region" aria-label="Past batches">
<figure class="kit-card">
<div
class="kit-art"
style="
background:
radial-gradient(ellipse 34% 40% at 50% 58%, #9fbfa8 0 98%, transparent 100%),
radial-gradient(ellipse 12% 6% at 50% 20%, #9fbfa8 0 98%, transparent 100%),
linear-gradient(90deg, transparent 44%, #9fbfa8 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
#15110d;
"
aria-hidden="true"
></div>
<figcaption>
<h3>Batch 14</h3>
<p>Celadon, a little greener than usual.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="
background:
radial-gradient(ellipse 34% 40% at 50% 58%, #4a2d1c 0 98%, transparent 100%),
radial-gradient(ellipse 12% 6% at 50% 20%, #4a2d1c 0 98%, transparent 100%),
linear-gradient(90deg, transparent 44%, #4a2d1c 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
#15110d;
"
aria-hidden="true"
></div>
<figcaption>
<h3>Batch 13</h3>
<p>Tenmoku, glossy, with rust at the lip.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="
background:
radial-gradient(ellipse 34% 40% at 50% 58%, #b9cdb6 0 98%, transparent 100%),
radial-gradient(ellipse 12% 6% at 50% 20%, #b9cdb6 0 98%, transparent 100%),
linear-gradient(90deg, transparent 44%, #b9cdb6 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
#15110d;
"
aria-hidden="true"
></div>
<figcaption>
<h3>Batch 12</h3>
<p>Celadon, thin, the clay shows through.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="
background:
radial-gradient(ellipse 34% 40% at 50% 58%, #2f1d12 0 98%, transparent 100%),
radial-gradient(ellipse 12% 6% at 50% 20%, #2f1d12 0 98%, transparent 100%),
linear-gradient(90deg, transparent 44%, #2f1d12 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
#15110d;
"
aria-hidden="true"
></div>
<figcaption>
<h3>Batch 11</h3>
<p>Tenmoku, dipped twice.</p>
</figcaption>
</figure>
<figure class="kit-card">
<div
class="kit-art"
style="
background:
radial-gradient(ellipse 34% 40% at 50% 58%, #d6c2a6 0 98%, transparent 100%),
radial-gradient(ellipse 12% 6% at 50% 20%, #d6c2a6 0 98%, transparent 100%),
linear-gradient(90deg, transparent 44%, #d6c2a6 44% 56%, transparent 56%) 0 0 / 100% 42% no-repeat,
#15110d;
"
aria-hidden="true"
></div>
<figcaption>
<h3>Batch 10</h3>
<p>The first batch with a trimmed foot.</p>
</figcaption>
</figure>
</div>
</section>
<!-- infinite scroll: more entries arrive as the end of the list comes near; the button does it for keyboards -->
<section class="kit-section kit-feed sheet" data-stage="7" id="kiln" aria-labelledby="kiln-title">
<div class="kit-head"><h2 id="kiln-title" class="kit-reveal">Notes from the kiln</h2></div>
<ul class="kit-list" aria-live="polite">
<li>
<span class="kit-tag">Firing 42</span>
<p><b>A slow cool</b>We left the kiln shut a day longer. The celadon came out clearer.</p>
</li>
<li>
<span class="kit-tag">Firing 41</span>
<p><b>Two cracked</b>The clay was too wet at trimming. Back to the wheel.</p>
</li>
<li>
<span class="kit-tag">Firing 40</span>
<p><b>Tenmoku test</b>More iron, and the edge of the glaze turned rust.</p>
</li>
</ul>
<template
><li>
<span class="kit-tag">Firing 39</span>
<p><b>A new shelf</b>Twelve vases fit now, if nobody breathes.</p>
</li>
<li>
<span class="kit-tag">Firing 38</span>
<p><b>The foot</b>Trimmed a little deeper, and the vase sits lower.</p>
</li>
<li>
<span class="kit-tag">Firing 37</span>
<p><b>Dipping by hand</b>Every glaze line is different, which is the point.</p>
</li>
<li>
<span class="kit-tag">Firing 36</span>
<p><b>Bisque</b>The first firing, to make the clay strong enough to glaze.</p>
</li>
<li>
<span class="kit-tag">Firing 35</span>
<p><b>Clay</b>A new stoneware, with more iron in it.</p>
</li>
<li>
<span class="kit-tag">Firing 34</span>
<p><b>The shape</b>One vase, the same shape, made again and again.</p>
</li></template
>
<div class="kit-end"><button type="button" class="kit-more">Load more</button><span class="kit-status" role="status">3 shown</span></div>
</section>
<section class="sheet details" id="details" data-stage="7">
<h2 class="reveal">Details</h2>
<dl class="specs">
<div class="reveal">
<dt>Height</dt>
<dd>24 cm</dd>
</div>
<div class="reveal">
<dt>Widest</dt>
<dd>17 cm</dd>
</div>
<div class="reveal">
<dt>Clay</dt>
<dd>Stoneware, fired twice</dd>
</div>
<div class="reveal">
<dt>Inside</dt>
<dd>Glazed, holds water</dd>
</div>
</dl>
</section>
<section class="sheet studio" id="studio" data-stage="7">
<p class="kicker reveal">The studio</p>
<p class="quote reveal">We make one shape, in small batches, and keep changing it a little. The vase you get is the one we made that week.</p>
<ul class="facts">
<li class="reveal"><b>One</b> shape, made by hand</li>
<li class="reveal"><b>Two</b> firings in the kiln</li>
<li class="reveal"><b>Small</b> batches, no two alike</li>
</ul>
</section>
<section class="sheet order" id="order" data-stage="7">
<h2 class="reveal">Sora vase</h2>
<p class="reveal">Made in small batches. Tell us your glaze and we will write when the next batch is out of the kiln.</p>
<a class="btn" href="mailto:studio@example.com?subject=Sora%20vase">Join the next batch</a>
</section>
</main>
<footer class="foot">
<p>Sora · a fictional atelier, built for the Scrollcraft tutorial.</p>
<a href="#top">Back to top</a>
</footer>
<script type="module" src="app.js"></script>
</body>
</html>
The brief
A ceramics studio sells one vase in two glazes and wants people to see its form from every side before they order. Most visitors come from Instagram on a phone, so it has to load fast and look right on a small screen.
Techniques used
A three.js scene behind the page (WebGL, scene 1) where the scroll makes the vase: four profile curves with the same number of points are blended, so a lump of wet clay is thrown up on the wheel with the rings fingers leave, then trimmed with a foot. One material is clay below a glaze line and glaze above it, with a wavering edge and iron speckles, written into MeshStandardMaterial with onBeforeCompile; the line falls as if the piece were dipped. The wheel drops away and the camera comes round to a three-quarter view. It renders on demand with the pixel ratio capped at 2 (Keep it fast), and a steps rail shows where you are in the making.
Why it feels cinematic
The object is the only thing that moves, and it moves only when you do. Warm light from one side and a cool rim from behind give it a studio look without any texture. The cards are quiet and short, so the vase has the screen.
Prompts to rebuild it
Build a product page for [subject], for [audience], ending with [one action]. HTML, CSS and JavaScript in three files, with three.js loaded from jsDelivr through an import map. One fixed canvas behind five short sections that tell how the product is made. Make the product from profile curves with the same number of points (raw material, first shape, finished shape, finished with a foot), build one LatheGeometry and rewrite its positions to blend between them as the reader moves between sections, recomputing normals. Use one MeshStandardMaterial with onBeforeCompile for a finish that covers the piece above a line, with a wavering edge, and lower that line with the scroll. Light it with a hemisphere light, a warm key and a cool rim. On phones put it in the top half, above the text; on wide screens, beside it.Render on demand: one requestAnimationFrame queued on scroll and resize, never a loop. Cap the pixel ratio at 2. Create the renderer in a try block and show an SVG drawing of the product if it fails. Add two colour buttons with aria-pressed that change the material and the drawing.Under prefers-reduced-motion keep the product in one pose and change colour at once. Check it at 375, 768 and 1440 px and with WebGL turned off, and tell me what you could not test.Use a real model
With a model from a 3D artist or a scan, export it as glTF, compress it, and load it in place of the lathe. Keep render on demand: draw once when it arrives.
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
new GLTFLoader().load('vase.glb', (gltf) => {
group.remove(piece);
group.add(gltf.scene);
queue(); // draw once, now that it is here
});Portfolio-ready
Tick each one as your version meets it. The ticks stay in this browser.
0 of 7 criteria met
07 · Every technique, in every project
Where to lookAll five projects use the same scroll vocabulary, each in its own voice. This is where each technique lives, so you can open the file and read it.
| Technique | Orbit One | Field Studio | The Long Way North | Halden Studio | Atelier Sora |
|---|---|---|---|---|---|
| Sticky positioning | The turning speaker; the tour device | The pinned process strip; the statement | The map beside the days | Process and route, pinned by GSAP | The canvas behind the page; the chapters rail |
| Scroll snap | “Where it fits” carousel | “Journal” carousel | “From the notebook” carousel | “Other work” carousel | “Past batches” carousel |
| Scroll triggered | Headline lines; reveals | Clip reveals; reveals | Paragraphs that arrive once | ScrollTrigger.batch for the closing sections | Lines and paragraphs, once |
| Infinite scroll | “From the workshop” | “Archive” | “More from North” | “Studio journal” | “Notes from the kiln” |
| Scroll driven | Frame scrub, progress bar | Strip position, progress line | Route drawing, progress bar | Scrubbed timelines, progress bar | The whole film, progress bar |
| Zoom on scroll | “Made for the middle of the room” | Counter-zoom inside each project | “Day three, from the top” | “The livery, up close” | “Up close”, and the camera |
| Parallax | Feature numbers drift slower | Artwork layers by depth | The four-layer cover | The title and its line | Chapter numbers and headings |
| Horizontal scroll | The rooms carousel | The pinned process strip | The notebook carousel | The pinned work strip | The batches carousel |
| Scrollytelling | The speaker opens and closes | The words of the statement | The route, day by day | The ferry crossing the chart | Clay to vase, in five chapters |
The film layer
On top of the techniques, every project shares a film layer: a fine grain, a fade up from black as it opens, letterbox bars that close in while the signature moment plays, inertia so the scene glides to a stop, and a small lean towards a fine pointer. All of it switches off under reduced motion, where state changes happen at once.
One loop
A single scroll listener schedules one animation frame, and everything that follows the scroll updates there. Changes that happen once use IntersectionObserver instead. In Halden Studio GSAP’s ticker is that loop, and Atelier Sora draws a frame only when the scroll or the glaze changed.
Readable without the effects
Content is hidden only under a class the script adds (.js, or .animated inside gsap.matchMedia), and every effect has a still version for prefers-reduced-motion. Atelier Sora has a drawing for when WebGL is missing.
Restraint
One typeface, one accent at most, and one idea per screen. The motion is there to pace the reading, not to decorate it.
Mobile first
Each stylesheet starts with the phone: one column, the pinned device or map on top and smaller, and the trigger band moved down into the space left for text. Wider screens add the side-by-side layout in a min-width query, so the phone never inherits a desktop layout it has to undo.
/* phones: the scene on top, the text scrolls under it */
.tour { display: grid; }
.tour-device { position: sticky; top: 60px; height: 46svh; }
/* wider screens add the second column */
@media (min-width: 761px) {
.tour { grid-template-columns: 1fr 1fr; }
.tour-device { top: 0; height: 100svh; }
}09 · Check it automatically
PlaywrightFits every screen, sits still on request
Each portfolio-ready list starts with the same three checks, and the tutorial runs them on all five sites with every change. Run the same test on yours: it scrolls the page at three widths looking for a horizontal scroll, then turns on reduced motion and checks that nothing runs and everything shows. Add the axe check from Testing for contrast.
import { test, expect } from '@playwright/test';
for (const width of [375, 768, 1440]) {
test(`fits at ${width} px`, async ({ page }) => {
await page.setViewportSize({ width, height: 900 });
await page.goto('/');
/* scroll the whole page: pinned sections change the layout as they pass */
const wide = await page.evaluate(async () => {
for (let y = 0; y < document.documentElement.scrollHeight; y += innerHeight / 2) {
scrollTo(0, y);
await new Promise((r) => setTimeout(r, 50));
if (document.documentElement.scrollWidth > innerWidth) return y;
}
return -1;
});
expect(wide).toBe(-1);
});
}
test('reduced motion: nothing moves, everything reads', async ({ page }) => {
await page.emulateMedia({ reducedMotion: 'reduce' });
await page.goto('/');
const running = await page.evaluate(() => document.getAnimations().filter((a) => a.playState === 'running').length);
expect(running).toBe(0);
for (const el of await page.locator('main :is(h1, h2, p)').all()) await expect(el).toBeVisible();
});Practice · Work with AI
The same task in your toolUse the examples as references, not templates: ask the AI to explain a technique from one of them, then adapt it to your own structure.
Open a terminal in the project folder and run claude. Press Shift+Tab until plan mode is on, paste the prompt, read the plan, then approve it. Project rules go in CLAUDE.md.
Learn from an example
Here are the three files of the Field Studio example. List the techniques it uses, where each one lives in the code, and the shared loop that drives them. Then tell me which one would fit the site for [subject] and why.Adapt, do not copy
Read CLAUDE.md. Add the clip-path reveal from the Field Studio example to the image sections of my site, using my existing scroll loop and motion values instead of copying its code. Keep my markup and class names. Show me the plan first.Open a terminal in the project folder and run gemini; the first time, it asks whether you trust the folder, so say yes for your project. Paste the prompt. Gemini CLI asks before it edits a file or runs a command: read each request before you accept it. Project rules go in GEMINI.md.
Learn from an example
Here are the three files of the Field Studio example. List the techniques it uses, where each one lives in the code, and the shared loop that drives them. Then tell me which one would fit the site for [subject] and why.Adapt, do not copy
Read GEMINI.md. Add the clip-path reveal from the Field Studio example to the image sections of my site, using my existing scroll loop and motion values instead of copying its code. Keep my markup and class names. Show me the plan first.Open a terminal in the project folder and run codex, then paste the prompt and approve each change. In the ChatGPT app without Codex, attach the files, paste the prompt and copy the changes back yourself. Project rules go in AGENTS.md.
Learn from an example
Here are the three files of the Field Studio example. List the techniques it uses, where each one lives in the code, and the shared loop that drives them. Then tell me which one would fit the site for [subject] and why.Adapt, do not copy
Read AGENTS.md. Add the clip-path reveal from the Field Studio example to the image sections of my site, using my existing scroll loop and motion values instead of copying its code. Keep my markup and class names. Show me the plan first.Practice · Exercises
Try first, then compareSpot the techniques
Scroll the product launch example and list every technique you notice before reading its breakdown.
Hint: watch the headline, the device, the words and the progress line.
Show the solution
Line-by-line headline reveal over drawn orbits, a frame-sequence scrub that turns, opens into an exploded view and closes on the button, words lit by the scroll, a sticky product tour with a light ring, and a scroll progress line. Compare with “Techniques used”.
The shared loop
Open app.js of the portfolio example. Find the function that runs on scroll and list what it updates.
Hint: look for requestAnimationFrame.
Show the solution
update() runs at most once per frame and updates the clip reveals and the horizontal gallery; the marquee has its own drift loop that stops under reduced motion.
Remove one thing
Pick one example and decide which single effect you would remove to make it calmer. Explain what the page gains.
Hint: restraint is one of the four things all five share.
Show the solution
There is no single right answer. A good one names the effect, the screen it competes on, and what the reader can now notice instead.
Practice · Course project
One site, built across the courseCompare the site for [subject] with the example closest to it, and borrow one idea properly.
- Pick the example closest to your site and run “Learn from an example” with its files.
- Run “Adapt, do not copy” for one technique.
- Replace every placeholder image or frame in your site with real media, compressed.
- Check your site against the four things all five examples share.
- Tick the portfolio-ready list of the closest example against your site, and fix what fails.
Practice · Test it
Check the result- The borrowed technique uses your loop and motion values, not a second loop.
- Your site has no placeholder images or invented text left.
- Every image has a width, a height and alt text, and those below the fold load lazily.
- Side by side with the example, your site is as calm at 375 pixels wide.
Practice · Assessment
Acceptance criteria0 of 5 criteria met