

Le 20211225 à 19:17, Tor Olav Kristensen a écrit :
> Alain Martel <kua### [at] videotronca> wrote:
>> Le 20211222 à 19:34, BayashiPascal a écrit :
>>> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
>>>> ...
>>>> And yesterday I made some functions that can be used for HSVcoloring of
>>>> pigments.
>>>> ...
>>>
>>> The "multilayered" aspect of the result is intriguing me. Does it come from a
>>> property of the function you've choosen, or from the way you choose to visualise
>>> it ?
>>> ...
>> Do you mean the repeating gradient ?
>> It comes from the way the «V» of the HSV value is computed, and values
>> larger than 1 get their integer part zeroed.
>>
>> Then, it's mapped to a 0..0.5 range.
>>
>> It could look something like this :
>> colour_map{
>> [0 hsv2rgb(<Hvalue, 1, 0>)]
>> [1 hsv2rgb(<Hvalue, 1, 0.5>)]
>> }
>
> Sorry Alain. I made a mistake and wrote "HSVcoloring" above. I meant to write
> "HSLcoloring". (I haven't yet looked at how HSV formulas works.)
>
> Also see my answer to Pascal in my previous post.
>
> 
> Tor Olav
> http://subcube.com
> https://github.com/tok
>
>
The HSV and HSL colour spaces are almost the same. The «V» component in
HSV does pretty much the same as the «L» in HSL.
Post a reply to this message

