@thi.ng/shader-ast-stdlib 1.0.3 → 1.0.5
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 +3 -215
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -130,217 +132,3 @@ and/or version bumps of transitive dependencies.
|
|
|
130
132
|
#### ♻️ Refactoring
|
|
131
133
|
|
|
132
134
|
- update cross2() as non-inline fn ([59d631a](https://github.com/thi-ng/umbrella/commit/59d631a))
|
|
133
|
-
|
|
134
|
-
## [0.11.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.11.0) (2021-11-17)
|
|
135
|
-
|
|
136
|
-
#### 🚀 Features
|
|
137
|
-
|
|
138
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
139
|
-
Improving the overall build ergonomics
|
|
140
|
-
- introduced a tools workspaces
|
|
141
|
-
- imported it in all needed packages/examples
|
|
142
|
-
- inclusive project root
|
|
143
|
-
|
|
144
|
-
#### ♻️ Refactoring
|
|
145
|
-
|
|
146
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
147
|
-
this commit reverts (partly) changes made in:
|
|
148
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
149
|
-
overall purpose is better testament ergonomics:
|
|
150
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
151
|
-
having a binary to handle this for us.
|
|
152
|
-
|
|
153
|
-
### [0.10.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.10.1) (2021-10-13)
|
|
154
|
-
|
|
155
|
-
#### ♻️ Refactoring
|
|
156
|
-
|
|
157
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
158
|
-
- add .js suffix for all relative imports
|
|
159
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
160
|
-
|
|
161
|
-
## [0.10.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.10.0) (2021-10-12)
|
|
162
|
-
|
|
163
|
-
#### 🛑 Breaking changes
|
|
164
|
-
|
|
165
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
166
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
167
|
-
- only ESM modules will be published from now on
|
|
168
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
169
|
-
- i.e. launch NodeJS via:
|
|
170
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
171
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
172
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
173
|
-
Also:
|
|
174
|
-
- normalize/restructure/reorg all package.json files
|
|
175
|
-
- cleanup all build scripts, remove obsolete
|
|
176
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
177
|
-
|
|
178
|
-
#### ♻️ Refactoring
|
|
179
|
-
|
|
180
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
181
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
182
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
183
|
-
- update imports ([b22054e](https://github.com/thi-ng/umbrella/commit/b22054e))
|
|
184
|
-
|
|
185
|
-
## [0.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.9.0) (2021-08-17)
|
|
186
|
-
|
|
187
|
-
#### 🚀 Features
|
|
188
|
-
|
|
189
|
-
- add level correction fns ([54963e7](https://github.com/thi-ng/umbrella/commit/54963e7))
|
|
190
|
-
|
|
191
|
-
## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.8.0) (2021-08-13)
|
|
192
|
-
|
|
193
|
-
#### 🚀 Features
|
|
194
|
-
|
|
195
|
-
- add SDF polyhedra fns ([2100e50](https://github.com/thi-ng/umbrella/commit/2100e50))
|
|
196
|
-
- add oscillator fns ([f14e8cb](https://github.com/thi-ng/umbrella/commit/f14e8cb))
|
|
197
|
-
- add SDF domain ops ([c41b288](https://github.com/thi-ng/umbrella/commit/c41b288))
|
|
198
|
-
- add sdfMirror2()
|
|
199
|
-
- add sdfRepeatPolar()
|
|
200
|
-
- add variadic SDF ops ([8d6390c](https://github.com/thi-ng/umbrella/commit/8d6390c))
|
|
201
|
-
|
|
202
|
-
#### ♻️ Refactoring
|
|
203
|
-
|
|
204
|
-
- update vec const handling ([3b31e72](https://github.com/thi-ng/umbrella/commit/3b31e72))
|
|
205
|
-
|
|
206
|
-
## [0.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.7.0) (2021-08-09)
|
|
207
|
-
|
|
208
|
-
#### 🚀 Features
|
|
209
|
-
|
|
210
|
-
- add sdfUnion2(), add missing exports ([9d52838](https://github.com/thi-ng/umbrella/commit/9d52838))
|
|
211
|
-
- variadic sdf isec/sub/union ([fbff935](https://github.com/thi-ng/umbrella/commit/fbff935))
|
|
212
|
-
|
|
213
|
-
## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.6.0) (2021-04-24)
|
|
214
|
-
|
|
215
|
-
#### 🚀 Features
|
|
216
|
-
|
|
217
|
-
- add decodeRGBE() ([f98c6a2](https://github.com/thi-ng/umbrella/commit/f98c6a2))
|
|
218
|
-
|
|
219
|
-
### [0.5.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.5.6) (2020-12-07)
|
|
220
|
-
|
|
221
|
-
#### ♻️ Refactoring
|
|
222
|
-
|
|
223
|
-
- update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
|
|
224
|
-
|
|
225
|
-
### [0.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.5.1) (2020-09-13)
|
|
226
|
-
|
|
227
|
-
#### ♻️ Refactoring
|
|
228
|
-
|
|
229
|
-
- update imports ([643376a](https://github.com/thi-ng/umbrella/commit/643376a))
|
|
230
|
-
|
|
231
|
-
## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.5.0) (2020-08-28)
|
|
232
|
-
|
|
233
|
-
#### 🚀 Features
|
|
234
|
-
|
|
235
|
-
- add fit()/fitClamped() ([64ba64c](https://github.com/thi-ng/umbrella/commit/64ba64c))
|
|
236
|
-
- add mixCubic()/mixQuadratic() ([4dfc020](https://github.com/thi-ng/umbrella/commit/4dfc020))
|
|
237
|
-
- add ACES film tonemapping ([8a0b1a3](https://github.com/thi-ng/umbrella/commit/8a0b1a3))
|
|
238
|
-
- update module re-exports
|
|
239
|
-
|
|
240
|
-
#### ♻️ Refactoring
|
|
241
|
-
|
|
242
|
-
- update various sym() decls ([a5901ab](https://github.com/thi-ng/umbrella/commit/a5901ab))
|
|
243
|
-
- remove obsolete type arg
|
|
244
|
-
- update/dedupe various fns/overrides ([8e5635b](https://github.com/thi-ng/umbrella/commit/8e5635b))
|
|
245
|
-
|
|
246
|
-
### [0.4.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.4.5) (2020-08-16)
|
|
247
|
-
|
|
248
|
-
#### ⏱ Performance improvements
|
|
249
|
-
|
|
250
|
-
- update blur9/13() ([de632c6](https://github.com/thi-ng/umbrella/commit/de632c6))
|
|
251
|
-
|
|
252
|
-
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.4.0) (2020-08-08)
|
|
253
|
-
|
|
254
|
-
#### 🚀 Features
|
|
255
|
-
|
|
256
|
-
- add borderMask() ([bea00bf](https://github.com/thi-ng/umbrella/commit/bea00bf))
|
|
257
|
-
|
|
258
|
-
#### ♻️ Refactoring
|
|
259
|
-
|
|
260
|
-
- minor update additive() ([ae593e4](https://github.com/thi-ng/umbrella/commit/ae593e4))
|
|
261
|
-
|
|
262
|
-
### [0.3.5](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.3.5) (2020-02-25)
|
|
263
|
-
|
|
264
|
-
#### ♻️ Refactoring
|
|
265
|
-
|
|
266
|
-
- update imports ([863909a](https://github.com/thi-ng/umbrella/commit/863909a))
|
|
267
|
-
|
|
268
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.3.0) (2019-09-21)
|
|
269
|
-
|
|
270
|
-
#### 🚀 Features
|
|
271
|
-
|
|
272
|
-
- add snoise3 & curlNoise3 ([a7dc75d](https://github.com/thi-ng/umbrella/commit/a7dc75d))
|
|
273
|
-
- add rotationAroundAxis3/4, matrix conversions ([8a473c1](https://github.com/thi-ng/umbrella/commit/8a473c1))
|
|
274
|
-
- add fragUV() ([b85dc8b](https://github.com/thi-ng/umbrella/commit/b85dc8b))
|
|
275
|
-
|
|
276
|
-
#### 🩹 Bug fixes
|
|
277
|
-
|
|
278
|
-
- fix imports ([16823b2](https://github.com/thi-ng/umbrella/commit/16823b2))
|
|
279
|
-
- fix imports ([188309a](https://github.com/thi-ng/umbrella/commit/188309a))
|
|
280
|
-
|
|
281
|
-
#### ♻️ Refactoring
|
|
282
|
-
|
|
283
|
-
- update snoise3 ([fddfa85](https://github.com/thi-ng/umbrella/commit/fddfa85))
|
|
284
|
-
- more snoise3 refactoring ([977f0db](https://github.com/thi-ng/umbrella/commit/977f0db))
|
|
285
|
-
|
|
286
|
-
### [0.2.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.2.3) (2019-08-21)
|
|
287
|
-
|
|
288
|
-
#### ♻️ Refactoring
|
|
289
|
-
|
|
290
|
-
- update & fix porterDuff() HOF ([5f83ce1](https://github.com/thi-ng/umbrella/commit/5f83ce1))
|
|
291
|
-
- update clamp01/clamp11() ([bd59ff5](https://github.com/thi-ng/umbrella/commit/bd59ff5))
|
|
292
|
-
- update permute fns (re-use) ([c5a36a1](https://github.com/thi-ng/umbrella/commit/c5a36a1))
|
|
293
|
-
- update readIndex*() ([e6775f7](https://github.com/thi-ng/umbrella/commit/e6775f7))
|
|
294
|
-
|
|
295
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.2.0) (2019-07-31)
|
|
296
|
-
|
|
297
|
-
#### 🚀 Features
|
|
298
|
-
|
|
299
|
-
- add guassian blur fns ([759ace7](https://github.com/thi-ng/umbrella/commit/759ace7))
|
|
300
|
-
- add porter-duff operators ([285197d](https://github.com/thi-ng/umbrella/commit/285197d))
|
|
301
|
-
|
|
302
|
-
### [0.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.1.1) (2019-07-08)
|
|
303
|
-
|
|
304
|
-
#### 🩹 Bug fixes
|
|
305
|
-
|
|
306
|
-
- update incomplete cartesian3, refactor cartesian2 ([3299d59](https://github.com/thi-ng/umbrella/commit/3299d59))
|
|
307
|
-
|
|
308
|
-
#### ♻️ Refactoring
|
|
309
|
-
|
|
310
|
-
- update function arg lists ([#98](https://github.com/thi-ng/umbrella/issues/98)) ([7d5fdce](https://github.com/thi-ng/umbrella/commit/7d5fdce))
|
|
311
|
-
|
|
312
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.1.0) (2019-07-07)
|
|
313
|
-
|
|
314
|
-
#### 🚀 Features
|
|
315
|
-
|
|
316
|
-
- extract stdlib as separate pkg ([86461ed](https://github.com/thi-ng/umbrella/commit/86461ed))
|
|
317
|
-
- add new fns, various refactoring, add docs ([b215055](https://github.com/thi-ng/umbrella/commit/b215055))
|
|
318
|
-
- add clamp11(), orthogonal(), rayPointAt()
|
|
319
|
-
- split lambert() / halfLambert()
|
|
320
|
-
- switch to more inline fns
|
|
321
|
-
- add 2d worley noise & permutations ([a645c71](https://github.com/thi-ng/umbrella/commit/a645c71))
|
|
322
|
-
- add voronoise2() & hash3() ([4bafe19](https://github.com/thi-ng/umbrella/commit/4bafe19))
|
|
323
|
-
- add snoise2, distance fns ([0849f8b](https://github.com/thi-ng/umbrella/commit/0849f8b))
|
|
324
|
-
- add additive() HOF ([43b2223](https://github.com/thi-ng/umbrella/commit/43b2223))
|
|
325
|
-
- add readIndex fns, hash2, minor refactorings ([34b20f0](https://github.com/thi-ng/umbrella/commit/34b20f0))
|
|
326
|
-
- add indexTo*() and readIndex*() fns ([a804c28](https://github.com/thi-ng/umbrella/commit/a804c28))
|
|
327
|
-
- add more hash fns, update voronoise2 ([65b2a15](https://github.com/thi-ng/umbrella/commit/65b2a15))
|
|
328
|
-
- add more functions ([4b6e4fe](https://github.com/thi-ng/umbrella/commit/4b6e4fe))
|
|
329
|
-
- toLinear() / toSRGB()
|
|
330
|
-
- luminanceRGB()
|
|
331
|
-
- cartesian2/3() / polar2/3()
|
|
332
|
-
- perpendicularCW/CCW()
|
|
333
|
-
- sincos() / cossin()
|
|
334
|
-
- rotation matrix factories for mat2/3/4
|
|
335
|
-
|
|
336
|
-
#### 🩹 Bug fixes
|
|
337
|
-
|
|
338
|
-
- update additive() fn arg type ([5d66ff2](https://github.com/thi-ng/umbrella/commit/5d66ff2))
|
|
339
|
-
- fix imports ([4d9e126](https://github.com/thi-ng/umbrella/commit/4d9e126))
|
|
340
|
-
- fix rotationX4/Y4 return types ([c858dce](https://github.com/thi-ng/umbrella/commit/c858dce))
|
|
341
|
-
|
|
342
|
-
#### ♻️ Refactoring
|
|
343
|
-
|
|
344
|
-
- update raymarchScene/AO loops ([8a4bd89](https://github.com/thi-ng/umbrella/commit/8a4bd89))
|
|
345
|
-
- use post-increment for counter to be compatible w/ WebGL1
|
|
346
|
-
- reorg src folder ([ebaa1c2](https://github.com/thi-ng/umbrella/commit/ebaa1c2))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-stdlib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -43,14 +43,13 @@
|
|
|
43
43
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@thi.ng/api": "^8.11.
|
|
47
|
-
"@thi.ng/shader-ast": "^1.0.
|
|
46
|
+
"@thi.ng/api": "^8.11.18",
|
|
47
|
+
"@thi.ng/shader-ast": "^1.0.5"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
51
50
|
"esbuild": "^0.24.2",
|
|
52
51
|
"typedoc": "^0.27.6",
|
|
53
|
-
"typescript": "^5.7.
|
|
52
|
+
"typescript": "^5.7.3"
|
|
54
53
|
},
|
|
55
54
|
"keywords": [
|
|
56
55
|
"ast",
|
|
@@ -377,5 +376,5 @@
|
|
|
377
376
|
],
|
|
378
377
|
"year": 2019
|
|
379
378
|
},
|
|
380
|
-
"gitHead": "
|
|
379
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
381
380
|
}
|