|
|
Le 2021-12-25 à 19:17, Tor Olav Kristensen a écrit :
> Alain Martel <kua### [at] videotronca> wrote:
>> Le 2021-12-22 à 19:34, BayashiPascal a écrit :
>>> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
>>>> ...
>>>> And yesterday I made some functions that can be used for HSV-coloring of
>>>> pigments.
>>>> ...
>>>
>>> The "multi-layered" 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 "HSV-coloring" above. I meant to write
> "HSL-coloring". (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/t-o-k
>
>
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
|
|