@thi.ng/wasm-api-webgl 1.0.29 → 1.0.30
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 +20 -19
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/wasm-api-webgl)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -26,19 +27,19 @@
|
|
|
26
27
|
|
|
27
28
|
## About
|
|
28
29
|
|
|
29
|
-
WebGL bridge API for hybrid TypeScript & WASM (Zig) applications. This is a support package for [@thi.ng/wasm-api](https://
|
|
30
|
-
[@thi.ng/webgl](https://
|
|
30
|
+
WebGL bridge API for hybrid TypeScript & WASM (Zig) applications. This is a support package for [@thi.ng/wasm-api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/wasm-api). It's also closely aligned with and directly interacts with
|
|
31
|
+
[@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl).
|
|
31
32
|
|
|
32
33
|
## Status
|
|
33
34
|
|
|
34
35
|
**ALPHA** - bleeding edge / work-in-progress
|
|
35
36
|
|
|
36
|
-
[Search or submit any issues for this package](https://
|
|
37
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bwasm-api-webgl%5D)
|
|
37
38
|
|
|
38
39
|
## Related packages
|
|
39
40
|
|
|
40
|
-
- [@thi.ng/wasm-api-canvas](https://
|
|
41
|
-
- [@thi.ng/webgl](https://
|
|
41
|
+
- [@thi.ng/wasm-api-canvas](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/wasm-api-canvas) - HTML Canvas2D bridge API for hybrid TypeScript & WASM (Zig) applications
|
|
42
|
+
- [@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl) - WebGL & GLSL abstraction layer
|
|
42
43
|
|
|
43
44
|
## Installation
|
|
44
45
|
|
|
@@ -64,23 +65,23 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.29 KB
|
|
|
64
65
|
|
|
65
66
|
## Dependencies
|
|
66
67
|
|
|
67
|
-
- [@thi.ng/api](https://
|
|
68
|
-
- [@thi.ng/errors](https://
|
|
69
|
-
- [@thi.ng/wasm-api](https://
|
|
70
|
-
- [@thi.ng/wasm-api-dom](https://
|
|
71
|
-
- [@thi.ng/webgl](https://
|
|
68
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
69
|
+
- [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
|
|
70
|
+
- [@thi.ng/wasm-api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/wasm-api)
|
|
71
|
+
- [@thi.ng/wasm-api-dom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/wasm-api-dom)
|
|
72
|
+
- [@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl)
|
|
72
73
|
|
|
73
74
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
74
75
|
|
|
75
76
|
## Usage examples
|
|
76
77
|
|
|
77
78
|
One project in this repo's
|
|
78
|
-
[/examples](https://
|
|
79
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
79
80
|
directory is using this package:
|
|
80
81
|
|
|
81
|
-
| Screenshot | Description | Live demo | Source
|
|
82
|
-
|
|
83
|
-
| <img src="https://
|
|
82
|
+
| Screenshot | Description | Live demo | Source |
|
|
83
|
+
|:------------------------------------------------------------------------------------------------------------------|:---------------------------------|:------------------------------------------------|:-------------------------------------------------------------------------------------|
|
|
84
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/zig-webgl.avif" width="240"/> | Basic Zig/WebAssembly WebGL demo | [Demo](https://demo.thi.ng/umbrella/zig-webgl/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/zig-webgl) |
|
|
84
85
|
|
|
85
86
|
## API
|
|
86
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/wasm-api-webgl",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "WebGL bridge API for hybrid TypeScript & WASM (Zig) applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/wasm-api-webgl"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/wasm-api-webgl",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@thi.ng/api": "^8.12.
|
|
45
|
-
"@thi.ng/errors": "^2.6.
|
|
46
|
-
"@thi.ng/wasm-api": "^2.4.
|
|
47
|
-
"@thi.ng/wasm-api-dom": "^2.0.
|
|
48
|
-
"@thi.ng/webgl": "^6.9.
|
|
44
|
+
"@thi.ng/api": "^8.12.18",
|
|
45
|
+
"@thi.ng/errors": "^2.6.7",
|
|
46
|
+
"@thi.ng/wasm-api": "^2.4.23",
|
|
47
|
+
"@thi.ng/wasm-api-dom": "^2.0.25",
|
|
48
|
+
"@thi.ng/webgl": "^6.9.104"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@thi.ng/wasm-api-bindgen": "^1.2.
|
|
51
|
+
"@thi.ng/wasm-api-bindgen": "^1.2.70",
|
|
52
52
|
"esbuild": "^0.27.2",
|
|
53
53
|
"typedoc": "^0.28.16",
|
|
54
54
|
"typescript": "^5.9.3"
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"tag": "wasm",
|
|
101
101
|
"year": 2024
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
104
104
|
}
|