@thi.ng/geom-sdf 0.3.28 → 0.3.29
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 +1 -1
- package/README.md +9 -3
- package/package.json +15 -14
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 191 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
|
>
|
|
@@ -127,7 +127,13 @@ support custom modfifiers. The table below illustrates a few examples effects:
|
|
|
127
127
|
yarn add @thi.ng/geom-sdf
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
ESM import:
|
|
131
|
+
|
|
132
|
+
```ts
|
|
133
|
+
import * as sdf from "@thi.ng/geom-sdf";
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
Browser ESM import:
|
|
131
137
|
|
|
132
138
|
```html
|
|
133
139
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-sdf"></script>
|
|
@@ -138,7 +144,7 @@ ES module import:
|
|
|
138
144
|
For Node.js REPL:
|
|
139
145
|
|
|
140
146
|
```js
|
|
141
|
-
const
|
|
147
|
+
const sdf = await import("@thi.ng/geom-sdf");
|
|
142
148
|
```
|
|
143
149
|
|
|
144
150
|
Package sizes (brotli'd, pre-treeshake): ESM: 3.65 KB
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/geom-sdf",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.29",
|
|
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",
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.
|
|
40
|
-
"@thi.ng/checks": "^3.
|
|
41
|
-
"@thi.ng/defmulti": "^3.0.
|
|
42
|
-
"@thi.ng/errors": "^2.5.
|
|
43
|
-
"@thi.ng/geom": "^6.1.
|
|
44
|
-
"@thi.ng/geom-api": "^4.0.
|
|
45
|
-
"@thi.ng/geom-isoline": "^2.1.
|
|
46
|
-
"@thi.ng/geom-poly-utils": "^2.3.
|
|
47
|
-
"@thi.ng/geom-resample": "^2.3.
|
|
48
|
-
"@thi.ng/math": "^5.10.
|
|
49
|
-
"@thi.ng/transducers": "^
|
|
50
|
-
"@thi.ng/vectors": "^7.10.
|
|
39
|
+
"@thi.ng/api": "^8.10.0",
|
|
40
|
+
"@thi.ng/checks": "^3.6.0",
|
|
41
|
+
"@thi.ng/defmulti": "^3.0.35",
|
|
42
|
+
"@thi.ng/errors": "^2.5.3",
|
|
43
|
+
"@thi.ng/geom": "^6.1.5",
|
|
44
|
+
"@thi.ng/geom-api": "^4.0.5",
|
|
45
|
+
"@thi.ng/geom-isoline": "^2.1.122",
|
|
46
|
+
"@thi.ng/geom-poly-utils": "^2.3.110",
|
|
47
|
+
"@thi.ng/geom-resample": "^2.3.48",
|
|
48
|
+
"@thi.ng/math": "^5.10.9",
|
|
49
|
+
"@thi.ng/transducers": "^9.0.0",
|
|
50
|
+
"@thi.ng/vectors": "^7.10.26"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
"thi.ng": {
|
|
121
|
+
"alias": "sdf",
|
|
121
122
|
"parent": "@thi.ng/geom",
|
|
122
123
|
"related": [
|
|
123
124
|
"distance-transform",
|
|
@@ -128,5 +129,5 @@
|
|
|
128
129
|
"status": "alpha",
|
|
129
130
|
"year": 2022
|
|
130
131
|
},
|
|
131
|
-
"gitHead": "
|
|
132
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
132
133
|
}
|