a simple waveform image generator with no hard dependencies outside npm