paper-motion

Bar reveal

bar-reveal

A solid bar sweeps across and leaves the line behind it.

Install
$ npx paper-motion add bar-reveal

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

Tune it, then add it to your kit
0.0s
Parameters
duration
color
curve
import { barReveal } from './moves/bar-reveal.js';

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

Notes

  • A solid bar grows over the line, then pulls away to the other side, leaving the text behind it.

Spec

Id
bar-reveal
Type
Text effects
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related