@thi.ng/webgl 6.0.11 → 6.1.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +280 -115
  2. package/dev/gl.js +675 -0
  3. package/package.json +217 -212
package/package.json CHANGED
@@ -1,214 +1,219 @@
1
1
  {
2
- "name": "@thi.ng/webgl",
3
- "version": "6.0.11",
4
- "description": "WebGL & GLSL abstraction layer",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/webgl#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc api geo shaders textures",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/adapt-dpi": "^2.0.6",
38
- "@thi.ng/api": "^8.2.0",
39
- "@thi.ng/associative": "^6.0.9",
40
- "@thi.ng/checks": "^3.0.7",
41
- "@thi.ng/equiv": "^2.0.7",
42
- "@thi.ng/errors": "^2.0.6",
43
- "@thi.ng/logger": "^1.0.6",
44
- "@thi.ng/matrices": "^2.0.9",
45
- "@thi.ng/memoize": "^3.0.8",
46
- "@thi.ng/pixel": "^3.1.0",
47
- "@thi.ng/shader-ast": "^0.11.9",
48
- "@thi.ng/shader-ast-glsl": "^0.3.9",
49
- "@thi.ng/shader-ast-stdlib": "^0.10.9",
50
- "@thi.ng/transducers": "^8.0.8",
51
- "@thi.ng/vector-pools": "^3.0.9",
52
- "@thi.ng/vectors": "^7.1.1"
53
- },
54
- "devDependencies": {
55
- "@thi.ng/testament": "^0.1.6"
56
- },
57
- "keywords": [
58
- "2d",
59
- "3d",
60
- "animation",
61
- "blend",
62
- "browser",
63
- "canvas",
64
- "datastructure",
65
- "declarative",
66
- "glsl",
67
- "gpgpu",
68
- "graphics",
69
- "shader",
70
- "shader-ast",
71
- "texture",
72
- "typedarray",
73
- "typescript",
74
- "webgl"
75
- ],
76
- "publishConfig": {
77
- "access": "public"
78
- },
79
- "engines": {
80
- "node": ">=12.7"
81
- },
82
- "files": [
83
- "*.js",
84
- "*.d.ts",
85
- "api",
86
- "geo",
87
- "shaders",
88
- "textures"
2
+ "name": "@thi.ng/webgl",
3
+ "version": "6.1.3",
4
+ "description": "WebGL & GLSL abstraction layer",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/webgl#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc api geo shaders textures",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/adapt-dpi": "^2.1.2",
38
+ "@thi.ng/api": "^8.3.2",
39
+ "@thi.ng/associative": "^6.1.2",
40
+ "@thi.ng/checks": "^3.1.2",
41
+ "@thi.ng/equiv": "^2.1.2",
42
+ "@thi.ng/errors": "^2.1.2",
43
+ "@thi.ng/logger": "^1.1.2",
44
+ "@thi.ng/matrices": "^2.1.3",
45
+ "@thi.ng/memoize": "^3.1.2",
46
+ "@thi.ng/pixel": "^3.2.3",
47
+ "@thi.ng/shader-ast": "^0.12.2",
48
+ "@thi.ng/shader-ast-glsl": "^0.4.2",
49
+ "@thi.ng/shader-ast-stdlib": "^0.11.2",
50
+ "@thi.ng/transducers": "^8.1.2",
51
+ "@thi.ng/vector-pools": "^3.1.3",
52
+ "@thi.ng/vectors": "^7.3.0"
53
+ },
54
+ "devDependencies": {
55
+ "@microsoft/api-extractor": "^7.18.19",
56
+ "@thi.ng/testament": "^0.2.2",
57
+ "rimraf": "^3.0.2",
58
+ "tools": "^0.0.1",
59
+ "typedoc": "^0.22.9",
60
+ "typescript": "^4.5.2"
61
+ },
62
+ "keywords": [
63
+ "2d",
64
+ "3d",
65
+ "animation",
66
+ "blend",
67
+ "browser",
68
+ "canvas",
69
+ "datastructure",
70
+ "declarative",
71
+ "glsl",
72
+ "gpgpu",
73
+ "graphics",
74
+ "shader",
75
+ "shader-ast",
76
+ "texture",
77
+ "typedarray",
78
+ "typescript",
79
+ "webgl"
80
+ ],
81
+ "publishConfig": {
82
+ "access": "public"
83
+ },
84
+ "engines": {
85
+ "node": ">=12.7"
86
+ },
87
+ "files": [
88
+ "*.js",
89
+ "*.d.ts",
90
+ "api",
91
+ "geo",
92
+ "shaders",
93
+ "textures"
94
+ ],
95
+ "exports": {
96
+ ".": {
97
+ "import": "./index.js"
98
+ },
99
+ "./api/blend": {
100
+ "import": "./api/blend.js"
101
+ },
102
+ "./api/buffers": {
103
+ "import": "./api/buffers.js"
104
+ },
105
+ "./api/canvas": {
106
+ "import": "./api/canvas.js"
107
+ },
108
+ "./api/ext": {
109
+ "import": "./api/ext.js"
110
+ },
111
+ "./api/glsl": {
112
+ "import": "./api/glsl.js"
113
+ },
114
+ "./api/material": {
115
+ "import": "./api/material.js"
116
+ },
117
+ "./api/model": {
118
+ "import": "./api/model.js"
119
+ },
120
+ "./api/multipass": {
121
+ "import": "./api/multipass.js"
122
+ },
123
+ "./api/shader": {
124
+ "import": "./api/shader.js"
125
+ },
126
+ "./api/stencil": {
127
+ "import": "./api/stencil.js"
128
+ },
129
+ "./api/texture": {
130
+ "import": "./api/texture.js"
131
+ },
132
+ "./buffer": {
133
+ "import": "./buffer.js"
134
+ },
135
+ "./canvas": {
136
+ "import": "./canvas.js"
137
+ },
138
+ "./checks": {
139
+ "import": "./checks.js"
140
+ },
141
+ "./draw": {
142
+ "import": "./draw.js"
143
+ },
144
+ "./error": {
145
+ "import": "./error.js"
146
+ },
147
+ "./fbo": {
148
+ "import": "./fbo.js"
149
+ },
150
+ "./geo/cube": {
151
+ "import": "./geo/cube.js"
152
+ },
153
+ "./geo/quad": {
154
+ "import": "./geo/quad.js"
155
+ },
156
+ "./logger": {
157
+ "import": "./logger.js"
158
+ },
159
+ "./material": {
160
+ "import": "./material.js"
161
+ },
162
+ "./matrices": {
163
+ "import": "./matrices.js"
164
+ },
165
+ "./multipass": {
166
+ "import": "./multipass.js"
167
+ },
168
+ "./rbo": {
169
+ "import": "./rbo.js"
170
+ },
171
+ "./readpixels": {
172
+ "import": "./readpixels.js"
173
+ },
174
+ "./shader": {
175
+ "import": "./shader.js"
176
+ },
177
+ "./shaders/lambert": {
178
+ "import": "./shaders/lambert.js"
179
+ },
180
+ "./shaders/phong": {
181
+ "import": "./shaders/phong.js"
182
+ },
183
+ "./shaders/pipeline": {
184
+ "import": "./shaders/pipeline.js"
185
+ },
186
+ "./syntax": {
187
+ "import": "./syntax.js"
188
+ },
189
+ "./texture": {
190
+ "import": "./texture.js"
191
+ },
192
+ "./textures/checkerboard": {
193
+ "import": "./textures/checkerboard.js"
194
+ },
195
+ "./textures/stripes": {
196
+ "import": "./textures/stripes.js"
197
+ },
198
+ "./uniforms": {
199
+ "import": "./uniforms.js"
200
+ },
201
+ "./utils": {
202
+ "import": "./utils.js"
203
+ }
204
+ },
205
+ "thi.ng": {
206
+ "related": [
207
+ "ecs",
208
+ "geom",
209
+ "imgui",
210
+ "matrices",
211
+ "shader-ast",
212
+ "soa",
213
+ "vectors",
214
+ "vector-pools"
89
215
  ],
90
- "exports": {
91
- ".": {
92
- "import": "./index.js"
93
- },
94
- "./api/blend": {
95
- "import": "./api/blend.js"
96
- },
97
- "./api/buffers": {
98
- "import": "./api/buffers.js"
99
- },
100
- "./api/canvas": {
101
- "import": "./api/canvas.js"
102
- },
103
- "./api/ext": {
104
- "import": "./api/ext.js"
105
- },
106
- "./api/glsl": {
107
- "import": "./api/glsl.js"
108
- },
109
- "./api/material": {
110
- "import": "./api/material.js"
111
- },
112
- "./api/model": {
113
- "import": "./api/model.js"
114
- },
115
- "./api/multipass": {
116
- "import": "./api/multipass.js"
117
- },
118
- "./api/shader": {
119
- "import": "./api/shader.js"
120
- },
121
- "./api/stencil": {
122
- "import": "./api/stencil.js"
123
- },
124
- "./api/texture": {
125
- "import": "./api/texture.js"
126
- },
127
- "./buffer": {
128
- "import": "./buffer.js"
129
- },
130
- "./canvas": {
131
- "import": "./canvas.js"
132
- },
133
- "./checks": {
134
- "import": "./checks.js"
135
- },
136
- "./draw": {
137
- "import": "./draw.js"
138
- },
139
- "./error": {
140
- "import": "./error.js"
141
- },
142
- "./fbo": {
143
- "import": "./fbo.js"
144
- },
145
- "./geo/cube": {
146
- "import": "./geo/cube.js"
147
- },
148
- "./geo/quad": {
149
- "import": "./geo/quad.js"
150
- },
151
- "./logger": {
152
- "import": "./logger.js"
153
- },
154
- "./material": {
155
- "import": "./material.js"
156
- },
157
- "./matrices": {
158
- "import": "./matrices.js"
159
- },
160
- "./multipass": {
161
- "import": "./multipass.js"
162
- },
163
- "./rbo": {
164
- "import": "./rbo.js"
165
- },
166
- "./readpixels": {
167
- "import": "./readpixels.js"
168
- },
169
- "./shader": {
170
- "import": "./shader.js"
171
- },
172
- "./shaders/lambert": {
173
- "import": "./shaders/lambert.js"
174
- },
175
- "./shaders/phong": {
176
- "import": "./shaders/phong.js"
177
- },
178
- "./shaders/pipeline": {
179
- "import": "./shaders/pipeline.js"
180
- },
181
- "./syntax": {
182
- "import": "./syntax.js"
183
- },
184
- "./texture": {
185
- "import": "./texture.js"
186
- },
187
- "./textures/checkerboard": {
188
- "import": "./textures/checkerboard.js"
189
- },
190
- "./textures/stripes": {
191
- "import": "./textures/stripes.js"
192
- },
193
- "./uniforms": {
194
- "import": "./uniforms.js"
195
- },
196
- "./utils": {
197
- "import": "./utils.js"
198
- }
199
- },
200
- "thi.ng": {
201
- "related": [
202
- "ecs",
203
- "geom",
204
- "imgui",
205
- "matrices",
206
- "shader-ast",
207
- "soa",
208
- "vectors",
209
- "vector-pools"
210
- ],
211
- "year": 2014
212
- },
213
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
214
- }
216
+ "year": 2014
217
+ },
218
+ "gitHead": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
219
+ }