← All ideas

Color Ramp - Sort Stops

Four new options under the "tools" dropdown in the Color Ramp node, all of which would reorder the stops based on their HSV value.

  • Sort By Hue
  • Sort By Saturation
  • Sort By Value
  • Sort By Alpha

There are two approaches the positioning of the stops could be handled:

  • The positions are kept from before sorting, and the stops are simply swapped. If two or more have the same value, the one further to the left takes priority.
  • The stops are repositioned based on their values. If two or more stops have the same value, they are either averaged or the first one takes priority and the rest are discarded.
100%

Development Status: Open

Upvote 9 Downvote 0
Zaki
6 Jul 2023

1 Comment

pablovazquez

Nice one!

Regarding the positioning, I'd keep the position as is, and introduce new operators for positioning if necessary (for example to "Space Stops Evenly").

This is a great example of a Good First Issue for a new developer that wants to try getting into Blender development.