@thi.ng/matrices 2.1.31 → 2.1.33
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 +7 -7
- package/README.md +13 -12
- package/package.json +10 -10
- package/dev/affinetransform.js +0 -579
- package/dev/bezier.js +0 -341
- package/dev/math.js +0 -448
- package/dev/numeric.js +0 -5021
- package/doc/assets/main.js +0 -54
- package/doc/assets/search.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2022-
|
|
3
|
+
- **Last updated**: 2022-11-23T22:46:54Z
|
|
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.
|
|
@@ -44,9 +44,9 @@ and/or version bumps of transitive dependencies.
|
|
|
44
44
|
|
|
45
45
|
#### ♻️ Refactoring
|
|
46
46
|
|
|
47
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
48
47
|
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
49
48
|
- add .js suffix for all relative imports
|
|
49
|
+
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
50
50
|
|
|
51
51
|
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@2.0.0) (2021-10-12)
|
|
52
52
|
|
|
@@ -67,10 +67,10 @@ and/or version bumps of transitive dependencies.
|
|
|
67
67
|
|
|
68
68
|
#### ♻️ Refactoring
|
|
69
69
|
|
|
70
|
-
- internal restructure/imports ([766afe9](https://github.com/thi-ng/umbrella/commit/766afe9))
|
|
71
|
-
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
72
70
|
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
73
71
|
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
72
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
73
|
+
- internal restructure/imports ([766afe9](https://github.com/thi-ng/umbrella/commit/766afe9))
|
|
74
74
|
|
|
75
75
|
### [0.6.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.6.58) (2021-04-24)
|
|
76
76
|
|
|
@@ -126,9 +126,9 @@ and/or version bumps of transitive dependencies.
|
|
|
126
126
|
|
|
127
127
|
#### 🚀 Features
|
|
128
128
|
|
|
129
|
-
- add matXXn, matXXv, mulXXvm fns ([9359bbc](https://github.com/thi-ng/umbrella/commit/9359bbc))
|
|
130
|
-
- add matXXn & matXXv fns ([7a2ef82](https://github.com/thi-ng/umbrella/commit/7a2ef82))
|
|
131
129
|
- enable TS strict compiler flags (refactor) ([7b1c81a](https://github.com/thi-ng/umbrella/commit/7b1c81a))
|
|
130
|
+
- add matXXn & matXXv fns ([7a2ef82](https://github.com/thi-ng/umbrella/commit/7a2ef82))
|
|
131
|
+
- add matXXn, matXXv, mulXXvm fns ([9359bbc](https://github.com/thi-ng/umbrella/commit/9359bbc))
|
|
132
132
|
|
|
133
133
|
#### 🩹 Bug fixes
|
|
134
134
|
|
|
@@ -136,9 +136,9 @@ and/or version bumps of transitive dependencies.
|
|
|
136
136
|
|
|
137
137
|
#### ♻️ Refactoring
|
|
138
138
|
|
|
139
|
-
- add explicit types to workaround typedoc bug ([099a651](https://github.com/thi-ng/umbrella/commit/099a651))
|
|
140
139
|
- address TS strictNullChecks flag ([7ee8361](https://github.com/thi-ng/umbrella/commit/7ee8361))
|
|
141
140
|
- update various fns to unify api (1st arg can be null)
|
|
141
|
+
- add explicit types to workaround typedoc bug ([099a651](https://github.com/thi-ng/umbrella/commit/099a651))
|
|
142
142
|
|
|
143
143
|
## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/matrices@0.4.0) (2019-05-22)
|
|
144
144
|
|
package/README.md
CHANGED
|
@@ -101,18 +101,19 @@ directory are using this package.
|
|
|
101
101
|
|
|
102
102
|
A selection:
|
|
103
103
|
|
|
104
|
-
| Screenshot | Description
|
|
105
|
-
|
|
106
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/hdom-canvas/hdom-canvas-shapes-results.png" width="240"/> | Various hdom-canvas shape drawing examples & SVG conversion / export
|
|
107
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/scenegraph.png" width="240"/> | 2D scenegraph & shape picking
|
|
108
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/scenegraph-image.png" width="240"/> | 2D scenegraph & image map based geometry manipulation
|
|
109
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/shader-graph.jpg" width="240"/> | Minimal shader graph developed during livestream #2
|
|
110
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/soa-ecs-100k.png" width="240"/> | Entity Component System w/ 100k 3D particles
|
|
111
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/text-canvas.png" width="240"/> | 3D wireframe textmode demo
|
|
112
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/
|
|
113
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-
|
|
114
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-
|
|
115
|
-
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-
|
|
104
|
+
| Screenshot | Description | Live demo | Source |
|
|
105
|
+
|:-------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------|
|
|
106
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/hdom-canvas/hdom-canvas-shapes-results.png" width="240"/> | Various hdom-canvas shape drawing examples & SVG conversion / export | [Demo](https://demo.thi.ng/umbrella/hdom-canvas-shapes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/hdom-canvas-shapes) |
|
|
107
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/scenegraph.png" width="240"/> | 2D scenegraph & shape picking | [Demo](https://demo.thi.ng/umbrella/scenegraph/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/scenegraph) |
|
|
108
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/scenegraph-image.png" width="240"/> | 2D scenegraph & image map based geometry manipulation | [Demo](https://demo.thi.ng/umbrella/scenegraph-image/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/scenegraph-image) |
|
|
109
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/shader-graph.jpg" width="240"/> | Minimal shader graph developed during livestream #2 | [Demo](https://demo.thi.ng/umbrella/shader-graph/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/shader-graph) |
|
|
110
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/soa-ecs-100k.png" width="240"/> | Entity Component System w/ 100k 3D particles | [Demo](https://demo.thi.ng/umbrella/soa-ecs/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/soa-ecs) |
|
|
111
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/text-canvas.png" width="240"/> | 3D wireframe textmode demo | [Demo](https://demo.thi.ng/umbrella/text-canvas/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/text-canvas) |
|
|
112
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/unbiased-normals.png" width="240"/> | Visual comparison of biased vs. unbiased normal vectors projected on the surface of a sphere | [Demo](https://demo.thi.ng/umbrella/unbiased-normals/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/unbiased-normals) |
|
|
113
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-cube.png" width="240"/> | WebGL multi-colored cube mesh | [Demo](https://demo.thi.ng/umbrella/webgl-cube/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-cube) |
|
|
114
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-cubemap.jpg" width="240"/> | WebGL cube maps with async texture loading | [Demo](https://demo.thi.ng/umbrella/webgl-cubemap/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-cubemap) |
|
|
115
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-grid.jpg" width="240"/> | WebGL instancing, animated grid | [Demo](https://demo.thi.ng/umbrella/webgl-grid/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-grid) |
|
|
116
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-msdf.jpg" width="240"/> | WebGL MSDF text rendering & particle system | [Demo](https://demo.thi.ng/umbrella/webgl-msdf/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-msdf) |
|
|
116
117
|
|
|
117
118
|
## API
|
|
118
119
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/matrices",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.33",
|
|
4
4
|
"description": "Matrix & quaternion operations for 2D/3D geometry processing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.4.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/math": "^5.3.
|
|
40
|
-
"@thi.ng/vectors": "^7.5.
|
|
37
|
+
"@thi.ng/api": "^8.4.6",
|
|
38
|
+
"@thi.ng/checks": "^3.3.3",
|
|
39
|
+
"@thi.ng/math": "^5.3.13",
|
|
40
|
+
"@thi.ng/vectors": "^7.5.24"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.33.5",
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
+
"@thi.ng/testament": "^0.3.5",
|
|
45
45
|
"rimraf": "^3.0.2",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
47
|
+
"typedoc": "^0.23.20",
|
|
48
48
|
"typescript": "^4.8.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"node": ">=12.7"
|
|
84
84
|
},
|
|
85
85
|
"files": [
|
|
86
|
-
"
|
|
87
|
-
"
|
|
86
|
+
"./*.js",
|
|
87
|
+
"./*.d.ts",
|
|
88
88
|
"compile"
|
|
89
89
|
],
|
|
90
90
|
"exports": {
|
|
@@ -269,5 +269,5 @@
|
|
|
269
269
|
],
|
|
270
270
|
"year": 2018
|
|
271
271
|
},
|
|
272
|
-
"gitHead": "
|
|
272
|
+
"gitHead": "044ee6a3895720fc78e115032d4d831b63510929\n"
|
|
273
273
|
}
|