a simple waveform image generator with no dependencies outside npm