Odometer Roll
A mechanical counter of real 3D number drums: the ones wheel spins into a motion blur, higher wheels click over with true carries and everything settles on the target value.
Variables
Section titled “Variables”Theme an embed without editing the bit: put data-variable-values on the data-composition-src element, or bake new defaults into the installed copy with --set.
| Id | Type | Default | Label |
|---|---|---|---|
value | number | 48213 | Target value |
label | string | "renders this week" | Label |
background | color | #100f0f | Background |
foreground | color | #f2f0e5 | Digits |
accent | color | #ec8b49 | Accent |
<div data-composition-src="compositions/odometer-roll.html" data-variable-values='{"value":48213,"label":"renders this week","background":"#100f0f","foreground":"#f2f0e5","accent":"#ec8b49"}'></div>npx @av/hyperbits add odometer-roll --into compositions/ --set "background=#0b1020"