Improve gradients
sharkdp opened this issue · comments
David Peter commented
-
hslGradient
should always take the shortest path along the "hue circle". - Add other types of gradients (rgbGradient, ..)
David Peter commented
- Provide interpolation functions:
data InterpolationMode = RGB | HSL
interpolate :: InterpolationMode -> Color -> Color -> Number -> Color
interpolate mode from to fraction = ...