Skip to content

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.

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.

IdTypeDefaultLabel
valuenumber48213Target value
labelstring"renders this week"Label
backgroundcolor#100f0fBackground
foregroundcolor#f2f0e5Digits
accentcolor#ec8b49Accent
<div data-composition-src="compositions/odometer-roll.html" data-variable-values='{"value":48213,"label":"renders this week","background":"#100f0f","foreground":"#f2f0e5","accent":"#ec8b49"}'></div>
Terminal window
npx @av/hyperbits add odometer-roll --into compositions/ --set "background=#0b1020"