paper-motion

Flip lift

flip-lift

A lifts toward the camera, flips with a wobble and a sheen, lands as B with an echo; B's parts pop in.

Install
$ npx paper-motion add flip-lift

Copies the code to moves/ in your project, yours to edit.

Tune it, then add it to your kit
0.0s
Parameters
duration
lift
perspective
import { flipLift } from './moves/flip-lift.js';

// in s.update(t)
flipLift(a, b, p);
Defaults

Notes

  • A lifts toward the camera, flips with a wobble and a sheen across its face, and lands as B with an echo; B's parts pop in after.
  • 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
flip-lift
Type
Component transitions
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related