paper-motion

Drift

drift

A slow, constant push-in that keeps a still frame alive.

Install
$ npx paper-motion add drift

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

Tune it, then add it to your kit
0.0s
Parameters
amount
duration
origin
import { drift } from './moves/drift.js';

// in s.update(t)
drift(el, t);
Defaults

Notes

  • A slow constant push-in over duration seconds (default: the whole scene).

Spec

Id
drift
Type
Camera and energy
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related