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

    135
  • ChatGPT Model Selector

    ChatGPT Model Selector

    81
  • Ball Model Picker

    Ball Model Picker

    63
  • Table of Content

    Table of Content

    60
  • Status Indicator

    Status Indicator

    42
  • Model Picker

    Model Picker

    36
  • Liquid Connector

    Liquid Connector

    34
  • Gradient Shimmer Text

    Gradient Shimmer Text

    26

More in Shaders

View all
  • Glass Fold

    Glass Fold

    549
  • Shader Animation

    Shader Animation

    3.9K
  • Paper design shader Background

    Paper design shader Background

    711
  • Wave

    Wave

    726
  • Shader Lines

    Shader Lines

    2.4K
  • Radial Shader

    Radial Shader

    151
  • Phosphor 30

    Phosphor 30

    316
  • Old Television Shader

    Old Television Shader

    416