Dhileep Kumar GM

DitheredShaderBackground

Shaders 53

About

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.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds DitheredShaderBackground to your project and fits it to your theme.

Code

How DitheredShaderBackground is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import React from 'react';
import ShaderBackground from '@/components/ui/dithered-shader-background-1';

export default function DemoOne() {
  return (
    <div className="app-container" data-theme="dark">
      <ShaderBackground className="shader-canvas" scale={0.5} />
    </div>
  );
}

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    2K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    976
  • Mountain Scene

    Mountain Scene

    882
  • HolographicCard

    HolographicCard

    837
  • 3D Animation

    3D Animation

    816
  • liquid  Shader

    liquid Shader

    574

More in Shaders

View all
  • Glass Fold

    Glass Fold

    499
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Radial Shader

    Radial Shader

    149
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    22
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700