zanwei

Dot Matrix Camera

Shaders

About

A WebGL camera effect that turns the webcam feed into an interactive dot matrix display with adjustable density, dot, brightness and glow controls. Ported to React from Zanwei Guo's dot-matrix-camera.

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

Code

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

Usage.tsx

import DotMatrixCamera from "@/components/ui/dot-matrix-camera";

export default function Default() {
  return (
    <div style={{ width: "100%", height: 600 }}>
      <DotMatrixCamera />
    </div>
  );
}

More by zanwei

View all
  • Claude Model Selector

    Claude Model Selector

    109
  • ChatGPT Model Selector

    ChatGPT Model Selector

    70
  • Ball Model Picker

    Ball Model Picker

    58
  • Table of Content

    Table of Content

    47
  • Status Indicator

    Status Indicator

    40
  • Liquid Connector

    Liquid Connector

    30
  • Model Picker

    Model Picker

    27
  • Gradient Shimmer Text

    Gradient Shimmer Text

    23

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    718
  • Water Caustic

    Water Caustic

    44
  • Shader Background

    Shader Background

    2K
  • Wave

    Wave

    687
  • Stripe like gradient-shader

    Stripe like gradient-shader

    265
  • Black Hole

    Black Hole

    23
  • Shader Lines

    Shader Lines

    2.3K