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

    138
  • ChatGPT Model Selector

    ChatGPT Model Selector

    84
  • Ball Model Picker

    Ball Model Picker

    65
  • Table of Content

    Table of Content

    64
  • Status Indicator

    Status Indicator

    43
  • Model Picker

    Model Picker

    36
  • Liquid Connector

    Liquid Connector

    34
  • Gradient Shimmer Text

    Gradient Shimmer Text

    27

More in Shaders

View all
  • Shader Animation

    Shader Animation

    3.9K
  • Glass Fold

    Glass Fold

    599
  • Black Hole

    Black Hole

    56
  • Illos Knowledge Sources

    Illos Knowledge Sources

    77
  • DitheredShaderBackground

    DitheredShaderBackground

    59
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    254
  • Stream Search

    Stream Search

    88