Baird Mechanical Television Figures Design
Design document for interactive figures demonstrating John Logie Baird’s 30-line mechanical television system, for the Logie Baird article.
Overview
Three connected figures that follow the signal chain through the article: encode → transmit → decode. The reader experiences the journey from video source to reconstructed image, with the signal flowing via pub/sub as they scroll.
Architecture
┌─────────────────────────────────────────────────────────┐
│ TRANSMITTER (baird-transmitter) │
│ Video source → Nipkow disk animation → Signal output │
└─────────────────────────────────────────────────────────┘
│
publishes to
"baird.signal"
│
▼
┌─────────────────────────────────────────────────────────┐
│ SIGNAL DINGBAT (baird-signal) │
│ Oscilloscope waveform + audio playback │
└─────────────────────────────────────────────────────────┘
│
subscribes to
"baird.signal"
│
▼
┌─────────────────────────────────────────────────────────┐
│ RECEIVER (baird-receiver) │
│ Televisor display + manual tuning controls │
└─────────────────────────────────────────────────────────┘
Key principle: Figures are decoupled. The receiver genuinely doesn’t know what the original image was—it only receives the signal stream, just like 1930.
Figures
Figure 1: Transmitter (baird-transmitter)
Purpose: Convert video input into a 30-line signal while showing how the Nipkow disk scans.
Layout (left to right): - Source panel — Current video input (portrait 3:7 aspect). Flying spot highlight shows current sample position. - Nipkow disk — Animated spinning disk with 30 apertures in spiral. Active aperture highlighted. Period-styled with subtle hatching texture. - Signal preview — Small waveform showing last ~100ms of output signal. - Source selector — Three buttons: Stookie Bill (default), Test Card, Camera.
Video sources: 1. Stookie Bill — The ventriloquist dummy Baird used for early demos 2. Test Card — Classic TV test pattern 3. Webcam — getUserMedia with graceful fallback if denied
Physics applied: - Aperture area sampling (soft/averaged, not point-sampled) - 30 lines, 12.5 fps, vertical scanning
Figure 2: Signal Dingbat (baird-signal)
Purpose: Visualize and sonify the raw signal. Reinforces that this was audio-frequency data (~13 kHz).
Layout: - Oscilloscope display — Scrolling waveform with 375 Hz line frequency visible. CRT phosphor glow (green or amber). - Audio button — Toggle to hear the signal via Web Audio. Muted by default. - Caption — Brief explanation of what you’re seeing/hearing.
Channel effects applied: - Background Gaussian noise (hiss) - Impulse noise (Poisson-distributed pops/crackles) - Slow fading (amplitude modulation at ~0.2 Hz)
Size: Shorter than main figures (~80-120px tall). Visual breather in article flow.
Figure 3: Receiver (baird-receiver)
Purpose: Reconstruct the image from the noisy signal, with manual tuning controls.
Layout: - Televisor display — Portrait 3:7 aspect, 30 vertical scan lines. Neon orange-pink glow, scan line visibility, persistence/fade effect, subtle vignette. - Tuning controls: - Framing — Phase shift. When off, image is split vertically. - Speed — Motor sync. When off, image rolls (waterfall effect). - Brightness — Neon lamp drive. Too low = crushed blacks, too high = blown whites. - Reset button — Returns to tuned state. Mercy for readers.
Assisted tuning behavior: - Starts slightly out of tune (noticeable but not chaotic) - Drift is slow (~5-10 seconds before noticeable degradation) - Controls are responsive with no dead zones - Achievable within 10-20 seconds of fiddling
Pub/Sub Topics
{
"topics": {
"baird.signal": {
"description": "Batched voltage samples with timing metadata",
"initialValue": null
},
"baird.source": {
"description": "Current source name ('stookie', 'testcard', 'camera')",
"initialValue": "stookie"
}
}
}
Signal payload structure:
{
sampleRate: 26250, // ~26 kHz (30 lines × 70 pixels × 12.5 fps)
samples: Float32Array, // Batch of ~1024 samples (≈40ms chunks)
frameSync: number, // Sample index where current frame started
noiseLevel: number, // Current channel noise level
}
Data flow:
1. Transmitter samples video, publishes to baird.signal
2. Signal dingbat subscribes, renders waveform, plays audio
3. Receiver subscribes, applies channel effects, reconstructs image
Channel effects applied at receiver end (not baked into signal) so figures can work independently.
Visual Aesthetic
Hybrid: Modern interactivity with period styling cues.
- Neon orange-pink glow for televisor output
- Subtle hatching texture on Nipkow disk
- CRT phosphor glow on oscilloscope (green or amber)
- Dark backgrounds for display areas
- No full retro pastiche, but nods to the era
File Structure
editorial/inbox/logiebair/
├── article.md
└── assets/
└── figures/
├── manifest.json # Figure declarations + topics
├── runtime.js # Copied from regolith
│
├── baird-transmitter.js # Figure 1
├── baird-signal.js # Figure 2
├── baird-receiver.js # Figure 3
│
├── nipkow.js # Disk geometry, sampling math
├── channel.js # Noise, fading, bandwidth filter
├── neon-lamp.js # Hysteresis, glow, persistence
│
├── video/
│ ├── stookie-bill.webm # Looped dummy footage
│ └── test-card.webm # Test card
│
├── textures/
│ └── disk-hatching.svg # Period-style disk texture
│
├── Makefile
├── test.html
├── README.md
└── tests/
├── nipkow.test.js
├── channel.test.js
└── signal-flow.test.js
Technical Decisions
| Decision | Choice | Rationale |
|---|---|---|
| Rendering | Canvas 2D | 30×70 pixels with glow; no WebGL complexity needed |
| Audio | Web Audio API | AudioWorklet for signal sonification |
| Input | Pointer Events | Unified mouse/touch/stylus for tuning knobs |
| Lazy loading | data-lazy on receiver |
Don’t churn until reader scrolls there |
| Fallback | Progressive enhancement | Static image if JS disabled |
Implementation Sequence
-
nipkow.js — Pure math, testable. Aperture positions, sampling coordinates, area integration.
-
channel.js — Noise generators. Gaussian hiss, Poisson impulses, fading oscillator, low-pass filter.
-
neon-lamp.js — Display physics. Hysteresis state machine, gamma curve, persistence decay.
-
baird-transmitter.js — First visible figure. Video switching, disk animation, signal generation.
-
baird-signal.js — The dingbat. Waveform rendering, Web Audio playback, channel effects.
-
baird-receiver.js — The payoff. Tuning controls, motor simulation, neon display, image reconstruction.
Performance Considerations
Expected load is modest: - Video decoding handled by browser - ~26k samples/sec through pub/sub (array copying) - Three canvas elements with simple 2D rendering - Web Audio runs on dedicated thread
Optimizations if needed: - Pause figures when not in viewport (IntersectionObserver) - Throttle webcam capture to exactly 12.5 fps - Use requestAnimationFrame only when visible
Should run smoothly on laptops from the last 5 years. Mobile is the wildcard; webcam fallback to provided video keeps it usable.
Accessibility
Required for all figures (per Almanack standards):
- ARIA labels announcing purpose and state
- Keyboard controls (arrow keys for sliders, Tab for focus)
- Respect prefers-reduced-motion (disable auto-drift animations)
Physics Reference
From the Gemini spec (see _notes/Mechanical TV Simulation Design.md):
| Parameter | Value |
|---|---|
| Lines per frame | 30 |
| Frame rate | 12.5 fps |
| Aspect ratio | 3:7 (portrait) |
| Bandwidth | ~13 kHz |
| Sync frequency | 375 Hz (30 × 12.5) |
| Scanning | Vertical strips, bottom-to-top, left-to-right |
Neon lamp: - Strike voltage: ~0.8 (normalized) - Extinction voltage: ~0.6 (normalized) - Creates “soot and whitewash” high-contrast effect
Photosensor: - Simplified lag model (leaky integrator) - Spectral sensitivity not simulated (would complicate webcam input)
Open Questions
Resolved during brainstorming: - ✓ Scope: Signal chain demo with three figures - ✓ Video input: Stookie Bill, test card, webcam with fallback - ✓ Tuning: Assisted (not frustrating) - ✓ Aesthetic: Hybrid modern/period - ✓ Audio: On the signal dingbat only - ✓ Layout: Full-width figures
Related Documents
editorial/inbox/logiebair/_notes/Mechanical TV Simulation Design.md— Detailed physics spec from Geminieditorial/inbox/logiebair/_notes/whenpopular.md— Historical context on Baird’s legacydoc/process/plans/2026-01-11-interactive-figures-design.md— Almanack figures framework