{
  "gem": {
    "slug": "ditherjs-vg-0135",
    "name": "ditherjs",
    "description": "Small library that dithers any img element to a fixed palette using ordered or error-diffusion algorithms.",
    "url": "https://github.com/danielepiccone/ditherjs",
    "domain": "github.com",
    "author": "Daniele Piccone (@danielepiccone)",
    "license": "MIT",
    "category": "Backgrounds, Effects & CSS Oddities",
    "subcategory": "Dithering & pixel",
    "tags": [
      "dithering",
      "canvas",
      "image",
      "palette"
    ],
    "whyGem": "Palette-locked dithering makes photos match a brand's two-colour system",
    "sourceType": "github",
    "image": "/api/public/library/og/VG-0135-480.webp",
    "pageUrl": "https://vibing.inc/library/ditherjs-vg-0135"
  }
}