paper-motion

Wavespaper

waves-paper

Static line pattern configurable into textures ranging from sharp zigzags to smooth flowing waves, in paper.

Install
$ npx paper-motion add waves-paper

Adds the background to brand/shader-set/set.json; use it with B.shader().

Tune it, then add it to your kit
Live shader
Parameters
colorFront
colorBack
shape
frequency
amplitude
scale
{
  "id": "waves-paper",
  "shader": "Waves",
  "props": {
    "colorFront": "#E9E4D8",
    "colorBack": "#000000",
    "shape": 1,
    "frequency": 0.5,
    "amplitude": 0.4,
    "spacing": 1.4,
    "proportion": 0.08,
    "softness": 0.05,
    "scale": 1
  },
  "motion": {
    "param": "amplitude",
    "from": 0.3,
    "to": 0.6
  }
}
Defaults

Notes

  • Paper shader Waves (still).
  • Breathes on amplitude from 0.3 to 0.6 so a still shader stays alive.

Spec

Id
waves-paper
Type
Backgrounds
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related