---
title: "The Prompt Behind Purl: Clothes That Weave Themselves as You Scroll, Made With Claude and Higgsfield"
description: "A copy-pasteable prompt for a woven-clothing shop that is one continuous film: a wire grid weaves into a tee, re-weaves into another, then a hoodie, with a red thread on your cursor."
date: "2026-11-24"
type: "prompt"
tags: ["higgsfield", "claude-code", "webgl", "scroll", "seedance", "fashion", "ecommerce"]
output: "/lab/purl"
ogImage: "/lab/purl/og.jpg"
---

Purl is a label of three woven pieces, and its site is one continuous take. You scroll and an open grid of grey threads drops onto an empty hanger, the weft fills it in and a tartan tee closes up. Keep going and the tee lifts off the hanger, floats, and re-weaves itself in indigo. Then the indigo tee grows long sleeves and a hood and becomes a green tartan hoodie, turning slowly in the air, before the camera glides into its frayed hem. A red thread hangs off the first piece and follows your cursor. You can [scroll it at avivashishta.com/lab/purl](/lab/purl).

The reference was a weave test by Harrison Vincent (htapes) made in Cinema 4D: garments growing out of wireframe grids, floating, turning, ending in macro shots of frayed edges. I made the first version of this page as a rib-knit tee on a hanger, and it missed the point of the reference. This version copies the feel, not the frames: woven grids, floating clothes, one garment becoming the next.

<div class="highlight"><p><strong>The short version:</strong> make one still, then make the whole site as one film. The first clip ends on the still; every clip after it is a video extension of the one before, so each seam is the same frame and the clothes can turn into each other without a cut. Then never stop the film: every section plays over moving footage.</p></div>

## The prompt

Paste this into Claude Code with the Higgsfield MCP connected (or the CLI installed).

<div class="promptbox">
  <button class="copybtn" type="button" data-copy>Copy prompt</button>
  <div class="prompt">
<p>Build a single-page, scroll-scrubbed shop for a made-up label called Purl with three woven pieces: The Grid Tee, The Indigo Tee and The Tartan Hood. Generate the still and every clip with Higgsfield. Vanilla JS, hand-written WebGL1, native scroll, no libraries, no build step. Show me the credit cost of each step before you spend it, and run one generation at a time.</p>
<p>STILL (GPT Image 2.6, high, 2K, 16:9): "a short sleeve t-shirt woven from light grey and charcoal yarn in a fine tartan grid, on a pale wooden hanger with a chrome hook, front view, the hem frays into loose threads, pale grey-green seamless backdrop, Cinema 4D style photoreal render, visible plain-weave grid of individual yarns, every fibre visible, soft diffused studio light, the left third of the frame empty, no text, no logo, no people, no body".</p>
<p>CLIP 1 (Seedance 2.5, omni_reference, 1080p, 5s, no audio, the still as end_image only): "camera locked off; an empty wooden hanger; a sparse open grid of thin grey threads appears across it like a wireframe, then the weave densifies row after row until the finished tartan t-shirt hangs there; like spline growth in Cinema 4D; no cuts, no dissolve, no hands".</p>
<p>CLIPS 2 to 4 (Seedance 2.5, mode video_extension, extension_mode forward, the previous clip as video reference, 1080p, 5s, no audio). Start every prompt with "continue the exact same shot with no cut, same camera, same lens". Clip 2: the tee lifts off the hanger, floats and turns to three-quarter view, its weave unravels and re-weaves in indigo, and the backdrop warms to pale greige. Clip 3: the indigo tee re-weaves in green, black and navy tartan, grows long sleeves and then an empty hood, turning slowly. Clip 4: the camera glides into an extreme macro of the frayed hem with a slow rack focus. After each one, measure the seam (mean pixel difference between the previous clip's last frame and this clip's first); about 2 means the same frame.</p>
<p>FRAMES: cut each clip into 121 WebP frames (1600 and 1024 wide). Extensions come back with 120; repeat the last one.</p>
<p>ENGINE: a 1400vh section with a sticky stage and one smoothed progress value. The four clips play back to back, a quarter of the scroll each, one framing throughout. The film never stops: no frozen frames, no zooming a still. Load all frames up front, nearest stretch first, and cross-fade between neighbouring frames so the scrub never steps. Sections: a hero over the empty hanger, "Thread by thread, no shortcuts" over the grid, then a product card (name, price, sizes, add to bag with a red thread that sews itself under the button) as each piece finishes weaving, white stats over the macro, and a newsletter form as the macro softens toward greige. A mono readout says which piece is on the loom.</p>
<p>THE THREAD: a 26-point verlet rope in #C2412B, anchored in image coordinates to the hanger while the grid weaves and sliding to a hem strand as the tee closes, mapped through the same cover-fit math as the shader. The free end follows the cursor and stretches up to 1.6x before it pulls. It lets go when the tee floats off the hanger.</p>
<p>INTRO: the page weaves in, 14px rows filling left to right with a red working line. FALLBACKS: without JS, with reduced motion or with ?static, a normal readable page with a still behind each section.</p>
  </div>
</div>

## Concept 1: one still, one film

The site has one generated image. Everything else is video, and every clip after the first continues the one before. That's what makes it feel like the reference: in a Cinema 4D weave test nothing ever cuts, things just keep becoming other things. If you generate three garments separately and join them, you get three product videos. If each clip is an extension of the last, the tee can literally unravel into the next piece.

## Concept 2: extension, not a start image

The obvious way to chain clips is to grab the last frame of one and give it to the next as its start image. Seedance doesn't keep that image exactly: in my tests it re-framed the shot, and the seam measured 12 on a 255 scale, which you see as a jump. Video extension continues the actual clip, and the seams here measure 2.1 to 3.2, which is the same frame. Two lessons from the runs: always start the extension prompt with "continue the exact same shot with no cut", and say what the camera must not do, because one extension in a sister project cut to a closer angle half a second in.

## Concept 3: the end frame is the brief

Clip 1 only has an end image. The start is described in words ("an empty hanger, a sparse open grid of thin grey threads appears"), and the model works out how to get from nothing to the finished tee. Give it the finished object and describe the empty start, and the clip it makes is the making.

## Concept 4: never stop the film

The first version froze on the finished tee under the product card and zoomed in a little. It read as a broken page. Now each product card rides the last second of its garment weaving, the macro keeps moving under the stats, and at the very end the macro only softens toward greige so the form is readable while the weave still moves behind it. If a clip hasn't loaded yet, the engine shows the nearest moment of the film that has, never a stale frame from somewhere else.

## Concept 5: the thread belongs to the cloth

The red thread starts on the hanger while there's nothing there but a grid, slides down to a hem strand as the tee closes, and lets go when the tee floats away. Its anchors are stored in image coordinates and mapped through the shader's cover-fit every frame, so on any screen it leaves the same stitch.

## What it cost

322 Higgsfield credits for this version: one 2K still at 2 and four 1080p Seedance clips at 80 each, every one generated once and kept. The first knitted version cost 162 more and taught me what not to build. The frames are 16 MB on desktop and 7.7 MB on phones.

## The engine

Purl runs on the same small engine as [Northlight](/blog/prompt-northlight-cursor-reactive-light-site-claude-higgsfield) and [Vela](/blog/prompt-vela-private-jet-cloud-scroll-site-claude-higgsfield), distilled from [Triptych](/blog/prompt-triptych-scroll-scrubbed-altarpiece-claude-higgsfield). If you liked this one, the [Contribution Jumper](/lab/sweater) knits your GitHub graph into a sweater.
