paper-motion

Whip

whip

A fast push with horizontal motion blur.

Install
$ npx paper-motion add whip

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

Tune it, then add it to your kit
0.0s
Parameters
dir
blur
curve
import { whip } from './moves/whip.js';

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

Notes

  • B pushes A out very fast, with horizontal motion blur that follows the speed. dir is where A leaves to.
  • At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).

Spec

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

Related