@thi.ng/geom-sdf 1.0.9 → 1.0.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-29T16:25:48Z
3
+ - **Last updated**: 2025-02-19T20:59:58Z
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.
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 201 standalone projects, maintained as part
10
+ > This is one of 202 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/as-sdf.d.ts CHANGED
@@ -2,10 +2,9 @@ import type { MultiFn1 } from "@thi.ng/defmulti";
2
2
  import type { IShape } from "@thi.ng/geom";
3
3
  import type { SDFn } from "./api.js";
4
4
  /**
5
- * Takes an
6
- * [`IShape`](https://docs.thi.ng/umbrella/geom/interfaces/IShape.html)
5
+ * Takes an [`IShape`](https://docs.thi.ng/umbrella/geom/interfaces/IShape.html)
7
6
  * instance (possibly a tree, e.g. via
8
- * [`group()`](https://docs.thi.ng/umbrella/geom/functions/group.html)) and
7
+ * [`group`](https://docs.thi.ng/umbrella/geom/functions/group.html)) and
9
8
  * converts it into a {@link SDFn}.
10
9
  *
11
10
  * @remarks
@@ -29,7 +28,7 @@ import type { SDFn } from "./api.js";
29
28
  * number of vertices. If not specified
30
29
  * [`DEFAULT_SAMPLES`](https://docs.thi.ng/umbrella/geom-resample/variables/DEFAULT_SAMPLES.html)
31
30
  * will be used (which can be globally set via
32
- * [`setDefaultSamples()`](https://docs.thi.ng/umbrella/geom-resample/functions/setDefaultSamples.html)).
31
+ * [`setDefaultSamples`](https://docs.thi.ng/umbrella/geom-resample/functions/setDefaultSamples.html)).
33
32
  */
34
33
  export declare const asSDF: MultiFn1<IShape, SDFn>;
35
34
  //# sourceMappingURL=as-sdf.d.ts.map
package/dist.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare const distPolyline2: (p: ReadonlyVec, pts: ReadonlyVec[]) => numb
62
62
  * https://iquilezles.org/articles/distfunctions2d/
63
63
  *
64
64
  * @param p
65
- * @param apert - pre-computed vec2 of [sin, cos] of aperture angle
65
+ * @param apert - pre-computed vec2 of `[sin,cos]` of aperture angle
66
66
  * @param ra - inner radius
67
67
  * @param rb - outer radius offset (thickness)
68
68
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/geom-sdf",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "2D Signed Distance Field creation from @thi.ng/geom shapes, conversions, sampling, combinators",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,21 +39,21 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.19",
43
- "@thi.ng/checks": "^3.6.22",
44
- "@thi.ng/defmulti": "^3.0.59",
45
- "@thi.ng/errors": "^2.5.25",
46
- "@thi.ng/geom": "^8.1.29",
47
- "@thi.ng/geom-isoline": "^2.1.159",
48
- "@thi.ng/geom-poly-utils": "^3.0.31",
49
- "@thi.ng/geom-resample": "^3.0.31",
50
- "@thi.ng/math": "^5.11.19",
51
- "@thi.ng/transducers": "^9.2.17",
52
- "@thi.ng/vectors": "^7.12.19"
42
+ "@thi.ng/api": "^8.11.21",
43
+ "@thi.ng/checks": "^3.6.24",
44
+ "@thi.ng/defmulti": "^3.0.61",
45
+ "@thi.ng/errors": "^2.5.27",
46
+ "@thi.ng/geom": "^8.1.31",
47
+ "@thi.ng/geom-isoline": "^2.1.161",
48
+ "@thi.ng/geom-poly-utils": "^3.0.33",
49
+ "@thi.ng/geom-resample": "^3.0.33",
50
+ "@thi.ng/math": "^5.11.21",
51
+ "@thi.ng/transducers": "^9.2.19",
52
+ "@thi.ng/vectors": "^7.12.21"
53
53
  },
54
54
  "devDependencies": {
55
- "esbuild": "^0.24.2",
56
- "typedoc": "^0.27.6",
55
+ "esbuild": "^0.25.0",
56
+ "typedoc": "^0.27.7",
57
57
  "typescript": "^5.7.3"
58
58
  },
59
59
  "keywords": [
@@ -127,7 +127,8 @@
127
127
  "shader-ast-stdlib"
128
128
  ],
129
129
  "status": "alpha",
130
+ "tag": "sdf",
130
131
  "year": 2022
131
132
  },
132
- "gitHead": "dcc1dbfa6eae31ac65e12843987b94d4a7edc144\n"
133
+ "gitHead": "bee617702ac61d093465b967f8f973dc566faa6b\n"
133
134
  }