ham7a311

Dither Flow

Heroes 36

About

An animated WebGL background that renders slow, flowing cloth-like folds as a four-tone ordered-dither pixel grid, with the pointer stirring a soft swirl into the pattern.

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

Code

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

Usage.tsx

"use client";

import { DitherFlow } from "@/components/ui/dither-flow";

export default function DitherFlowDemo() {
  return (
    <div className="h-screen w-full">
      <DitherFlow
        palette={["#09090b", "#4b2bff", "#a996ff", "#ffffff"]}
        className="h-full w-full"
      >
        <div className="pointer-events-none flex h-full flex-col justify-end bg-[linear-gradient(to_top,rgb(0_0_0/0.72),transparent_45%)] p-6 sm:p-10">
          <p className="font-mono text-[11px] uppercase tracking-[0.18em] text-white/60">
            Vitrine · Signal 02
          </p>
          <h2 className="mt-2 max-w-[14ch] text-[clamp(2rem,5vw,3.6rem)] font-semibold leading-[1] tracking-[-0.035em] text-white">
            Soft light, hard pixels.
          </h2>
        </div>
      </DitherFlow>
    </div>
  );
}

More by ham7a311

View all
  • Wave Mesh

    Wave Mesh

    251
  • Route Globe

    Route Globe

    195
  • Glass Tiles

    Glass Tiles

    183
  • Orbit Ring Stats

    Orbit Ring Stats

    82
  • Glyph Swell

    Glyph Swell

    76
  • Fan Deck Card

    Fan Deck Card

    75
  • Ask Bar

    Ask Bar

    63
  • Glass Ribbons

    Glass Ribbons

    53

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    32
  • Cabin To Sky Film Hero

    Cabin To Sky Film Hero

  • Real Estate 3D Hero

    Real Estate 3D Hero

    83
  • Hero

    Hero

    1.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Chroma Sense Hero

    Chroma Sense Hero

    21