EKG monitor effect..blip of moving light?

How would i go about simulating an EKG heart monitor through flash (or other prog).
Basic concept is a point of green light, moving across black background, in set pattern leaving a trace of green light behind.

Any Input would be great.:bounce: