I'm a fan of elegant ways to condense code. I find this ugly. Been staring at it for a while, can't think of a way to write this with less verbosity (ok, short of shorter var names but that's not what I mean). What do you guys think?if angle < 60:    red = 1    green = angle / 60    blue = 0elif angle < 120:    red = 1 - (angle - 60) / 60    green = 1    blue = 0elif angle < 180:    red = 0    green = 1    blue = (angle - 120) / 60elif angle < 240:    red = 0    green = 1 - (angle - 180) / 60    blue = 1elif angle < 300:    red = (angle - 240) / 60    green = 0    blue = 1else:    red = 1    green = 0    blue = 1 - (angle - 300) / 60Replying to a request for context:# a color wheel is drawn using aggdraw like so (the list of 360 colors I've obviously omitted but is contained in 'colors', as are several self-evident varsfor i in range(360):            brush = aggdraw.Brush(colors[i])            center = surface_width // 2            inner_radius = radius - 2            surface.polygon((center, center,                           int(round(inner_radius + math.sin((rotation - .25) * PI / 180) * inner_radius)),                           int(round(inner_radius + math.cos((rotation - .25) * PI / 180) * inner_radius)),                           int(round(inner_radius + math.sin((rotation + 1.25) * PI / 180) * inner_radius)),                           int(round(inner_radius + math.cos((rotation + 1.25) * PI / 180) * inner_radius))),                          brush)            rotation += 1            if rotation > 360:                rotation -= 360
Segmenting a color wheel
python