paper-motion

Radial Gradientgreen

green-radial

Radial gradient with up to 10 blended colors, featuring advanced mixing modes, focal point controls, shape distortion, and grain effects, in green.

Install
$ npx paper-motion add green-radial

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
scale
radius
focalDistance
focalAngle
colors
3/10
colorBack
background
{
  "id": "green-radial",
  "shader": "StaticRadialGradient",
  "props": {
    "scale": 1,
    "offsetX": 0,
    "offsetY": 0.06,
    "radius": 1.09,
    "focalDistance": 0.74,
    "focalAngle": 0,
    "falloff": 0.33,
    "mixing": 0.64,
    "distortionShift": 0,
    "distortionFreq": 12,
    "colors": [
      "#5DC27E",
      "#C8EE6C",
      "#FFFFFF"
    ],
    "colorBack": "#00000000"
  },
  "background": "#E4E4BD"
}
Defaults

Notes

  • Paper shader StaticRadialGradient (still). Tuned by hand in Paper.

Spec

Id
green-radial
Type
Backgrounds
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related