1
0

🤖 Repository layout updated to latest version

This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
This commit is contained in:
Takunomi Automaticus, The 2nd 2024-07-10 21:07:39 +02:00
parent 9940e56908
commit 42f6dd2635

View File

@ -2,7 +2,7 @@
<!--- THIS IS AN AUTO-GENERATED FILE ---> <!--- THIS IS AN AUTO-GENERATED FILE --->
<!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN ---> <!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN --->
# Colors Colors
This is a collection of functions for performing color operations, designed to work with the LÖVE game engine. This is a collection of functions for performing color operations, designed to work with the LÖVE game engine.
@ -10,21 +10,22 @@ This is a collection of functions for performing color operations, designed to w
Supports following color formats: Supports following color formats:
rgb255: The standard computer representation, with each - `rgb255`: The standard computer representation, with each
```
channel (red, green, blue, alpha) in the [0-255] range. Alpha channel (red, green, blue, alpha) in the [0-255] range. Alpha
channel (index 4), can either be explicit or implicit (and taken channel (index 4), can either be explicit or implicit (and taken
to be 255.) to be 255.)
```
- `rgb1`: As above, except channels are in the [0-1] range.
- `hsl`: Hue-saturation-lightness representation (does not support alpha).
rgb1: As above, except channels are in the [0-1] range. ```
hsl: Hue-saturation-lightness representation (does not support alpha).
Hue channel is in the [0-1] range, instead of the standard [0-2*pi] range. Hue channel is in the [0-1] range, instead of the standard [0-2*pi] range.
```
## Functions ## [Functions](#Functions)
interpolate_rgb (c1, c2, t) interpolate_rgb (c1, c2, t)
Interpolation Interpolation
@ -37,7 +38,7 @@ Inversion
parse_rgb (str) parse_rgb (str)
Parsing Parsing
## Functions ## [None](None)Functions
interpolate_rgb (c1, c2, t) interpolate_rgb (c1, c2, t)
@ -82,8 +83,6 @@ parse_rgb (str)
str str
Error handling Error handling
# License # License
``` ```