Miserlou/browser-waveform — pull request #1 by lgarron (2011-12-06 22:46:18+00:00)
Title: Changed the waveform to a more pleasing gradient.

This reminds me of when I did the images for http://music.garron.us/hacks/ using https://github.com/lgarron/lgsound2png . It's hard to make them *really* pretty, but a gradual fade at the end looks a lot nicer.

Here's an example:
http://www.garron.us/archive/img/2011/gun_io_waveform_recolored.png

Values are hardcoded to gun.io's example just for demonstration. Not sure how what the best way is to handle arbitrary RGB color inputs and use them in color stops with varying transparencies.

If you want to merge this, great. If not, I hope something like this gets added.

Anyhow, this project seems quite exciting. I was lamenting the lack of an easy way to do this just yesterday. :-P