Push
pushB pushes A out of frame.
Install
$ npx paper-motion add pushCopies the code to moves/ in your project, yours to edit.
Tune it, then add it to your kit
0.0s
Parameters
dir
curve
import { push } from './moves/push.js';
// in s.update(t)
push(a, b, p);Defaults
Notes
- B pushes A out;
diris where A leaves to. - At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).
Spec
- Id
- push
- Type
- Transitions
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/push.json