diff --git a/template/stdlib/color.lua b/template/stdlib/color.lua index 4855741..a1da8c4 100644 --- a/template/stdlib/color.lua +++ b/template/stdlib/color.lua @@ -284,6 +284,7 @@ end --- smoother hsv. not correct but looks nicer ---@return color function shsv(h, s, v, a) + h = h % 1 return hsv(h * h * (3 - 2 * h), s, v, a) end