Roll
rollThe last word rolls like a slot machine through a list of words.
Install
$ npx paper-motion add rollCopies 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
listlike a slot machine, one word everyeveryseconds; its width follows.
Spec
- Id
- roll
- Type
- Text effects
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/roll.json