Motion 13 DOM · LilScript port
Motion,
compressed.
The browser animation API you already know, rebuilt in LilScript and shipped as one dependency-free package.
npm install motionlil
smaller after Brotli
Matching artifacts. Brotli 11. No cross-entry-point tricks.
Recovered from the LilScript browser suite
The complete
motion lab.
Every original animation case, recreated against the published package runtime. Replay anything. Hover, press, scroll, resize, and poke at the controls.
The receipts
Every byte,
accounted for.
The gate metric is Brotli 11 on matching browser artifacts. Values below come from the original LilScript Motion lab at commit 9fc14a8.
| Case | Motion | LilScript | Ratio | Saved |
|---|
Important distinction. These are closed-world application builds, where LilScript can optimize the concrete program. The reusable full-package ESM is 50,509 B Brotli versus Motion’s 39,871 B. The package’s other headline is its dependency-free 824,992 B install versus Motion’s 9,141,537 B dependency tree.
Read the methodology ↗Zero runtime dependencies
Drop Motion into
a smaller box.
npm install motionlil