@thi.ng/poisson 3.2.62 → 3.2.67

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.
Files changed (2) hide show
  1. package/package.json +101 -101
  2. package/CHANGELOG.md +0 -65
package/package.json CHANGED
@@ -1,102 +1,102 @@
1
1
  {
2
- "name": "@thi.ng/poisson",
3
- "version": "3.2.62",
4
- "description": "nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs",
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/poisson",
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": "yarn 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.2",
43
- "@thi.ng/checks": "^3.7.18",
44
- "@thi.ng/geom-accel": "^4.1.62",
45
- "@thi.ng/random": "^4.1.27",
46
- "@thi.ng/vectors": "^8.6.6"
47
- },
48
- "devDependencies": {
49
- "esbuild": "^0.25.9",
50
- "typedoc": "^0.28.12",
51
- "typescript": "^5.9.2"
52
- },
53
- "keywords": [
54
- "2d",
55
- "3d",
56
- "density",
57
- "grid",
58
- "nd",
59
- "noise",
60
- "points",
61
- "poisson",
62
- "random",
63
- "sample",
64
- "scatter",
65
- "stratified",
66
- "typescript"
67
- ],
68
- "publishConfig": {
69
- "access": "public"
70
- },
71
- "engines": {
72
- "node": ">=18"
73
- },
74
- "files": [
75
- "./*.js",
76
- "./*.d.ts"
77
- ],
78
- "exports": {
79
- ".": {
80
- "default": "./index.js"
81
- },
82
- "./api": {
83
- "default": "./api.js"
84
- },
85
- "./poisson": {
86
- "default": "./poisson.js"
87
- },
88
- "./stratified": {
89
- "default": "./stratified.js"
90
- }
91
- },
92
- "thi.ng": {
93
- "related": [
94
- "geom",
95
- "geom-voronoi",
96
- "lowdisc",
97
- "random"
98
- ],
99
- "year": 2016
100
- },
101
- "gitHead": "b7ede4f099767e0175ea8e09257208f73970b220\n"
102
- }
2
+ "name": "@thi.ng/poisson",
3
+ "version": "3.2.67",
4
+ "description": "nD Stratified grid and Poisson-disc sampling w/ support for spatial density functions and custom PRNGs",
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/poisson",
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.7",
43
+ "@thi.ng/checks": "^3.7.23",
44
+ "@thi.ng/geom-accel": "^4.1.67",
45
+ "@thi.ng/random": "^4.1.32",
46
+ "@thi.ng/vectors": "^8.6.11"
47
+ },
48
+ "devDependencies": {
49
+ "esbuild": "^0.25.11",
50
+ "typedoc": "^0.28.14",
51
+ "typescript": "^5.9.3"
52
+ },
53
+ "keywords": [
54
+ "2d",
55
+ "3d",
56
+ "density",
57
+ "grid",
58
+ "nd",
59
+ "noise",
60
+ "points",
61
+ "poisson",
62
+ "random",
63
+ "sample",
64
+ "scatter",
65
+ "stratified",
66
+ "typescript"
67
+ ],
68
+ "publishConfig": {
69
+ "access": "public"
70
+ },
71
+ "engines": {
72
+ "node": ">=18"
73
+ },
74
+ "files": [
75
+ "./*.js",
76
+ "./*.d.ts"
77
+ ],
78
+ "exports": {
79
+ ".": {
80
+ "default": "./index.js"
81
+ },
82
+ "./api": {
83
+ "default": "./api.js"
84
+ },
85
+ "./poisson": {
86
+ "default": "./poisson.js"
87
+ },
88
+ "./stratified": {
89
+ "default": "./stratified.js"
90
+ }
91
+ },
92
+ "thi.ng": {
93
+ "related": [
94
+ "geom",
95
+ "geom-voronoi",
96
+ "lowdisc",
97
+ "random"
98
+ ],
99
+ "year": 2016
100
+ },
101
+ "gitHead": "d977f819bcafdcb2b24c45f8d01a167fe29fc85a\n"
102
+ }
package/CHANGELOG.md DELETED
@@ -1,65 +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
- ## [3.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.2.0) (2024-08-10)
15
-
16
- #### 🚀 Features
17
-
18
- - add poisson-image example ([87ec9e7](https://github.com/thi-ng/umbrella/commit/87ec9e7))
19
- - update readmes
20
- - cc @nkint :)
21
-
22
- ### [3.1.89](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.1.89) (2024-06-21)
23
-
24
- #### ♻️ Refactoring
25
-
26
- - update geom deps, update imports ([e22b92b](https://github.com/thi-ng/umbrella/commit/e22b92b))
27
- - minor internal updates ([dcf2af4](https://github.com/thi-ng/umbrella/commit/dcf2af4))
28
- - internal updates stratifiedGrid2/3() ([063a913](https://github.com/thi-ng/umbrella/commit/063a913))
29
- - switch loop syntax
30
- - dedupe range checks
31
-
32
- ### [3.1.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.1.68) (2024-02-22)
33
-
34
- #### ♻️ Refactoring
35
-
36
- - update object destructuring in all pkgs & examples ([f36aeb0](https://github.com/thi-ng/umbrella/commit/f36aeb0))
37
-
38
- ### [3.1.43](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.1.43) (2023-11-09)
39
-
40
- #### ♻️ Refactoring
41
-
42
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
43
-
44
- ### [3.1.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.1.3) (2023-02-17)
45
-
46
- #### 🩹 Bug fixes
47
-
48
- - actually use squared distance in stratifiedGrid2/3 ([59f20f5](https://github.com/thi-ng/umbrella/commit/59f20f5))
49
- - update separation default value
50
-
51
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.1.0) (2023-02-05)
52
-
53
- #### 🚀 Features
54
-
55
- - add scale option for stratifiedGrid2/3 ([0f828a7](https://github.com/thi-ng/umbrella/commit/0f828a7))
56
-
57
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/poisson@3.0.0) (2022-12-22)
58
-
59
- #### 🛑 Breaking changes
60
-
61
- - update/fix/replace stratifiedGrid() ([e84f920](https://github.com/thi-ng/umbrella/commit/e84f920))
62
- - BREAKING CHANGE: replace stratifiedGrid() w/ new fns
63
- - add stratifiedGrid2/3() fns
64
- - update StratifiedGridOpts
65
- - remove old stratifiedGrid() fn