I am looking for a real Digital Phosphor Oscilloscope. One that simulates a real analog oscilloscope like this one:

I want to write my own oscilloscope plugin but I need some help to figure out the math to build a DPO. If someone could provide me some source code to help me out in the right direction would be great!
The goal is to share a free VST DPO plugin.
Erwin.

