
Algorithm for simulating phosphor persistence of analog oscilloscopes
pillars
created: July 24, 2025, 6:56 a.m. | updated: July 27, 2025, 3:14 a.m.
Background to phosphor displays and analog oscilloscopesFor all of you that have used analog oscilloscopes or other equipment with a phosphor display knows how beautiful the image can be from such displays.
The exited phosphor coating emits its light during a longer time-period, even after the beam has left the spot (phosphor persistence).
This is dependent on the distance between the data points at a given sampling rate.
Hence all data points drawn during the time that the shutter is opened should be drawn at full intensity and only data points drawn before that should be drawn with a decaying intensity.
Using the algorithm described above with the Oscillofun song, we get a quite convincing animation of how an analog oscilloscope would display it.
1 week, 4 days ago: Hacker News: Front Page