paper-motion

Fluted Glassglass

fluted-glass

Fluted glass image filter that transforms an image into streaked, ribbed distortions, giving a mix of clarity and obscurity, in glass.

Install
$ npx paper-motion add fluted-glass

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
shadows
size
angle
{
  "id": "fluted-glass",
  "shader": "FlutedGlass",
  "props": {
    "fit": "cover",
    "colorBack": "#00000000",
    "colorShadow": "#000000",
    "colorHighlight": "#ffffff",
    "shadows": 0.25,
    "size": 0.45,
    "angle": 0,
    "distortionShape": "prism",
    "highlights": 0.12,
    "shape": "lines",
    "distortion": 0.5,
    "blur": 0,
    "edges": 0.25,
    "grainOverlay": 0.05
  },
  "image": "assets/materials/material-a.jpg",
  "motion": {
    "param": "shift",
    "from": -0.15,
    "to": 0.15
  }
}
Defaults

Notes

  • Paper shader FlutedGlass (still).
  • Uses an image (installed to brand/assets/materials/); swap image for your own picture or texture.
  • Breathes on shift from -0.15 to 0.15 so a still shader stays alive.

Spec

Id
fluted-glass
Type
Backgrounds
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related