paper-motion

Roll

roll

The last word rolls like a slot machine through a list of words.

Install
$ npx paper-motion add roll

Copies the code to moves/ in your project, yours to edit.

Tune it, then add it to your kit
0.0s
Parameters
every
duration
curve
line
import { roll } from './moves/roll.js';

// in s.update(t)
roll(el, list, t);
Defaults

Notes

  • The element rolls through list like a slot machine, one word every every seconds; its width follows.

Spec

Id
roll
Type
Text effects
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related