implemented simple oscilloscope visualization