Okhsl
and Okhsv
support for bevy_color
#17650
Labels
C-Feature
A new feature, making something new possible
S-Needs-Triage
This issue needs to be labelled
What problem does this solve or what need does it fill?
Okhsl
is better thanoklch
at randomly generating hues while keeping other conditions equal, as it is cylindrical and therefore allows more saturation without overflowing, which is an issue withoklch
.What solution would you like?
Add
okhsl
andokhsv
to thebevy_colors
.What alternative(s) have you considered?
Additional context
C++ code can be found here: https://bottosson.github.io/posts/colorpicker/
I could try implementing this for myself, but I'm new to the codebase and don't really know how to compute some values of the traits.
The text was updated successfully, but these errors were encountered: