106 reputation
5
bio website electrolabgames.com
location Seattle, WA
age 16
visits member for 2 years, 6 months
seen Sep 30 '13 at 5:27

Engineer at Electrolab Games


May
11
awarded  Announcer
Apr
18
comment How do you blend multiple colors in HSV (polar) color-space?
That's essentially what Nathan Reed proposed in another answer, but it does not produce correct results when the hues are close to 180 degrees appart.
Apr
13
awarded  Scholar
Apr
13
accepted How do you blend multiple colors in HSV (polar) color-space?
Apr
12
awarded  Editor
Apr
12
revised How do you blend multiple colors in HSV (polar) color-space?
added 74 characters in body
Apr
12
comment How do you blend multiple colors in HSV (polar) color-space?
I've thought about this too, like say you find the largest gap and recenter the "wrap point" to be within that gap. But this doesn't always work because the weights could bias the expected result towards the points nearest the gap, which breaks your proposed solution. I finally found a solution that works (see answer posted below).
Apr
12
answered How do you blend multiple colors in HSV (polar) color-space?
Apr
12
comment How do you blend multiple colors in HSV (polar) color-space?
Standard weighted averaging doesn't consider that the angles are continuous on a circle. For example, if I have values 10, 10, 350 with the same weight, the standard weighted average will be ~123, but the correct hue is ~3.
Apr
11
comment How do you blend multiple colors in HSV (polar) color-space?
In the diametrically opposed examples, almost any answer will do, so long as the interpolated result is smooth as you smoothly vary the weights of the contributors. For example, in the case of 0, 180, if both weights are equal, either 90 or 270 will work, so long as it is consistent.
Apr
11
comment How do you blend multiple colors in HSV (polar) color-space?
Thanks for the answer, I've tried this myself before, but this produces a linear NLerp-style interpolation, not a SLerp. What this means is if you have hues that are nearly 180 degrees appart, such as 0 and 179, the blend between them should be smooth and uniform along the arc between them, but instead is heavily biased toward 0 and toward 179.
Mar
31
awarded  Student
Mar
31
asked How do you blend multiple colors in HSV (polar) color-space?
Mar
31
awarded  Autobiographer