Wipe
wipeA soft diagonal edge uncovers B.
Install
$ npx paper-motion add wipeCopies the code to moves/ in your project, yours to edit.
Tune it, then add it to your kit
0.0s
Parameters
angle
soft
curve
import { wipe } from './moves/wipe.js';
// in s.update(t)
wipe(a, b, p);Defaults
Notes
- B is uncovered by a soft edge at
angledegrees; A stays underneath. - At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).
Spec
- Id
- wipe
- Type
- Transitions
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/wipe.json