@thi.ng/poisson 3.2.33 → 3.2.35

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-04-01T21:42:04Z
3
+ - **Last updated**: 2025-04-16T11:11:14Z
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/poisson",
3
- "version": "3.2.33",
3
+ "version": "3.2.35",
4
4
  "description": "nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,16 +39,16 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/api": "^8.11.25",
43
- "@thi.ng/checks": "^3.7.5",
44
- "@thi.ng/geom-accel": "^4.1.33",
45
- "@thi.ng/random": "^4.1.16",
46
- "@thi.ng/vectors": "^7.13.1"
42
+ "@thi.ng/api": "^8.11.26",
43
+ "@thi.ng/checks": "^3.7.6",
44
+ "@thi.ng/geom-accel": "^4.1.35",
45
+ "@thi.ng/random": "^4.1.17",
46
+ "@thi.ng/vectors": "^8.0.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "esbuild": "^0.25.2",
50
- "typedoc": "^0.28.1",
51
- "typescript": "^5.8.2"
50
+ "typedoc": "^0.28.2",
51
+ "typescript": "^5.8.3"
52
52
  },
53
53
  "keywords": [
54
54
  "2d",
@@ -98,5 +98,5 @@
98
98
  ],
99
99
  "year": 2016
100
100
  },
101
- "gitHead": "c88a589f33207b02a43172313b38ea09571265f1\n"
101
+ "gitHead": "69080248c98f9555642384aed76a0431e9f44835\n"
102
102
  }
package/poisson.d.ts CHANGED
@@ -6,5 +6,5 @@ import type { PoissonOpts } from "./api.js";
6
6
  *
7
7
  * @param opts -
8
8
  */
9
- export declare const samplePoisson: (_opts: PoissonOpts) => Vec[];
9
+ export declare const samplePoisson: (_opts: PoissonOpts) => Vec<number>[];
10
10
  //# sourceMappingURL=poisson.d.ts.map
package/stratified.d.ts CHANGED
@@ -8,7 +8,7 @@ import type { StratifiedGridOpts } from "./api.js";
8
8
  *
9
9
  * @param opts -
10
10
  */
11
- export declare function stratifiedGrid2(opts: StratifiedGridOpts): Generator<import("@thi.ng/vectors").Vec, void, unknown>;
11
+ export declare function stratifiedGrid2(opts: StratifiedGridOpts): Generator<import("@thi.ng/vectors").Vec<number>, void, unknown>;
12
12
  /**
13
13
  * Yields iterator of 3D point samples of for given stratified grid
14
14
  * config.
@@ -18,5 +18,5 @@ export declare function stratifiedGrid2(opts: StratifiedGridOpts): Generator<imp
18
18
  *
19
19
  * @param opts -
20
20
  */
21
- export declare function stratifiedGrid3(opts: StratifiedGridOpts): Generator<import("@thi.ng/vectors").Vec, void, unknown>;
21
+ export declare function stratifiedGrid3(opts: StratifiedGridOpts): Generator<import("@thi.ng/vectors").Vec<number>, void, unknown>;
22
22
  //# sourceMappingURL=stratified.d.ts.map