Slices
slicesB comes in as horizontal strips from alternating sides.
Install
$ npx paper-motion add slicesCopies the code to moves/ in your project, yours to edit.
Tune it, then add it to your kit
0.0s
Parameters
n
each
curve
import { slices } from './moves/slices.js';
// in s.update(t)
slices(a, b, p);Defaults
Notes
- B comes in as
nhorizontal strips, alternating left and right, staggered top to bottom. - At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).
Spec
- Id
- slices
- Type
- Transitions
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/slices.json