paper-motion

God Rays

god-rays

Animated rays of light radiating from the center, blended with up to 5 colors.

Install
$ npx paper-motion add god-rays

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
colorBack
colors
4/5
density
spotty
midIntensity
speed
{
  "id": "god-rays",
  "shader": "GodRays",
  "props": {
    "colorBack": "#000000",
    "colorBloom": "#2a2a2a",
    "colors": [
      "#ffffff40",
      "#C9A65A80",
      "#ffffff",
      "#8EA3AD"
    ],
    "density": 0.3,
    "spotty": 0.3,
    "midIntensity": 0.4,
    "midSize": 0.2,
    "intensity": 0.7,
    "bloom": 0.35,
    "speed": 0.5
  }
}
Defaults

Notes

  • Paper shader GodRays (animated).

Spec

Id
god-rays
Type
Backgrounds
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related