OlivierVicario / Perceptual-ColorPicker-Java

Choose from 3 to 7 colors from CIE Lab or Lch with different graphic tools
MIT License
11 stars 3 forks source link

Contraste update: Range #4

Open torridgristle opened 6 years ago

torridgristle commented 6 years ago

As far as I can tell Contraste will always go full max to min at the angle you choose, a slider for the range of the gradient will be helpful for when you don't want to use such a wide range. Perhaps a slider with two half-circles to represent the low and high ends?

range

Also I seen your work on the Java implementation of JzAzBz while looking it up myself, I'm looking forward to it.

OlivierVicario commented 6 years ago

Hi Torrid gristle, That could be a nice idea but in fact the way I choosed does not allow this I think. I worked firstly with plan equations but they were very instable. So I decided to use a gradient for the third coordinate. It looks like this :

gradient

So you see that the third coordinate (A' B' C') for A B C colors are the projection of these colors onto the gradient. So there is not actually absolute values but relatives values I think.

Concerning JzAzBz I made the java implementation but I did not yet publish it. Here is it netbeans project if you want to look at it :

PerceptualColorPickerLoader Jab 1.zip

OlivierVicario commented 6 years ago

The OSA UCS color system allows to see color planes that are not parallel to the axis : http://www.babelcolor.com/index_htm_files/AN-7%20The%20OSA%20UCS.pdf