ID:2830649
 
Resolved
Gradients in hue-based color spaces were calculated incorrectly.
BYOND Version:514
Operating System:Linux
Web Browser:Firefox 106.0
Applies to:Dream Daemon
Status: Resolved (515.1594)

This issue has been resolved.
Descriptive Problem Summary:
HSV/HSL seems to have a really strange interpolation

Code Snippet to Reproduce Problem:
for(var/i in 0 to 10)
world.log << gradient(list(0, "#ff0000", 1, "#00ff00", space=COLORSPACE_HSL), i/10)


Actual/ExpectedResults:



Does the problem occur: Everytime

When does the problem NOT occur? Not using HSV/HSL colorspace gradients

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Unknown

Workarounds: not use HSL/HSV in gradient

After some more experimenting it seems it does a full loop before arriving at the value

Lummox JR resolved issue with message:
Gradients in hue-based color spaces were calculated incorrectly.