@thi.ng/rasterize 0.2.0 → 0.3.3
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 +35 -16
- package/package.json +112 -107
package/CHANGELOG.md
CHANGED
|
@@ -1,31 +1,50 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rasterize@0.1.1...@thi.ng/rasterize@0.2.0) (2021-11-10)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Features
|
|
10
|
-
|
|
11
|
-
* **rasterize:** major update/additions ([e6f7fb0](https://github.com/thi-ng/umbrella/commit/e6f7fb0a990515dc6f992dab59c6765d1d9076d4))
|
|
12
|
-
* **rasterize:** update to new IGrid2D impls ([71ac0ca](https://github.com/thi-ng/umbrella/commit/71ac0caa04abf1525eacb98a38db2f5a188da8a5))
|
|
13
|
-
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
4
|
+
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
14
5
|
|
|
6
|
+
All notable changes to this project will be documented in this file.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
15
8
|
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
16
11
|
|
|
12
|
+
## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@0.3.0) (2021-11-17)
|
|
17
13
|
|
|
18
|
-
|
|
14
|
+
#### 🚀 Features
|
|
19
15
|
|
|
20
|
-
|
|
16
|
+
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
17
|
+
Improving the overall build ergonomics
|
|
18
|
+
- introduced a tools workspaces
|
|
19
|
+
- imported it in all needed packages/examples
|
|
20
|
+
- inclusive project root
|
|
21
21
|
|
|
22
|
+
#### ♻️ Refactoring
|
|
22
23
|
|
|
24
|
+
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
25
|
+
this commit reverts (partly) changes made in:
|
|
26
|
+
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
27
|
+
overall purpose is better testament ergonomics:
|
|
28
|
+
instead of having to pass NODE_OPTIONS with every invocation
|
|
29
|
+
having a binary to handle this for us.
|
|
23
30
|
|
|
31
|
+
## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@0.2.0) (2021-11-10)
|
|
24
32
|
|
|
33
|
+
#### 🚀 Features
|
|
25
34
|
|
|
26
|
-
|
|
35
|
+
- major update/additions ([e6f7fb0](https://github.com/thi-ng/umbrella/commit/e6f7fb0))
|
|
36
|
+
- add new shapes (polyline, polygon)
|
|
37
|
+
- add "shader" function support for all draw fns
|
|
38
|
+
- add shader functions
|
|
39
|
+
- rename drawLineWith() => traceLine()
|
|
40
|
+
- update to new IGrid2D impls ([71ac0ca](https://github.com/thi-ng/umbrella/commit/71ac0ca))
|
|
41
|
+
- add floodFillWith() for custom fill content/procedures
|
|
42
|
+
- update/fix rect()
|
|
43
|
+
- optimize __draw2D() for primitive values
|
|
44
|
+
- add/update deps
|
|
27
45
|
|
|
46
|
+
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rasterize@0.1.0) (2021-11-03)
|
|
28
47
|
|
|
29
|
-
|
|
48
|
+
#### 🚀 Features
|
|
30
49
|
|
|
31
|
-
|
|
50
|
+
- import as new pkg ([585eb8d](https://github.com/thi-ng/umbrella/commit/585eb8d))
|
package/package.json
CHANGED
|
@@ -1,117 +1,122 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/rasterize",
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"description": "2D shape drawing & rasterization",
|
|
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://github.com/thi-ng/umbrella/tree/master/packages/rasterize#readme",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
12
18
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
{
|
|
20
|
+
"type": "patreon",
|
|
21
|
+
"url": "https://patreon.com/thing_umbrella"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"author": "Karsten Schmidt <k+npm@thi.ng>",
|
|
25
|
+
"license": "Apache-2.0",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "yarn clean && tsc --declaration",
|
|
28
|
+
"clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
|
|
29
|
+
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
|
|
30
|
+
"doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
|
|
31
|
+
"doc:readme": "yarn doc:stats && tools:readme",
|
|
32
|
+
"doc:stats": "tools:module-stats",
|
|
33
|
+
"pub": "yarn npm publish --access public",
|
|
34
|
+
"test": "testament test"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@thi.ng/api": "^8.3.2",
|
|
38
|
+
"@thi.ng/checks": "^3.1.2",
|
|
39
|
+
"@thi.ng/equiv": "^2.1.2",
|
|
40
|
+
"@thi.ng/grid-iterators": "^2.2.3",
|
|
41
|
+
"@thi.ng/random": "^3.2.2",
|
|
42
|
+
"@thi.ng/transducers": "^8.1.2"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
46
|
+
"@thi.ng/testament": "^0.2.2",
|
|
47
|
+
"rimraf": "^3.0.2",
|
|
48
|
+
"tools": "^0.0.1",
|
|
49
|
+
"typedoc": "^0.22.9",
|
|
50
|
+
"typescript": "^4.5.2"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"2d",
|
|
54
|
+
"bitmap",
|
|
55
|
+
"circle",
|
|
56
|
+
"clipping",
|
|
57
|
+
"draw",
|
|
58
|
+
"floodfill",
|
|
59
|
+
"grid",
|
|
60
|
+
"line",
|
|
61
|
+
"pattern",
|
|
62
|
+
"shape",
|
|
63
|
+
"rect",
|
|
64
|
+
"typescript"
|
|
65
|
+
],
|
|
66
|
+
"publishConfig": {
|
|
67
|
+
"access": "public"
|
|
68
|
+
},
|
|
69
|
+
"browser": {
|
|
70
|
+
"process": false,
|
|
71
|
+
"setTimeout": false
|
|
72
|
+
},
|
|
73
|
+
"engines": {
|
|
74
|
+
"node": ">=14"
|
|
75
|
+
},
|
|
76
|
+
"files": [
|
|
77
|
+
"*.js",
|
|
78
|
+
"*.d.ts"
|
|
79
|
+
],
|
|
80
|
+
"exports": {
|
|
81
|
+
".": {
|
|
82
|
+
"import": "./index.js"
|
|
35
83
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"@thi.ng/checks": "^3.0.7",
|
|
39
|
-
"@thi.ng/equiv": "^2.0.7",
|
|
40
|
-
"@thi.ng/grid-iterators": "^2.1.2",
|
|
41
|
-
"@thi.ng/random": "^3.1.4",
|
|
42
|
-
"@thi.ng/transducers": "^8.0.8"
|
|
84
|
+
"./api": {
|
|
85
|
+
"import": "./api.js"
|
|
43
86
|
},
|
|
44
|
-
"
|
|
45
|
-
|
|
87
|
+
"./checks": {
|
|
88
|
+
"import": "./checks.js"
|
|
46
89
|
},
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
"bitmap",
|
|
50
|
-
"circle",
|
|
51
|
-
"clipping",
|
|
52
|
-
"draw",
|
|
53
|
-
"floodfill",
|
|
54
|
-
"grid",
|
|
55
|
-
"line",
|
|
56
|
-
"pattern",
|
|
57
|
-
"shape",
|
|
58
|
-
"rect",
|
|
59
|
-
"typescript"
|
|
60
|
-
],
|
|
61
|
-
"publishConfig": {
|
|
62
|
-
"access": "public"
|
|
90
|
+
"./circle": {
|
|
91
|
+
"import": "./circle.js"
|
|
63
92
|
},
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
"setTimeout": false
|
|
93
|
+
"./flood-fill": {
|
|
94
|
+
"import": "./flood-fill.js"
|
|
67
95
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
96
|
+
"./line": {
|
|
97
|
+
"import": "./line.js"
|
|
70
98
|
},
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
"*.d.ts"
|
|
74
|
-
],
|
|
75
|
-
"exports": {
|
|
76
|
-
".": {
|
|
77
|
-
"import": "./index.js"
|
|
78
|
-
},
|
|
79
|
-
"./api": {
|
|
80
|
-
"import": "./api.js"
|
|
81
|
-
},
|
|
82
|
-
"./checks": {
|
|
83
|
-
"import": "./checks.js"
|
|
84
|
-
},
|
|
85
|
-
"./circle": {
|
|
86
|
-
"import": "./circle.js"
|
|
87
|
-
},
|
|
88
|
-
"./flood-fill": {
|
|
89
|
-
"import": "./flood-fill.js"
|
|
90
|
-
},
|
|
91
|
-
"./line": {
|
|
92
|
-
"import": "./line.js"
|
|
93
|
-
},
|
|
94
|
-
"./poly": {
|
|
95
|
-
"import": "./poly.js"
|
|
96
|
-
},
|
|
97
|
-
"./polyline": {
|
|
98
|
-
"import": "./polyline.js"
|
|
99
|
-
},
|
|
100
|
-
"./rect": {
|
|
101
|
-
"import": "./rect.js"
|
|
102
|
-
},
|
|
103
|
-
"./shader": {
|
|
104
|
-
"import": "./shader.js"
|
|
105
|
-
}
|
|
99
|
+
"./poly": {
|
|
100
|
+
"import": "./poly.js"
|
|
106
101
|
},
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
"grid-iterators",
|
|
110
|
-
"pixel",
|
|
111
|
-
"text-canvas"
|
|
112
|
-
],
|
|
113
|
-
"status": "alpha",
|
|
114
|
-
"year": 2021
|
|
102
|
+
"./polyline": {
|
|
103
|
+
"import": "./polyline.js"
|
|
115
104
|
},
|
|
116
|
-
"
|
|
117
|
-
|
|
105
|
+
"./rect": {
|
|
106
|
+
"import": "./rect.js"
|
|
107
|
+
},
|
|
108
|
+
"./shader": {
|
|
109
|
+
"import": "./shader.js"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"thi.ng": {
|
|
113
|
+
"related": [
|
|
114
|
+
"grid-iterators",
|
|
115
|
+
"pixel",
|
|
116
|
+
"text-canvas"
|
|
117
|
+
],
|
|
118
|
+
"status": "alpha",
|
|
119
|
+
"year": 2021
|
|
120
|
+
},
|
|
121
|
+
"gitHead": "32cf1a96854f9bb97aca65ffa05ca862ea377059\n"
|
|
122
|
+
}
|