Javascript graphics: Canvas with IE compatibility by Emil A. Eklund
HSL to RGB color conversion by Bjorn Tipling
For debugging I used the excellent log4javascript
Original algorithm reference: M. Beeler, R.W. Gosper and R. Schroeppel: "HAKMEM", AIM-239, MIT AI Lab, February 1972. ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-239.pdf