@thi.ng/geom-webgl 0.1.110 → 0.1.111
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 +22 -21
- package/package.json +13 -13
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/geom-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)
|
|
@@ -31,7 +32,7 @@ WebGL geometry/shape conversion & interop.
|
|
|
31
32
|
|
|
32
33
|
**ALPHA** - bleeding edge / work-in-progress
|
|
33
34
|
|
|
34
|
-
[Search or submit any issues for this package](https://
|
|
35
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bgeom-webgl%5D)
|
|
35
36
|
|
|
36
37
|
## Installation
|
|
37
38
|
|
|
@@ -63,29 +64,29 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.19 KB
|
|
|
63
64
|
|
|
64
65
|
## Dependencies
|
|
65
66
|
|
|
66
|
-
- [@thi.ng/api](https://
|
|
67
|
-
- [@thi.ng/checks](https://
|
|
68
|
-
- [@thi.ng/defmulti](https://
|
|
69
|
-
- [@thi.ng/errors](https://
|
|
70
|
-
- [@thi.ng/geom](https://
|
|
71
|
-
- [@thi.ng/object-utils](https://
|
|
72
|
-
- [@thi.ng/transducers](https://
|
|
73
|
-
- [@thi.ng/vector-pools](https://
|
|
74
|
-
- [@thi.ng/vectors](https://
|
|
75
|
-
- [@thi.ng/webgl](https://
|
|
67
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
68
|
+
- [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
|
|
69
|
+
- [@thi.ng/defmulti](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/defmulti)
|
|
70
|
+
- [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
|
|
71
|
+
- [@thi.ng/geom](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/geom)
|
|
72
|
+
- [@thi.ng/object-utils](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/object-utils)
|
|
73
|
+
- [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
74
|
+
- [@thi.ng/vector-pools](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vector-pools)
|
|
75
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
76
|
+
- [@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl)
|
|
76
77
|
|
|
77
78
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
78
79
|
|
|
79
80
|
## Usage examples
|
|
80
81
|
|
|
81
82
|
Two projects in this repo's
|
|
82
|
-
[/examples](https://
|
|
83
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
83
84
|
directory are using this package:
|
|
84
85
|
|
|
85
|
-
| Screenshot | Description | Live demo | Source
|
|
86
|
-
|
|
87
|
-
| <img src="https://
|
|
88
|
-
| <img src="https://
|
|
86
|
+
| Screenshot | Description | Live demo | Source |
|
|
87
|
+
|:------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------|:-------------------------------------------------------------|:--------------------------------------------------------------------------------------------------|
|
|
88
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/geom-webgl-attrib-pool.jpg" width="240"/> | Augmenting thi.ng/geom shapes for WebGL, using instancing & attribute buffers | [Demo](https://demo.thi.ng/umbrella/geom-webgl-attrib-pool/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/geom-webgl-attrib-pool) |
|
|
89
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/geom-webgl-basics.jpg" width="240"/> | Converting thi.ng/geom shape types for WebGL | [Demo](https://demo.thi.ng/umbrella/geom-webgl-basics/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/geom-webgl-basics) |
|
|
89
90
|
|
|
90
91
|
## API
|
|
91
92
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-webgl",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.111",
|
|
4
4
|
"description": "WebGL geometry/shape conversion & interop",
|
|
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/geom-webgl"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/geom-webgl",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/checks": "^3.8.
|
|
45
|
-
"@thi.ng/defmulti": "^3.0.
|
|
46
|
-
"@thi.ng/errors": "^2.6.
|
|
47
|
-
"@thi.ng/geom": "^8.3.
|
|
48
|
-
"@thi.ng/object-utils": "^1.3.
|
|
49
|
-
"@thi.ng/transducers": "^9.6.
|
|
50
|
-
"@thi.ng/vector-pools": "^3.2.
|
|
51
|
-
"@thi.ng/vectors": "^8.6.
|
|
52
|
-
"@thi.ng/webgl": "^6.9.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/checks": "^3.8.8",
|
|
45
|
+
"@thi.ng/defmulti": "^3.0.95",
|
|
46
|
+
"@thi.ng/errors": "^2.6.7",
|
|
47
|
+
"@thi.ng/geom": "^8.3.24",
|
|
48
|
+
"@thi.ng/object-utils": "^1.3.10",
|
|
49
|
+
"@thi.ng/transducers": "^9.6.31",
|
|
50
|
+
"@thi.ng/vector-pools": "^3.2.94",
|
|
51
|
+
"@thi.ng/vectors": "^8.6.26",
|
|
52
|
+
"@thi.ng/webgl": "^6.9.104"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"esbuild": "^0.27.2",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"tag": "webgl",
|
|
93
93
|
"year": 2024
|
|
94
94
|
},
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
96
96
|
}
|