Skip to content

Video as code: canvas scenes rendered with WebCodecs in headless Chrome, a review viewer, and agent skills that build the video from your references.

Docs: note the Playwright Chromium path and the Linux render report (#9)

Arya Afendi6f6dc9163da0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ade8c35..a57feba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
Changes are listed by release, newest first. The sections dated before 0.1.0 record what was built on the way to the first release.
+## Unreleased
+
+### Changed
+
+- The install docs now say a Chromium you already have works: set `CHROME` to it, for example the Chromium Playwright downloads, instead of installing Google Chrome. The README, the install docs and the roadmap also record that a real video has now been rendered on Linux: a 42 s, 1080x1920 project on Ubuntu 24.04 with no GPU in about 82 s (issue #8). An install from the npm registry on Linux and anything on macOS are still untested.
+
## 0.3.0 (2026-11-18)
### Added
diff --git a/README.md b/README.md
index a6a3023..1a53dee 100644
--- a/README.md
+++ b/README.md
@@ -178,7 +178,7 @@ Footage is decoded inside the page with Mediabunny, so a scene can cut and trim
<br>
-> Not tested properly yet. CI runs the tests, the end-to-end renders among them, on an Ubuntu runner, but no real video has been made on Linux, and nothing has run on macOS (the Chrome paths and the Metal flag are in the code). Everything else was built and measured on one Windows laptop.
+> A real video has now been made on Linux: a 42 s, 1080x1920 project on Ubuntu 24.04 with no GPU, rendered in about 82 s with the Chromium Playwright downloads (issue #8). CI runs the tests, the end-to-end renders among them, on an Ubuntu runner, but nothing has run on macOS (the Chrome paths and the Metal flag are in the code). Everything else was built and measured on one Windows laptop.
</details>
diff --git a/ROADMAP.md b/ROADMAP.md
index b6ad6e8..3afce74 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -16,9 +16,9 @@ What is not built, what has not been tested, and ideas that came up while using
- The benchmark against Remotion and HyperFrames on macOS and Linux, with their own downloaded browsers, and on scenes heavy on text, images or footage. It was one scene on Windows, at 1080p and 4K.
- The npm package on macOS. It was installed on Windows, from the registry and with nvm for Windows 2.0 (where setup writes its own launcher), and on a Linux VPS from a packed tarball (docs/install.md).
-- macOS, and Linux beyond the tests, including `motlab update` there. On Linux, CI renders the end-to-end tests on an Ubuntu runner; no real video has been made there. On macOS the Chrome paths and the Metal flag are in the code, but nothing has run.
+- macOS, and Linux beyond the tests, including `motlab update` there. On Linux, CI renders the end-to-end tests on an Ubuntu runner, and a real video has been made there now: a 42 s, 1080x1920 project on Ubuntu 24.04 with no GPU, in about 82 s (issue #8). On macOS the Chrome paths and the Metal flag are in the code, but nothing has run.
- Renders longer than 10 minutes, and a 10-minute render on a machine that is doing nothing else.
-- A machine without a GPU beyond the tests. CI runs the end-to-end tests on Linux and Windows runners without a GPU, and the benchmark ran with Chrome drawing on SwiftShader on the test laptop (1080p and 4K, in `docs/rendering.md`), but no real video has been rendered on such a machine, and no 3D (WebGL) scene.
+- A machine without a GPU beyond the tests. CI runs the end-to-end tests on Linux and Windows runners without a GPU, and the benchmark ran with Chrome drawing on SwiftShader on the test laptop (1080p and 4K, in `docs/rendering.md`). A real video has been rendered on such a machine now: a 42 s, 1080x1920 project on Ubuntu 24.04 with no GPU, in about 82 s (issue #8). No 3D (WebGL) scene has been rendered on one yet.
- Footage filmed on a phone (variable frame rate and HEVC were tested with files made by ffmpeg), and HEVC on a Chrome that cannot decode it.
- Scene transitions between scenes of different sizes in the viewer, and in a normal Chrome window. The render refuses scenes of different sizes.
- The cut voice from `cut_pauses.py` on a real person's take. The whole-take test used Windows text to speech.
@@ -31,7 +31,7 @@ What is not built, what has not been tested, and ideas that came up while using
- Notes on a real touch screen. Touch was emulated in Chrome over the DevTools protocol. Moving and resizing a box was tried with the mouse only.
- The viewer on a real phone. The phone layout, its menus and notes drawn with touch were checked in Chrome with a phone emulated over the DevTools protocol, at 390 and 360 px upright and 844 and 740 px sideways. On an iPhone, Safari allows full screen for video elements only, so the viewer has no full screen there.
- The viewer's full screen outside Chrome on Windows.
-- The skills in agents other than Claude Code. The installer was run with `--dry-run` for every target, and the folders come from each agent's docs, but no other agent has loaded the skills or made a video with them yet. That includes Muse Code and Hermes Agent, added from their docs in November 2026.
+- The skills in agents other than Claude Code. The installer was run with `--dry-run` for every target, and the folders come from each agent's docs. Muse has loaded the skills and made a real video with them (a 42 s project on Ubuntu 24.04 with no GPU, issue #8); no other agent has yet. That includes Muse Code and Hermes Agent, added from their docs in November 2026.
## Questions about speed
diff --git a/docs/install.md b/docs/install.md
index 8f657fc..4e5859c 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -7,7 +7,7 @@ motlab has two parts: the engine (the `motlab` command, the viewer and the rende
| Tool | Why | Check |
|---|---|---|
| Node.js 24 or newer | runs the engine | `node --version` |
-| Google Chrome or Chromium | draws and encodes the frames | found on its default path, or set `CHROME` |
+| Google Chrome or Chromium | draws and encodes the frames | found on its default path, or set `CHROME` to a binary you already have, for example the Chromium Playwright downloads |
| ffmpeg and ffprobe | join the parts, add audio, check the output | `ffmpeg -version` |
| Python 3, optional | the skills' helper scripts | `python --version` |
| Blender 4.2 or newer, optional | the main 3D path of `motlab-assets` (FBX, baked textures, Cycles stills) | `blender --version` |
@@ -27,6 +27,8 @@ Google Chrome on Debian or Ubuntu (x64), the command `motlab doctor` prints when
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo apt install -y ./google-chrome-stable_current_amd64.deb
```
+If Chrome is already on the machine another way, for example the Chromium Playwright downloads to `~/.cache/ms-playwright/`, set `CHROME` to that binary instead of installing Google's.
+
The skill's scripts need numpy, scipy and Pillow. From the engine folder (`motlab --help` prints it; `motlab doctor` prints this command with the full path when they are missing):
```bash
@@ -176,5 +178,5 @@ Windows
macOS and Linux
-- The code has the macOS and Linux Chrome paths and uses ANGLE on Metal on macOS. On Linux, CI runs the tests and their end-to-end renders on an Ubuntu runner with Google Chrome and the distribution's ffmpeg; no real video and no install with `install.js` or npm have been tried there, and macOS has not been tested at all. Reports are welcome.
-- A machine without a GPU should still render through Chrome's software drawing and software H.264 encoder, only slower. On the Windows test laptop with Chrome drawing on SwiftShader, the benchmark scene took 2.8 times as long at 1080p and 4.5 times at 4K ([rendering](rendering.md#without-a-gpu)). A machine with no GPU at all has not been tested.
+- The code has the macOS and Linux Chrome paths and uses ANGLE on Metal on macOS. On Linux, CI runs the tests and their end-to-end renders on an Ubuntu runner with Google Chrome and the distribution's ffmpeg. A real video has been made there now: a 42 s, 1080x1920 project on Ubuntu 24.04 with no GPU, rendered in about 82 s with the Chromium Playwright downloads (`CHROME` set to `~/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome`), and an install from a clone with `install.js` worked too (issue #8). An install from the npm registry on Linux has not been tried, and macOS has not been tested at all. Reports are welcome.
+- A machine without a GPU renders through Chrome's software drawing and software H.264 encoder, only slower: the Linux render above took about 82 s for 42 s of video at 1080x1920, and on the Windows test laptop with Chrome drawing on SwiftShader, the benchmark scene took 2.8 times as long at 1080p and 4.5 times at 4K ([rendering](rendering.md#without-a-gpu)). No 3D (WebGL) scene has been rendered on a machine without a GPU yet.