in function set, line 533: currentHue = newHsv.h; but the problem is that we expect currentHue to be in this range: <0, 1> so actually there should be: currentHue = newHsv.h/360; then slider works, but I don't know if this patch doesn't break other stuff