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

    116
  • ChatGPT Model Selector

    ChatGPT Model Selector

    73
  • Ball Model Picker

    Ball Model Picker

    60
  • Table of Content

    Table of Content

    53
  • Status Indicator

    Status Indicator

    40
  • Liquid Connector

    Liquid Connector

    33
  • Model Picker

    Model Picker

    29
  • Gradient Shimmer Text

    Gradient Shimmer Text

    23

More in Shaders

View all
  • Glass Fold

    Glass Fold

    363
  • Wave

    Wave

    704
  • Phosphor 30

    Phosphor 30

    302
  • Shader Animation

    Shader Animation

    3.8K
  • Illos Webhook Setup

    Illos Webhook Setup

    11
  • Old Television Shader

    Old Television Shader

    411
  • Radial Shader

    Radial Shader

    146
  • Background Shader

    Background Shader

    317