@thi.ng/webgl 6.8.9 → 6.8.11
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/CHANGELOG.md +1 -1
- package/README.md +8 -8
- package/package.json +19 -18
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 192 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -86,7 +86,13 @@ Largely declarative WebGL 1.0 / 2.0 abstraction layer, partially ported
|
|
|
86
86
|
yarn add @thi.ng/webgl
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
ESM import:
|
|
90
|
+
|
|
91
|
+
```ts
|
|
92
|
+
import * as gl from "@thi.ng/webgl";
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Browser ESM import:
|
|
90
96
|
|
|
91
97
|
```html
|
|
92
98
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/webgl"></script>
|
|
@@ -94,12 +100,6 @@ ES module import:
|
|
|
94
100
|
|
|
95
101
|
[Skypack documentation](https://docs.skypack.dev/)
|
|
96
102
|
|
|
97
|
-
For Node.js REPL:
|
|
98
|
-
|
|
99
|
-
```js
|
|
100
|
-
const webgl = await import("@thi.ng/webgl");
|
|
101
|
-
```
|
|
102
|
-
|
|
103
103
|
Package sizes (brotli'd, pre-treeshake): ESM: 11.65 KB
|
|
104
104
|
|
|
105
105
|
## Dependencies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.11",
|
|
4
4
|
"description": "WebGL & GLSL abstraction layer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,22 +40,22 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.
|
|
44
|
-
"@thi.ng/associative": "^6.3.
|
|
45
|
-
"@thi.ng/canvas": "^0.2.
|
|
46
|
-
"@thi.ng/checks": "^3.
|
|
47
|
-
"@thi.ng/equiv": "^2.1.
|
|
48
|
-
"@thi.ng/errors": "^2.5.
|
|
49
|
-
"@thi.ng/logger": "^3.0.
|
|
50
|
-
"@thi.ng/matrices": "^2.3.
|
|
51
|
-
"@thi.ng/memoize": "^3.
|
|
52
|
-
"@thi.ng/pixel": "^6.1.
|
|
53
|
-
"@thi.ng/shader-ast": "^0.15.
|
|
54
|
-
"@thi.ng/shader-ast-glsl": "^0.4.
|
|
55
|
-
"@thi.ng/shader-ast-stdlib": "^0.18.
|
|
56
|
-
"@thi.ng/transducers": "^
|
|
57
|
-
"@thi.ng/vector-pools": "^3.1.
|
|
58
|
-
"@thi.ng/vectors": "^7.10.
|
|
43
|
+
"@thi.ng/api": "^8.10.1",
|
|
44
|
+
"@thi.ng/associative": "^6.3.56",
|
|
45
|
+
"@thi.ng/canvas": "^0.2.16",
|
|
46
|
+
"@thi.ng/checks": "^3.6.1",
|
|
47
|
+
"@thi.ng/equiv": "^2.1.55",
|
|
48
|
+
"@thi.ng/errors": "^2.5.4",
|
|
49
|
+
"@thi.ng/logger": "^3.0.9",
|
|
50
|
+
"@thi.ng/matrices": "^2.3.33",
|
|
51
|
+
"@thi.ng/memoize": "^3.3.1",
|
|
52
|
+
"@thi.ng/pixel": "^6.1.28",
|
|
53
|
+
"@thi.ng/shader-ast": "^0.15.11",
|
|
54
|
+
"@thi.ng/shader-ast-glsl": "^0.4.119",
|
|
55
|
+
"@thi.ng/shader-ast-stdlib": "^0.18.11",
|
|
56
|
+
"@thi.ng/transducers": "^9.0.1",
|
|
57
|
+
"@thi.ng/vector-pools": "^3.1.125",
|
|
58
|
+
"@thi.ng/vectors": "^7.10.27"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -208,6 +208,7 @@
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
"thi.ng": {
|
|
211
|
+
"alias": "gl",
|
|
211
212
|
"related": [
|
|
212
213
|
"ecs",
|
|
213
214
|
"geom",
|
|
@@ -220,5 +221,5 @@
|
|
|
220
221
|
],
|
|
221
222
|
"year": 2014
|
|
222
223
|
},
|
|
223
|
-
"gitHead": "
|
|
224
|
+
"gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
|
|
224
225
|
}
|