Cells
cellsB appears through a grid of squares that grow in a diagonal wave.
Install
$ npx paper-motion add cellsCopies the code to moves/ in your project, yours to edit.
Tune it, then add it to your kit
0.0s
Parameters
cols
rows
origin
spread
curve
import { cells } from './moves/cells.js';
// in s.update(t)
cells(a, b, p);Defaults
Notes
- B shows through a grid of squares that grow from their centres in a wave from
origin(0..1, 0..1). - At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).
Spec
- Id
- cells
- Type
- Transitions
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/cells.json