paper-motion

Cut

cut

Hard cut from A to B, on the beat.

Install
$ npx paper-motion add cut

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

Tune it, then add it to your kit
0.0s
Parameters

Nothing to tune here.

import { cut } from './moves/cut.js';

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

Notes

  • At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).

Spec

Id
cut
Type
Transitions
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related