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

    115
  • ChatGPT Model Selector

    ChatGPT Model Selector

    72
  • Ball Model Picker

    Ball Model Picker

    60
  • Table of Content

    Table of Content

    52
  • Status Indicator

    Status Indicator

    40
  • Liquid Connector

    Liquid Connector

    31
  • Model Picker

    Model Picker

    28
  • Gradient Shimmer Text

    Gradient Shimmer Text

    23

More in Shaders

View all
  • Glass Fold

    Glass Fold

    279
  • Phosphor 30

    Phosphor 30

    293
  • Shader Animation

    Shader Animation

    3.7K
  • Wave

    Wave

    693
  • Black Hole

    Black Hole

    27
  • Shader Background

    Shader Background

    2K
  • Shader Lines

    Shader Lines

    2.3K
  • Liquid Glass Logo Reveal

    Liquid Glass Logo Reveal

    629