An accurate and fast waveform renderer