mirror of
https://github.com/Mjokfox/color_picker.git
synced 2024-12-04 07:54:01 -05:00
Compare commits
2 commits
88ec9fef7c
...
a6768b7c17
Author | SHA1 | Date | |
---|---|---|---|
|
a6768b7c17 | ||
|
44f947f099 |
2 changed files with 17 additions and 1 deletions
18
README.md
18
README.md
|
@ -1 +1,17 @@
|
|||
Color picker for the [hexcol minetest mod](https://gitinthebutt.ofafox.com/Bob/hexcol)
|
||||
# Color picker for hexcol mod
|
||||
Quite heavy weight color picker for [hexcol](https://gitoverit.ofafox.com/Bob/hexcol). Featuring two mapping options and four different color spaces.
|
||||
## mapping
|
||||
- Sliders: Adjust sliders to the exact value for the selected color space, click on the color preview to receive the item.
|
||||
- 2d map: A map showing a whole range of colors in the selected color space, including a slider since evey space is 3 dimensions wide.
|
||||
|
||||
## color spaces
|
||||
- RGB: The simple direct represenation of the color, the mapping is a little different than the other spaces, with b/g on x/y and red as slider
|
||||
- HSV: Hue Saturation Value, represented in degrees, and percentage. Value being "brightness"
|
||||
- HSL: same as hsv, expect lightness instead of brightness
|
||||
- Oklab: actually OklcH, a space where lightness is not direct, rather perceived brightness, selecting a hue and chroma (similar to saturation) and sliding through brightness, should yield colors that look equally bright
|
||||
|
||||
In the top left, the mapping can be selected with the dropdown, and the top right the color space.
|
||||
The 2d map is quite heavy on resources, hence sliders is the default selected option. A "rate limiter" is added with the option to modify the minimum interval between updates for the map int he mod settings.
|
||||
The picker is added as an inventory item, but also integrated into unified inventory as a button
|
||||
|
||||
![screenshot](https://github.com/Mjokfox/color_picker/blob/main/Screenshot.png)
|
||||
|
|
BIN
Screenshot.png
Normal file
BIN
Screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 937 KiB |
Loading…
Reference in a new issue