paper-motion

Halftone Dots

halftone-dots

A halftone-dot image filter featuring customizable grids, color palettes, and dot styles.

Install
$ npx paper-motion add halftone-dots

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
colorFront
size
radius
contrast
{
  "id": "halftone-dots",
  "shader": "HalftoneDots",
  "props": {
    "fit": "cover",
    "colorBack": "#000000",
    "colorFront": "#E9E4D8",
    "size": 0.5,
    "radius": 1.25,
    "contrast": 0.45,
    "originalColors": false,
    "inverted": true,
    "grainMixer": 0.15,
    "grainOverlay": 0.1,
    "grid": "hex",
    "type": "gooey"
  },
  "image": "assets/materials/material-a.jpg",
  "motion": {
    "param": "size",
    "from": 0.35,
    "to": 0.6
  }
}
Defaults

Notes

  • Paper shader HalftoneDots (still).
  • Uses an image (installed to brand/assets/materials/); swap image for your own picture or texture.
  • Breathes on size from 0.35 to 0.6 so a still shader stays alive.

Spec

Id
halftone-dots
Type
Backgrounds
Version
1.0.0
Engine
>=0.2.0
License
MIT

Related