ham7a311

Dither Portrait

Component

About

An image shown printed in two inks via error diffusion, with a round pointer-tracking lens that reveals the full-colour original and dissolves into the same dither pattern at its soft edge.

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

Code

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

Usage.tsx

import { DitherPortrait } from "@/components/ui/dither-portrait";

export default function DitherPortraitVioletDemo() {
  return (
    <div className="w-full h-screen">
      <DitherPortrait ink="#c9b6ff" paper="#140c2b" className="w-full h-full" />
    </div>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    21
  • Glass Tiles

    Glass Tiles

    15
  • Wave Mesh

    Wave Mesh

    12
  • Uptime Ribbon

    Uptime Ribbon

    10
  • Wind Map

    Wind Map

    9
  • Glass Carousel

    Glass Carousel

    9
  • Streak Field Stats

    Streak Field Stats

    7
  • Time Window

    Time Window

    7