lensmithLibraryGet new artifacts

Tool

Source

Assembly Motion

Makes a drawing build itself on a page: each part drops into place, one by one, once, when it comes into view.

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.

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

Built with
PartWhat it is used forRole, licence and version
PlaywrightDraws 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

Get new artifacts

Privacy notice