Assembly Motion
Makes a drawing build itself on a page: each part drops into place, one by one, once, when it comes into view.
Designed with
Built from
- Assembly Motion · its own code · Source not public
Made with
- Command Center · our agent workspace
What this is
It is for anyone who wants a drawing to build itself on a page without slowing a phone. The images are made once, ahead of time. They play once, when they scroll into view.
Parts of the machine
Each part is one step from a drawing to a picture that builds itself. Open a label to see what that part does.
The tool itself: a few Node.js scripts that cut a drawing into images and check them, and a small player. It is our own code. Its source is not public yet.
One shared frame, set once. Every part is drawn inside it, so the stacked images line up exactly like the finished drawing.
The part at the back, saved as its own image with a clear background. The stack keeps the drawing's own order, back to front.
A part in the middle. Each part is drawn alone in a browser that Playwright drives, then trimmed to the space it fills.
The part at the front. Images are lossless by default and carry a short code from their own bytes in the name, so a changed image gets a new address.
A small player in plain JavaScript and CSS, with no dependencies. It waits until every image has decoded, then drops each part onto its seat.
A thin ring flashes where each part lands. It plays once, when the picture comes into view. With reduced motion, the finished picture shows and no ring runs.
To run your ownYour own computer is enough
Overview
What it does
Assembly Motion is a small tool for web pages. It starts with a picture whose pieces are kept apart in groups. Ahead of time, it saves each piece as its own image with a clear background. A small player then slides the images into position one at a time, and a thin ring flashes where each lands.
Where it is used
Makes a drawing build itself on a page: each part drops into place, one by one, once, when it comes into view.
How it's made
How it's made
The frame → Back layer → Middle layer → Front layer → The player → Seat ring
Our own code: a few Node.js scripts that cut a drawing into images and check them, and a player in plain JavaScript and CSS with no dependencies. At build time it uses Playwright (Apache-2.0) to draw each part in a browser and save it. Playwright is not on the page; only the images it made are. The drawing on this page was made with the anatomy figure kit (MIT). Its source is not public yet.
Limits
- It moves only small ready-made images, so the page does not repaint the drawing while it moves. It is a poor fit for a drawing that has to change while you watch. For a very large picture, a short video is simpler.
Deliver it
Deliver it
A computer that can run Node.js is enough.
The images are made ahead of time on your own computer. They are plain files, so the page that shows them needs no server of its own.
Needed
Your computer
Only you can open it.
Making the images needs Node.js and Playwright with its browser, on any computer that can run them.
Optional
A free static page
Anyone with the link.
The images and the small player are plain files, so a static page can show them.
Our own tool. Its source is not public yet, so there is nothing to download from this page.
Receipts
Its own code: Source not public
| Part | What it is used for | Role, licence and version |
|---|---|---|
| Playwright | Draws each part of a drawing in a browser and saves it as an image, at build time. Turned the drawing into the image layers you see. | rendered its media · Apache-2.0 · 1.60.0, with Chromium build 1223 |
The tools used to explain, display, test or ship it. They are not part of what it does.
| Part | What it is used for | Role, licence and version |
|---|---|---|
| Command Center | Our agent workspace, where it was built and run. | where it was built · no public link yet |
| anatomy figure kit | The drawing parts and style of the picture on this page. | designed with · MIT · commit used: 689dcf9 |
