@thi.ng/geom-trace-bitmap 0.3.155 → 0.3.160
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 +105 -105
- package/CHANGELOG.md +0 -58
package/package.json
CHANGED
|
@@ -1,106 +1,106 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
2
|
+
"name": "@thi.ng/geom-trace-bitmap",
|
|
3
|
+
"version": "0.3.160",
|
|
4
|
+
"description": "Bitmap image to hairline vector and point cloud conversions",
|
|
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://thi.ng/geom-trace-bitmap",
|
|
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
|
+
"type": "liberapay",
|
|
25
|
+
"url": "https://liberapay.com/thi.ng"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "yarn build:esbuild && yarn build:decl",
|
|
32
|
+
"build:decl": "tsc --declaration --emitDeclarationOnly",
|
|
33
|
+
"build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
|
|
34
|
+
"clean": "bun ../../tools/src/clean-package.ts",
|
|
35
|
+
"doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
|
|
36
|
+
"doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
|
|
37
|
+
"pub": "npm publish --access public",
|
|
38
|
+
"test": "bun test",
|
|
39
|
+
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@thi.ng/api": "^8.12.6",
|
|
43
|
+
"@thi.ng/errors": "^2.5.46",
|
|
44
|
+
"@thi.ng/grid-iterators": "^4.0.139",
|
|
45
|
+
"@thi.ng/matrices": "^3.0.25",
|
|
46
|
+
"@thi.ng/pixel": "^7.5.14",
|
|
47
|
+
"@thi.ng/vectors": "^8.6.10"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"esbuild": "^0.25.11",
|
|
51
|
+
"typedoc": "^0.28.14",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"bitmap",
|
|
56
|
+
"conversion",
|
|
57
|
+
"image",
|
|
58
|
+
"line",
|
|
59
|
+
"pixel",
|
|
60
|
+
"pointcloud",
|
|
61
|
+
"trace",
|
|
62
|
+
"typescript",
|
|
63
|
+
"vector"
|
|
64
|
+
],
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"browser": {
|
|
69
|
+
"process": false,
|
|
70
|
+
"setTimeout": false
|
|
71
|
+
},
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">=18"
|
|
74
|
+
},
|
|
75
|
+
"files": [
|
|
76
|
+
"./*.js",
|
|
77
|
+
"./*.d.ts"
|
|
78
|
+
],
|
|
79
|
+
"exports": {
|
|
80
|
+
".": {
|
|
81
|
+
"default": "./index.js"
|
|
82
|
+
},
|
|
83
|
+
"./api": {
|
|
84
|
+
"default": "./api.js"
|
|
85
|
+
},
|
|
86
|
+
"./border": {
|
|
87
|
+
"default": "./border.js"
|
|
88
|
+
},
|
|
89
|
+
"./extract": {
|
|
90
|
+
"default": "./extract.js"
|
|
91
|
+
},
|
|
92
|
+
"./trace": {
|
|
93
|
+
"default": "./trace.js"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"thi.ng": {
|
|
97
|
+
"parent": "@thi.ng/geom",
|
|
98
|
+
"related": [
|
|
99
|
+
"geom-axidraw",
|
|
100
|
+
"pixel"
|
|
101
|
+
],
|
|
102
|
+
"status": "alpha",
|
|
103
|
+
"year": 2022
|
|
104
|
+
},
|
|
105
|
+
"gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
|
|
106
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
- **Last updated**: 2025-09-01T16:38:35Z
|
|
4
|
-
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
|
-
|
|
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.
|
|
9
|
-
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
10
|
-
|
|
11
|
-
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
|
-
and/or version bumps of transitive dependencies.
|
|
13
|
-
|
|
14
|
-
### [0.3.61](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-trace-bitmap@0.3.61) (2024-02-22)
|
|
15
|
-
|
|
16
|
-
#### ♻️ Refactoring
|
|
17
|
-
|
|
18
|
-
- update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
|
|
19
|
-
|
|
20
|
-
### [0.3.35](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-trace-bitmap@0.3.35) (2023-11-09)
|
|
21
|
-
|
|
22
|
-
#### ♻️ Refactoring
|
|
23
|
-
|
|
24
|
-
- update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
|
|
25
|
-
|
|
26
|
-
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-trace-bitmap@0.3.0) (2023-04-08)
|
|
27
|
-
|
|
28
|
-
#### 🚀 Features
|
|
29
|
-
|
|
30
|
-
- add TraceOpts.max ([3b39d61](https://github.com/thi-ng/umbrella/commit/3b39d61))
|
|
31
|
-
- update TraceOpts.select() ([01b9e49](https://github.com/thi-ng/umbrella/commit/01b9e49))
|
|
32
|
-
- add point coords as 2nd select() arg
|
|
33
|
-
- update extractSegmentX/Y() ([274f71d](https://github.com/thi-ng/umbrella/commit/274f71d))
|
|
34
|
-
- update result to include unmatched points
|
|
35
|
-
- update tests
|
|
36
|
-
|
|
37
|
-
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-trace-bitmap@0.2.0) (2023-03-25)
|
|
38
|
-
|
|
39
|
-
#### 🚀 Features
|
|
40
|
-
|
|
41
|
-
- add pointcloud line extractions ([d65a9ae](https://github.com/thi-ng/umbrella/commit/d65a9ae))
|
|
42
|
-
- add extractSegmentsX/Y() functions
|
|
43
|
-
|
|
44
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-trace-bitmap@0.1.0) (2022-12-29)
|
|
45
|
-
|
|
46
|
-
#### 🚀 Features
|
|
47
|
-
|
|
48
|
-
- import as new pkg ([20e6849](https://github.com/thi-ng/umbrella/commit/20e6849))
|
|
49
|
-
- add support for custom trace orders ([c4c35f4](https://github.com/thi-ng/umbrella/commit/c4c35f4))
|
|
50
|
-
- update TraceBitmapOpts, add TraceDirImpl
|
|
51
|
-
- update traceBitmap() to support custom dirs
|
|
52
|
-
- export border fns for better reuse w/ custom impls
|
|
53
|
-
- update tests
|
|
54
|
-
- update/fix border handling, add `last` option ([5c429c1](https://github.com/thi-ng/umbrella/commit/5c429c1))
|
|
55
|
-
- update TraceDir, separate diagonals ([cdbdae5](https://github.com/thi-ng/umbrella/commit/cdbdae5))
|
|
56
|
-
- update TraceDir (add `d1` & `d2`)
|
|
57
|
-
- update traceBitmap()
|
|
58
|
-
- add doc strings
|