@thi.ng/shader-ast-stdlib 0.10.8 → 0.11.2

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/package.json CHANGED
@@ -1,311 +1,316 @@
1
1
  {
2
- "name": "@thi.ng/shader-ast-stdlib",
3
- "version": "0.10.8",
4
- "description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
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/shader-ast-stdlib#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 color fog light math matrix noise raymarch screen sdf tex",
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/api": "^8.1.0",
38
- "@thi.ng/shader-ast": "^0.11.8"
39
- },
40
- "devDependencies": {
41
- "@thi.ng/testament": "^0.1.6"
42
- },
43
- "keywords": [
44
- "ast",
45
- "blur",
46
- "canvas",
47
- "codegen",
48
- "dsl",
49
- "fog",
50
- "functional",
51
- "glsl",
52
- "gpgpu",
53
- "higher-order",
54
- "inline",
55
- "interval",
56
- "lighting",
57
- "math",
58
- "matrix",
59
- "noise",
60
- "random",
61
- "raymarch",
62
- "rgb",
63
- "sdf",
64
- "shader",
65
- "texture",
66
- "typescript",
67
- "webgl"
68
- ],
69
- "publishConfig": {
70
- "access": "public"
71
- },
72
- "engines": {
73
- "node": ">=12.7"
74
- },
75
- "files": [
76
- "*.js",
77
- "*.d.ts",
78
- "color",
79
- "fog",
80
- "light",
81
- "math",
82
- "matrix",
83
- "noise",
84
- "raymarch",
85
- "screen",
86
- "sdf",
87
- "tex"
2
+ "name": "@thi.ng/shader-ast-stdlib",
3
+ "version": "0.11.2",
4
+ "description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
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/shader-ast-stdlib#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 color fog light math matrix noise raymarch screen sdf tex",
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/api": "^8.3.2",
38
+ "@thi.ng/shader-ast": "^0.12.2"
39
+ },
40
+ "devDependencies": {
41
+ "@microsoft/api-extractor": "^7.18.19",
42
+ "@thi.ng/testament": "^0.2.2",
43
+ "rimraf": "^3.0.2",
44
+ "tools": "^0.0.1",
45
+ "typedoc": "^0.22.9",
46
+ "typescript": "^4.5.2"
47
+ },
48
+ "keywords": [
49
+ "ast",
50
+ "blur",
51
+ "canvas",
52
+ "codegen",
53
+ "dsl",
54
+ "fog",
55
+ "functional",
56
+ "glsl",
57
+ "gpgpu",
58
+ "higher-order",
59
+ "inline",
60
+ "interval",
61
+ "lighting",
62
+ "math",
63
+ "matrix",
64
+ "noise",
65
+ "random",
66
+ "raymarch",
67
+ "rgb",
68
+ "sdf",
69
+ "shader",
70
+ "texture",
71
+ "typescript",
72
+ "webgl"
73
+ ],
74
+ "publishConfig": {
75
+ "access": "public"
76
+ },
77
+ "engines": {
78
+ "node": ">=12.7"
79
+ },
80
+ "files": [
81
+ "*.js",
82
+ "*.d.ts",
83
+ "color",
84
+ "fog",
85
+ "light",
86
+ "math",
87
+ "matrix",
88
+ "noise",
89
+ "raymarch",
90
+ "screen",
91
+ "sdf",
92
+ "tex"
93
+ ],
94
+ "exports": {
95
+ ".": {
96
+ "import": "./index.js"
97
+ },
98
+ "./api": {
99
+ "import": "./api.js"
100
+ },
101
+ "./color/aces-film": {
102
+ "import": "./color/aces-film.js"
103
+ },
104
+ "./color/levels": {
105
+ "import": "./color/levels.js"
106
+ },
107
+ "./color/linear-srgb": {
108
+ "import": "./color/linear-srgb.js"
109
+ },
110
+ "./color/luminance": {
111
+ "import": "./color/luminance.js"
112
+ },
113
+ "./color/porter-duff": {
114
+ "import": "./color/porter-duff.js"
115
+ },
116
+ "./color/rgbe": {
117
+ "import": "./color/rgbe.js"
118
+ },
119
+ "./fog/exp": {
120
+ "import": "./fog/exp.js"
121
+ },
122
+ "./fog/exp2": {
123
+ "import": "./fog/exp2.js"
124
+ },
125
+ "./fog/linear": {
126
+ "import": "./fog/linear.js"
127
+ },
128
+ "./light/lambert": {
129
+ "import": "./light/lambert.js"
130
+ },
131
+ "./light/trilight": {
132
+ "import": "./light/trilight.js"
133
+ },
134
+ "./math/additive": {
135
+ "import": "./math/additive.js"
136
+ },
137
+ "./math/cartesian": {
138
+ "import": "./math/cartesian.js"
139
+ },
140
+ "./math/clamp": {
141
+ "import": "./math/clamp.js"
142
+ },
143
+ "./math/cross2": {
144
+ "import": "./math/cross2.js"
145
+ },
146
+ "./math/dist-chebyshev": {
147
+ "import": "./math/dist-chebyshev.js"
148
+ },
149
+ "./math/dist-manhattan": {
150
+ "import": "./math/dist-manhattan.js"
151
+ },
152
+ "./math/fit": {
153
+ "import": "./math/fit.js"
154
+ },
155
+ "./math/magsq": {
156
+ "import": "./math/magsq.js"
157
+ },
158
+ "./math/maxcomp": {
159
+ "import": "./math/maxcomp.js"
160
+ },
161
+ "./math/mincomp": {
162
+ "import": "./math/mincomp.js"
163
+ },
164
+ "./math/mix-cubic": {
165
+ "import": "./math/mix-cubic.js"
166
+ },
167
+ "./math/mix-quadratic": {
168
+ "import": "./math/mix-quadratic.js"
169
+ },
170
+ "./math/orthogonal": {
171
+ "import": "./math/orthogonal.js"
172
+ },
173
+ "./math/osc": {
174
+ "import": "./math/osc.js"
175
+ },
176
+ "./math/polar": {
177
+ "import": "./math/polar.js"
178
+ },
179
+ "./math/sincos": {
180
+ "import": "./math/sincos.js"
181
+ },
182
+ "./matrix/convert": {
183
+ "import": "./matrix/convert.js"
184
+ },
185
+ "./matrix/lookat": {
186
+ "import": "./matrix/lookat.js"
187
+ },
188
+ "./matrix/mvp": {
189
+ "import": "./matrix/mvp.js"
190
+ },
191
+ "./matrix/normal": {
192
+ "import": "./matrix/normal.js"
193
+ },
194
+ "./matrix/rotation": {
195
+ "import": "./matrix/rotation.js"
196
+ },
197
+ "./noise/curl3": {
198
+ "import": "./noise/curl3.js"
199
+ },
200
+ "./noise/hash": {
201
+ "import": "./noise/hash.js"
202
+ },
203
+ "./noise/permute": {
204
+ "import": "./noise/permute.js"
205
+ },
206
+ "./noise/simplex2": {
207
+ "import": "./noise/simplex2.js"
208
+ },
209
+ "./noise/simplex3": {
210
+ "import": "./noise/simplex3.js"
211
+ },
212
+ "./noise/voronoi2": {
213
+ "import": "./noise/voronoi2.js"
214
+ },
215
+ "./noise/worley2": {
216
+ "import": "./noise/worley2.js"
217
+ },
218
+ "./raymarch/ao": {
219
+ "import": "./raymarch/ao.js"
220
+ },
221
+ "./raymarch/direction": {
222
+ "import": "./raymarch/direction.js"
223
+ },
224
+ "./raymarch/normal": {
225
+ "import": "./raymarch/normal.js"
226
+ },
227
+ "./raymarch/point-at": {
228
+ "import": "./raymarch/point-at.js"
229
+ },
230
+ "./raymarch/scene": {
231
+ "import": "./raymarch/scene.js"
232
+ },
233
+ "./screen/uv": {
234
+ "import": "./screen/uv.js"
235
+ },
236
+ "./sdf/annular": {
237
+ "import": "./sdf/annular.js"
238
+ },
239
+ "./sdf/box": {
240
+ "import": "./sdf/box.js"
241
+ },
242
+ "./sdf/cylinder": {
243
+ "import": "./sdf/cylinder.js"
244
+ },
245
+ "./sdf/isec": {
246
+ "import": "./sdf/isec.js"
247
+ },
248
+ "./sdf/line": {
249
+ "import": "./sdf/line.js"
250
+ },
251
+ "./sdf/mirror": {
252
+ "import": "./sdf/mirror.js"
253
+ },
254
+ "./sdf/plane": {
255
+ "import": "./sdf/plane.js"
256
+ },
257
+ "./sdf/polyhedra": {
258
+ "import": "./sdf/polyhedra.js"
259
+ },
260
+ "./sdf/repeat-polar": {
261
+ "import": "./sdf/repeat-polar.js"
262
+ },
263
+ "./sdf/repeat": {
264
+ "import": "./sdf/repeat.js"
265
+ },
266
+ "./sdf/round": {
267
+ "import": "./sdf/round.js"
268
+ },
269
+ "./sdf/smooth-isec": {
270
+ "import": "./sdf/smooth-isec.js"
271
+ },
272
+ "./sdf/smooth-sub": {
273
+ "import": "./sdf/smooth-sub.js"
274
+ },
275
+ "./sdf/smooth-union": {
276
+ "import": "./sdf/smooth-union.js"
277
+ },
278
+ "./sdf/sphere": {
279
+ "import": "./sdf/sphere.js"
280
+ },
281
+ "./sdf/sub": {
282
+ "import": "./sdf/sub.js"
283
+ },
284
+ "./sdf/torus": {
285
+ "import": "./sdf/torus.js"
286
+ },
287
+ "./sdf/tri": {
288
+ "import": "./sdf/tri.js"
289
+ },
290
+ "./sdf/union": {
291
+ "import": "./sdf/union.js"
292
+ },
293
+ "./tex/blur": {
294
+ "import": "./tex/blur.js"
295
+ },
296
+ "./tex/index-coord": {
297
+ "import": "./tex/index-coord.js"
298
+ },
299
+ "./tex/index-uv": {
300
+ "import": "./tex/index-uv.js"
301
+ },
302
+ "./tex/read-index": {
303
+ "import": "./tex/read-index.js"
304
+ }
305
+ },
306
+ "thi.ng": {
307
+ "parent": "@thi.ng/shader-ast",
308
+ "related": [
309
+ "shader-ast-glsl",
310
+ "shader-ast-js",
311
+ "webgl"
88
312
  ],
89
- "exports": {
90
- ".": {
91
- "import": "./index.js"
92
- },
93
- "./api": {
94
- "import": "./api.js"
95
- },
96
- "./color/aces-film": {
97
- "import": "./color/aces-film.js"
98
- },
99
- "./color/levels": {
100
- "import": "./color/levels.js"
101
- },
102
- "./color/linear-srgb": {
103
- "import": "./color/linear-srgb.js"
104
- },
105
- "./color/luminance": {
106
- "import": "./color/luminance.js"
107
- },
108
- "./color/porter-duff": {
109
- "import": "./color/porter-duff.js"
110
- },
111
- "./color/rgbe": {
112
- "import": "./color/rgbe.js"
113
- },
114
- "./fog/exp": {
115
- "import": "./fog/exp.js"
116
- },
117
- "./fog/exp2": {
118
- "import": "./fog/exp2.js"
119
- },
120
- "./fog/linear": {
121
- "import": "./fog/linear.js"
122
- },
123
- "./light/lambert": {
124
- "import": "./light/lambert.js"
125
- },
126
- "./light/trilight": {
127
- "import": "./light/trilight.js"
128
- },
129
- "./math/additive": {
130
- "import": "./math/additive.js"
131
- },
132
- "./math/cartesian": {
133
- "import": "./math/cartesian.js"
134
- },
135
- "./math/clamp": {
136
- "import": "./math/clamp.js"
137
- },
138
- "./math/cross2": {
139
- "import": "./math/cross2.js"
140
- },
141
- "./math/dist-chebyshev": {
142
- "import": "./math/dist-chebyshev.js"
143
- },
144
- "./math/dist-manhattan": {
145
- "import": "./math/dist-manhattan.js"
146
- },
147
- "./math/fit": {
148
- "import": "./math/fit.js"
149
- },
150
- "./math/magsq": {
151
- "import": "./math/magsq.js"
152
- },
153
- "./math/maxcomp": {
154
- "import": "./math/maxcomp.js"
155
- },
156
- "./math/mincomp": {
157
- "import": "./math/mincomp.js"
158
- },
159
- "./math/mix-cubic": {
160
- "import": "./math/mix-cubic.js"
161
- },
162
- "./math/mix-quadratic": {
163
- "import": "./math/mix-quadratic.js"
164
- },
165
- "./math/orthogonal": {
166
- "import": "./math/orthogonal.js"
167
- },
168
- "./math/osc": {
169
- "import": "./math/osc.js"
170
- },
171
- "./math/polar": {
172
- "import": "./math/polar.js"
173
- },
174
- "./math/sincos": {
175
- "import": "./math/sincos.js"
176
- },
177
- "./matrix/convert": {
178
- "import": "./matrix/convert.js"
179
- },
180
- "./matrix/lookat": {
181
- "import": "./matrix/lookat.js"
182
- },
183
- "./matrix/mvp": {
184
- "import": "./matrix/mvp.js"
185
- },
186
- "./matrix/normal": {
187
- "import": "./matrix/normal.js"
188
- },
189
- "./matrix/rotation": {
190
- "import": "./matrix/rotation.js"
191
- },
192
- "./noise/curl3": {
193
- "import": "./noise/curl3.js"
194
- },
195
- "./noise/hash": {
196
- "import": "./noise/hash.js"
197
- },
198
- "./noise/permute": {
199
- "import": "./noise/permute.js"
200
- },
201
- "./noise/simplex2": {
202
- "import": "./noise/simplex2.js"
203
- },
204
- "./noise/simplex3": {
205
- "import": "./noise/simplex3.js"
206
- },
207
- "./noise/voronoi2": {
208
- "import": "./noise/voronoi2.js"
209
- },
210
- "./noise/worley2": {
211
- "import": "./noise/worley2.js"
212
- },
213
- "./raymarch/ao": {
214
- "import": "./raymarch/ao.js"
215
- },
216
- "./raymarch/direction": {
217
- "import": "./raymarch/direction.js"
218
- },
219
- "./raymarch/normal": {
220
- "import": "./raymarch/normal.js"
221
- },
222
- "./raymarch/point-at": {
223
- "import": "./raymarch/point-at.js"
224
- },
225
- "./raymarch/scene": {
226
- "import": "./raymarch/scene.js"
227
- },
228
- "./screen/uv": {
229
- "import": "./screen/uv.js"
230
- },
231
- "./sdf/annular": {
232
- "import": "./sdf/annular.js"
233
- },
234
- "./sdf/box": {
235
- "import": "./sdf/box.js"
236
- },
237
- "./sdf/cylinder": {
238
- "import": "./sdf/cylinder.js"
239
- },
240
- "./sdf/isec": {
241
- "import": "./sdf/isec.js"
242
- },
243
- "./sdf/line": {
244
- "import": "./sdf/line.js"
245
- },
246
- "./sdf/mirror": {
247
- "import": "./sdf/mirror.js"
248
- },
249
- "./sdf/plane": {
250
- "import": "./sdf/plane.js"
251
- },
252
- "./sdf/polyhedra": {
253
- "import": "./sdf/polyhedra.js"
254
- },
255
- "./sdf/repeat-polar": {
256
- "import": "./sdf/repeat-polar.js"
257
- },
258
- "./sdf/repeat": {
259
- "import": "./sdf/repeat.js"
260
- },
261
- "./sdf/round": {
262
- "import": "./sdf/round.js"
263
- },
264
- "./sdf/smooth-isec": {
265
- "import": "./sdf/smooth-isec.js"
266
- },
267
- "./sdf/smooth-sub": {
268
- "import": "./sdf/smooth-sub.js"
269
- },
270
- "./sdf/smooth-union": {
271
- "import": "./sdf/smooth-union.js"
272
- },
273
- "./sdf/sphere": {
274
- "import": "./sdf/sphere.js"
275
- },
276
- "./sdf/sub": {
277
- "import": "./sdf/sub.js"
278
- },
279
- "./sdf/torus": {
280
- "import": "./sdf/torus.js"
281
- },
282
- "./sdf/tri": {
283
- "import": "./sdf/tri.js"
284
- },
285
- "./sdf/union": {
286
- "import": "./sdf/union.js"
287
- },
288
- "./tex/blur": {
289
- "import": "./tex/blur.js"
290
- },
291
- "./tex/index-coord": {
292
- "import": "./tex/index-coord.js"
293
- },
294
- "./tex/index-uv": {
295
- "import": "./tex/index-uv.js"
296
- },
297
- "./tex/read-index": {
298
- "import": "./tex/read-index.js"
299
- }
300
- },
301
- "thi.ng": {
302
- "parent": "@thi.ng/shader-ast",
303
- "related": [
304
- "shader-ast-glsl",
305
- "shader-ast-js",
306
- "webgl"
307
- ],
308
- "year": 2019
309
- },
310
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
311
- }
313
+ "year": 2019
314
+ },
315
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
316
+ }