teardown
Installation
SKILL.md
Teardown
One machine, one page. The visitor sees the thing run, presses a button, and the part doing the work opens up while the gauges around it read the real numbers. Left alone, the page tours itself with a cursor. The same code records a film of the tour, frame by frame, with a score built on the same timeline.
SKILL_DIR below is the folder this file lives in. Builds and renders go to ./teardown-out of the folder you run from.
First run
cd "$SKILL_DIR" && npm install && npx playwright install chromium
The pages need nothing else. The video needs ffmpeg on PATH and the score needs Python 3 (standard library only). Set FFMPEG, PYTHON or CHROMIUM to point at other binaries.
The 3 examples
Build one, open the HTML, press buttons. Copy the closest one when you start a new machine.