Motion 13 DOM · LilScript port

Motion,
rewritten.

Motion’s browser animation runtime, ported to LilScript with recorded source builds and behavior checks.

npm install motionlil
Current LilScript versus minified original · portable ESM 0.86× Brotli

34,540 B vs 39,934 B

106,073 BLilScript raw ESM
38,544 BLilScript gzip-9
34,540 BLilScript Brotli-11
39,934 BOriginal ESM Brotli-11

Raw, gzip and Brotli each use a separate LilScript compilation targeting that objective. The original uses the same export and dependency boundary, then a JavaScript minifier.

animate ✦ spring ✦ stagger ✦ scroll ✦ inView ✦ motionValue ✦ hover ✦ press ✦ resize ✦ sequences

Motion DOM examples

The complete
motion lab.

Every original animation case, recreated against the current compiled runtime. Replay anything. Hover, press, scroll, resize, and poke at the controls.

Current library · original minified

Three objectives.
Measured separately.

Same machine · sequential builds

Build time.

Zero runtime dependencies

Build motion
with LilScript.

npm install motionlil

Download the checked repository package · Package files, hashes and validation. npm publication is independent.