paper-motion

Iris

iris

B opens from a circle that grows out of a point.

Install
$ npx paper-motion add iris

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

Tune it, then add it to your kit
0.0s
Parameters
x
y
curve
import { iris } from './moves/iris.js';

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

Notes

  • B opens from a circle growing out of (x, y); A sinks back a little.
  • At p = 0 only A shows, at p = 1 only B; keep B above A (z-index).

Spec

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

Related