# DitheredShaderBackground

> A React wrapper around a p5.js/WebGL shader that renders a full-screen, time-animated generative pattern with ordered Bayer dithering for a retro pixel-art effect. Supports customizable grid size, scale, responsive resizing, light/dark theme backgrounds, and a reduced-motion fallback.

- Author: [Dhileep Kumar GM](https://21st.dev/@dhileepkumargm)
- License: unknown
- Live preview: https://21st.dev/@dhileepkumargm/components/dithered-shader-background-1

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/dhileepkumargm/dithered-shader-background-1?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
