Unfold
unfoldA's items leave, A folds into a glowing line, B unfolds out of the line with overshoot, items rise from it.
Install
$ npx paper-motion add unfoldCopies the code to moves/ in your project, yours to edit.
Tune it, then add it to your kit
0.0s
Parameters
duration
radius
import { unfold } from './moves/unfold.js';
// in s.update(t)
unfold(a, b, p);Defaults
Notes
- A's items leave, A folds into a glowing line, a glint runs along it, and B unfolds out of the line with overshoot as its items rise from it.
- Stack A and B in one positioned slot (their parent); give the slot overflow:hidden to keep travel inside it.
- Pass the real duration in seconds and call it through p = 1: that is when it hides the layers it made.
- Render with --motion-blur 5.
Spec
- Id
- unfold
- Type
- Component transitions
- Version
- 1.0.0
- Engine
- >=0.2.0
- License
- MIT
- Data
- r/unfold.json