I have coded a gradient generator in C++. It generates beautiful bitmaps as above. Although I have not made the source code available, the executable can be found here. You can ask me for Binaries for other platforms as well (on email@example.com). I will try to reply in 48 hours.