paper-motion

Slices

slices

B comes in as horizontal strips from alternating sides.

Install
$ npx paper-motion add slices

Copies 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 n horizontal 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

Related