@zakkster/lite-color-engine 1.0.1 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/package.json +12 -7
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# @zakkster/lite-color-engine
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@zakkster/lite-color-engine)
|
|
4
|
+
[](https://github.com/sponsors/PeshoVurtoleta)
|
|
4
5
|
[](https://bundlephobia.com/result?p=@zakkster/lite-color-engine)
|
|
5
6
|
[](https://www.npmjs.com/package/@zakkster/lite-color-engine)
|
|
7
|
+
[](https://www.npmjs.com/package/@zakkster/lite-color-engine)
|
|
6
8
|

|
|
7
9
|

|
|
8
10
|
[](./LICENSE.txt)
|
|
@@ -159,7 +161,7 @@ flowchart TD
|
|
|
159
161
|
W --> X[OKLCH → linear sRGB<br/><sub>cube + matrix</sub>]:::math
|
|
160
162
|
X --> Y[hard gamut clamp]:::math
|
|
161
163
|
Y --> Z[sRGB transfer<br/><sub>pow 1/2.4</sub>]:::math
|
|
162
|
-
Z --> AA[byte pack<br/><sub>A<<24 | B<<16 | G<<8 | R</sub>]:::math
|
|
164
|
+
Z --> AA["byte pack<br/><sub>A<<24 | B<<16 | G<<8 | R</sub>"]:::math
|
|
163
165
|
AA --> AB[Uint32 RGBA-LE]:::buf
|
|
164
166
|
|
|
165
167
|
classDef start fill:#e0f2fe,stroke:#0284c7
|
package/package.json
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zakkster/lite-color-engine",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"author": "Zahary Shinikchiev <shinikchiev@yahoo.com>",
|
|
5
5
|
"description": "Zero-GC, data-oriented OKLCH color engine and WebGL/Canvas buffer pipeline.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": false,
|
|
8
|
-
"main": "index.js",
|
|
9
|
-
"module": "index.js",
|
|
10
|
-
"types": "index.d.ts",
|
|
8
|
+
"main": "./index.js",
|
|
9
|
+
"module": "./index.js",
|
|
10
|
+
"types": "./index.d.ts",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
13
|
+
"node": "./index.js",
|
|
14
|
+
"types": "./index.d.ts",
|
|
15
|
+
"import": "./index.js",
|
|
16
|
+
"default": "./index.js"
|
|
16
17
|
}
|
|
17
18
|
},
|
|
18
19
|
"files": [
|
|
@@ -58,6 +59,10 @@
|
|
|
58
59
|
"url": "https://github.com/PeshoVurtoleta/lite-color-engine/issues",
|
|
59
60
|
"email": "shinikchiev@yahoo.com"
|
|
60
61
|
},
|
|
62
|
+
"funding": {
|
|
63
|
+
"type": "github",
|
|
64
|
+
"url": "https://github.com/sponsors/PeshoVurtoleta"
|
|
65
|
+
},
|
|
61
66
|
"engines": {
|
|
62
67
|
"node": ">=18"
|
|
63
68
|
}
|