paper-motion

Halftone Cmyk

halftone-cmyk

CMYK halftone printing effect applied to images with customizable dot patterns and ink colors for each channel (Cyan, Magenta, Yellow, Black).

Install
$ npx paper-motion add halftone-cmyk

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
size
contrast
softness
{
  "id": "halftone-cmyk",
  "shader": "HalftoneCmyk",
  "props": {
    "fit": "cover",
    "colorBack": "#E9E4D8",
    "colorC": "#8EA3AD",
    "colorM": "#B07D73",
    "colorY": "#C9A65A",
    "colorK": "#141414",
    "size": 0.2,
    "contrast": 1,
    "softness": 1,
    "grainSize": 0.5,
    "gridNoise": 0.2,
    "type": "ink"
  },
  "image": "assets/materials/material-a.jpg",
  "motion": {
    "param": "size",
    "from": 0.16,
    "to": 0.26
  }
}
Defaults

Notes

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

Spec

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

Related