Pre-render bar-gradient
Clean up the oscilloscope visualizer code