@thi.ng/shader-ast-stdlib 1.0.4 → 1.0.6

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 +3 -215
  2. package/README.md +1 -1
  3. package/package.json +5 -7
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:53Z
3
+ - **Last updated**: 2025-01-29T16:25:48Z
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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 200 standalone projects, maintained as part
10
+ > This is one of 201 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/shader-ast-stdlib",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,21 +36,19 @@
36
36
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
37
37
  "clean": "bun ../../tools/src/clean-package.ts color fog light math matrix noise raymarch screen sdf tex",
38
38
  "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
39
- "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
40
39
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
41
40
  "pub": "yarn npm publish --access public",
42
41
  "test": "bun test",
43
42
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
43
  },
45
44
  "dependencies": {
46
- "@thi.ng/api": "^8.11.17",
47
- "@thi.ng/shader-ast": "^1.0.4"
45
+ "@thi.ng/api": "^8.11.19",
46
+ "@thi.ng/shader-ast": "^1.0.6"
48
47
  },
49
48
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.48.1",
51
49
  "esbuild": "^0.24.2",
52
50
  "typedoc": "^0.27.6",
53
- "typescript": "^5.7.2"
51
+ "typescript": "^5.7.3"
54
52
  },
55
53
  "keywords": [
56
54
  "ast",
@@ -377,5 +375,5 @@
377
375
  ],
378
376
  "year": 2019
379
377
  },
380
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
378
+ "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
381
379
  }