@thi.ng/webgl 6.9.11 → 6.9.12
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 +4 -2
- package/package.json +20 -19
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 199 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
|
>
|
|
@@ -79,6 +79,7 @@ Largely declarative WebGL 1.0 / 2.0 abstraction layer, partially ported
|
|
|
79
79
|
- [@thi.ng/soa](https://github.com/thi-ng/umbrella/tree/develop/packages/soa) - SOA & AOS memory mapped structured views with optional & extensible serialization
|
|
80
80
|
- [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors) - Optimized 2d/3d/4d and arbitrary length vector operations, support for memory mapping/layouts
|
|
81
81
|
- [@thi.ng/vector-pools](https://github.com/thi-ng/umbrella/tree/develop/packages/vector-pools) - Data structures for managing & working with strided, memory mapped vectors
|
|
82
|
+
- [@thi.ng/wasm-api-webgl](https://github.com/thi-ng/umbrella/tree/develop/packages/wasm-api-webgl) - WebGL bridge API for hybrid TypeScript & WASM (Zig) applications
|
|
82
83
|
|
|
83
84
|
## Installation
|
|
84
85
|
|
|
@@ -125,7 +126,7 @@ Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
|
125
126
|
|
|
126
127
|
## Usage examples
|
|
127
128
|
|
|
128
|
-
|
|
129
|
+
23 projects in this repo's
|
|
129
130
|
[/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
|
|
130
131
|
directory are using this package:
|
|
131
132
|
|
|
@@ -153,6 +154,7 @@ directory are using this package:
|
|
|
153
154
|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-shadertoy.jpg" width="240"/> | Shadertoy-like WebGL setup | [Demo](https://demo.thi.ng/umbrella/webgl-shadertoy/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-shadertoy) |
|
|
154
155
|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-ssao.jpg" width="240"/> | WebGL screenspace ambient occlusion | [Demo](https://demo.thi.ng/umbrella/webgl-ssao/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-ssao) |
|
|
155
156
|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-texture-paint.jpg" width="240"/> | Interactively drawing to & reading from a WebGL offscreen render texture | [Demo](https://demo.thi.ng/umbrella/webgl-texture-paint/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-texture-paint) |
|
|
157
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/zig-webgl.avif" width="240"/> | Basic Zig/WebAssembly WebGL demo | [Demo](https://demo.thi.ng/umbrella/zig-webgl/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/zig-webgl) |
|
|
156
158
|
|
|
157
159
|
## API
|
|
158
160
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl",
|
|
3
|
-
"version": "6.9.
|
|
3
|
+
"version": "6.9.12",
|
|
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.11.
|
|
44
|
-
"@thi.ng/canvas": "^0.5.
|
|
45
|
-
"@thi.ng/checks": "^3.6.
|
|
46
|
-
"@thi.ng/equiv": "^2.1.
|
|
47
|
-
"@thi.ng/errors": "^2.5.
|
|
48
|
-
"@thi.ng/logger": "^3.0.
|
|
49
|
-
"@thi.ng/matrices": "^2.4.
|
|
50
|
-
"@thi.ng/memoize": "^3.3.
|
|
51
|
-
"@thi.ng/object-utils": "^1.1.
|
|
52
|
-
"@thi.ng/pixel": "^7.3.
|
|
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": "^9.1.
|
|
57
|
-
"@thi.ng/vector-pools": "^3.2.
|
|
58
|
-
"@thi.ng/vectors": "^7.11.
|
|
43
|
+
"@thi.ng/api": "^8.11.9",
|
|
44
|
+
"@thi.ng/canvas": "^0.5.2",
|
|
45
|
+
"@thi.ng/checks": "^3.6.11",
|
|
46
|
+
"@thi.ng/equiv": "^2.1.65",
|
|
47
|
+
"@thi.ng/errors": "^2.5.15",
|
|
48
|
+
"@thi.ng/logger": "^3.0.19",
|
|
49
|
+
"@thi.ng/matrices": "^2.4.9",
|
|
50
|
+
"@thi.ng/memoize": "^3.3.11",
|
|
51
|
+
"@thi.ng/object-utils": "^1.1.2",
|
|
52
|
+
"@thi.ng/pixel": "^7.3.2",
|
|
53
|
+
"@thi.ng/shader-ast": "^0.15.26",
|
|
54
|
+
"@thi.ng/shader-ast-glsl": "^0.4.134",
|
|
55
|
+
"@thi.ng/shader-ast-stdlib": "^0.18.26",
|
|
56
|
+
"@thi.ng/transducers": "^9.1.1",
|
|
57
|
+
"@thi.ng/vector-pools": "^3.2.9",
|
|
58
|
+
"@thi.ng/vectors": "^7.11.9"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@microsoft/api-extractor": "^7.47.5",
|
|
@@ -220,9 +220,10 @@
|
|
|
220
220
|
"shader-ast",
|
|
221
221
|
"soa",
|
|
222
222
|
"vectors",
|
|
223
|
-
"vector-pools"
|
|
223
|
+
"vector-pools",
|
|
224
|
+
"wasm-api-webgl"
|
|
224
225
|
],
|
|
225
226
|
"year": 2014
|
|
226
227
|
},
|
|
227
|
-
"gitHead": "
|
|
228
|
+
"gitHead": "f6e26ea1142525171de5d36b9c3119f2782bb437\n"
|
|
228
229
|
}
|