Oscilloscope

A green-phosphor scope with real knobs, persistence trails and Lissajous XY mode.

  • Zero dependencies
  • React + Tailwind
  • Accessible
  • Reduced-motion aware
Open in v0

Preview

Animated · Full motion: idle animation, physics and effects. animated (default)

Drag or scroll the knobs to change frequency and amplitude, switch sine / square / saw / XY. The beam leaves a fading phosphor trail over a graticule.

Installation

$ npx shadcn@latest add https://pickui.guetix.com/r/oscilloscope.json

Uses the shadcn CLI. It creates components/pickui/oscilloscope.tsx and installs nothing else.

Usage

example.tsx
import { Oscilloscope } from "@/components/pickui/oscilloscope";

export default function Example() {
  return <Oscilloscope />;
}

Props

PropTypeDefaultDescription
colorstring"#5cff9d"Trace color.
animatedbooleantruefalse = the calm “Regular” version (no idle or ambient motion).

Accessibility

  • Knobs are role=slider (arrows, wheel, drag); waveform buttons use aria-pressed.