Light Pen
Draw on your screen
The forgotten input device that let users draw directly on CRT screens, popular for art software in the 1980s.
Overview
The light pen was a pointing device that detected the electron beam of a CRT display, allowing users to draw or select items directly on the screen. Popular in the 1980s home computer era for art programs, light pens offered an intuitive drawing experience years before graphics tablets became affordable.
Like light guns, light pens only worked with CRT displays and faded as technology moved on.
Fast Facts
- First use: 1952 (MIT Whirlwind computer)
- Home computer era: 1980s
- Technology: Photodiode detects CRT beam timing
- Primary use: Drawing, menu selection
- Limitation: CRT-only, arm fatigue
How They Worked
Light pens detected screen position by sensing the electron beam:
- Phototransistor in pen tip detects the brief flash of phosphor as the CRT raster scans past
- The timing of that flash is captured — usually by latching a hardware counter when the comparator output goes high
- Computer calculates screen coordinates from when the hit occurred relative to the start-of-frame interrupt — given a fixed scanline timing, the cycle count between vsync and pen-fire localises the pen to a specific pixel
- Pen position tracked once per frame
Unlike light guns, light pens needed to touch or nearly touch the screen.
Why CRT-only
The technique relies on a scanning electron beam. LCDs (and any progressive-scan flat panel) refresh the whole frame essentially simultaneously — there's no scanning beam to detect. Even on real CRT hardware fed through a modern scan converter, light pens are unreliable: the converter usually buffers and re-clocks a frame, breaking the timing relationship the pen depends on.
Hardware integration examples
- C64: The VIC-II latches the beam position into
$D013(LPENX) and$D014(LPENY) when the light pen pin fires. Software just reads those registers. - ZX Spectrum: No dedicated hardware register — software polls a status bit during the frame and counts T-states from the start-of-frame IRQ to localise the hit (see DK'Tronics Light Pen, below).
Home Computer Light Pens
Various manufacturers offered light pens:
| Product | Platform | Use |
|---|---|---|
| Inkwell (Gibson) Light Pen | C64 | Art software (paired with Flexidraw) |
| DK'Tronics Light Pen | ZX Spectrum | Drawing, educational software (1983, popular in UK schools) |
| Cumana Light Pen | BBC Micro | Drawing, technical illustration |
| Various generic | Multi-platform | Budget options |
The Koala Pad is sometimes confused with a light pen but is actually a graphics tablet with a stylus — different operating principle (resistive sensor on the pad, not CRT timing).
Light Pen Software
Drawing programs supported light pens:
- Koala Painter - C64 art program
- Art Studio - Various platforms
- Technical drawing - BBC Micro
- Educational software - Selection interfaces
Why They Faded
Light pens had significant problems:
- Arm fatigue - Holding at screen level
- Precision - Difficult to draw finely
- CRT-only - Technology limitation
- Competition - Mice and tablets were better
- Cost - Decent pens weren't cheap
By the late 1980s, mice and joysticks dominated.
The Graphics Tablet Succession
What light pens couldn't do, tablets could:
- Draw comfortably on desk
- Work with any display
- Pressure sensitivity (eventually)
- Better precision
Wacom tablets became the artist's choice.