Home▸Electronics & Circuits▸ADC / DAC Sampling & Quantization (2D)

ADC / DAC Sampling & Quantization (2D)

2D signal-chain view of an analog-to-digital / digital-to-analog converter: a continuous sine wave is sampled at an adjustable rate, quantized to a chosen bit depth, and reconstructed by a zero-order-hold DAC, with a live Nyquist aliasing demo.

Electronics & Circuits2DEasy60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
ADC / DAC Sampling & Quantization (2D) ↗ Open standalone

The 3D model shows an oscilloscope-style view of the same converter chain. This 2D companion draws the actual signal-processing math on a flat timeline: a continuous sine wave, the discrete instants the ADC samples it, the finite set of voltage levels it rounds those samples to, and the zero-order-hold staircase a DAC produces on the way back to analog. Push the sample rate below twice the signal frequency and watch true aliasing appear — the reconstructed wave locks onto the wrong, lower frequency because that is genuinely all the samples can prove.

⚙ Under the hood

2D signal-chain view of an analog-to-digital / digital-to-analog converter: a continuous sine wave is sampled at an adjustable rate, quantized to a chosen bit depth, and reconstructed by a zero-order-hold DAC, with a live Nyquist aliasing demo.

Canvas 2DADCDACNyquist TheoremAliasingQuantizationSignal Processing

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)