new HSV gradient coloring types: shortest and longest path
Submitted by david gowers
Link to original bug (#141927)
Description
the current HSV blending means, getting a rainbowy transition or a simple transition is dependent on the actual colors involved. this is not very useful to me, i usually want to gradient along shortest path for the simplest blend. i have implemented a find_shortest_path function that returns CW or CCW depending on which is the shortest path to take through the hue wheel; i have tested this with the fg->bg gradients and it works well.
i would like to implement two new HSV blending modes, one which travels along the shortest path along hue, and one which travels along the longest path. i want to make these available in the menus and obsolete the old ones, since these provide the old functionality in a more consistent way.
Version: git master