@thi.ng/colored-noise 1.0.126 → 1.0.128

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/README.md +26 -25
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
- <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- # ![@thi.ng/colored-noise](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/banners/thing-colored-noise.svg?c5c90855)
2
+ <!-- Please see: https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
+ # ![@thi.ng/colored-noise](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/banners/thing-colored-noise.svg?c5c90855)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/colored-noise.svg)](https://www.npmjs.com/package/@thi.ng/colored-noise)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/colored-noise.svg)
@@ -8,11 +8,12 @@
8
8
 
9
9
  > [!NOTE]
10
10
  > This is one of 214 standalone projects, maintained as part
11
- > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
11
+ > of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
12
12
  > and anti-framework.
13
13
  >
14
- > 🚀 Please help me to work full-time on these projects by [sponsoring me on
15
- > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring
15
+ > me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
16
+ > Thank you! ❤️
16
17
 
17
18
  - [About](#about)
18
19
  - [Blue noise](#blue-noise)
@@ -45,7 +46,7 @@ spectrums / histograms (averaged 1000 runs @ 256 samples each). Each noise gen
45
46
  is configurable in terms of number of internal RNG states, value range (default:
46
47
  `[-1..1)` interval, always centered around 0) and the actual backing PRNG
47
48
  implementation (default: `Math.random`, see
48
- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random)
49
+ [@thi.ng/random](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/random)
49
50
  for alternatives).
50
51
 
51
52
  Code ported from Java, C & Clojure implementations and other
@@ -57,7 +58,7 @@ In alphabetical order:
57
58
  ### Blue noise
58
59
 
59
60
  High-pass filtered noise (opposite of [red](#red-noise)) -
60
- [Source](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/src/blue.ts)
61
+ [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/src/blue.ts)
61
62
 
62
63
  ```text
63
64
  blue2
@@ -119,7 +120,7 @@ blue32
119
120
 
120
121
  Band-pass filtered noise (interleaved blue noise, opposite of
121
122
  [violet](#violet-noise)) -
122
- [Source](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/src/green.ts)
123
+ [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/src/green.ts)
123
124
 
124
125
  ```text
125
126
  green4
@@ -166,7 +167,7 @@ green32
166
167
  ### Pink noise
167
168
 
168
169
  Exponential decay power curve (1/f) -
169
- [Source](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/src/pink.ts)
170
+ [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/src/pink.ts)
170
171
 
171
172
  ```text
172
173
  pink4
@@ -215,7 +216,7 @@ pink32
215
216
  ### Red / brown noise
216
217
 
217
218
  Low-pass filtered noise (opposite of [blue](#blue-noise)) -
218
- [Source](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/src/red.ts)
219
+ [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/src/red.ts)
219
220
 
220
221
  ```text
221
222
  red4
@@ -265,7 +266,7 @@ red32
265
266
 
266
267
  Band-stop filtered noise (interleaved red noise, opposite of
267
268
  [green](#green-noise)) -
268
- [Source](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/src/violet.ts)
269
+ [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/src/violet.ts)
269
270
 
270
271
  ```text
271
272
  violet2
@@ -327,7 +328,7 @@ violet32
327
328
  ### White noise
328
329
 
329
330
  Uniform distribution (unfiltered output from source PRNG) -
330
- [Source](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/src/white.ts)
331
+ [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/src/white.ts)
331
332
 
332
333
  ```text
333
334
  white
@@ -349,13 +350,13 @@ white
349
350
 
350
351
  **STABLE** - used in production
351
352
 
352
- [Search or submit any issues for this package](https://github.com/thi-ng/umbrella/issues?q=%5Bcolored-noise%5D+in%3Atitle)
353
+ [Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bcolored-noise%5D)
353
354
 
354
355
  ## Related packages
355
356
 
356
- - [@thi.ng/dsp](https://github.com/thi-ng/umbrella/tree/develop/packages/dsp) - Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils
357
- - [@thi.ng/lowdisc](https://github.com/thi-ng/umbrella/tree/develop/packages/lowdisc) - n-dimensional low-discrepancy sequence generators/iterators
358
- - [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random) - Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
357
+ - [@thi.ng/dsp](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/dsp) - Composable signal generators, oscillators, filters, FFT, spectrum, windowing & related DSP utils
358
+ - [@thi.ng/lowdisc](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/lowdisc) - n-dimensional low-discrepancy sequence generators/iterators
359
+ - [@thi.ng/random](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/random) - Pseudo-random number generators w/ unified API, distributions, weighted choices, ID generation
359
360
 
360
361
  ## Installation
361
362
 
@@ -387,19 +388,19 @@ Package sizes (brotli'd, pre-treeshake): ESM: 494 bytes
387
388
 
388
389
  ## Dependencies
389
390
 
390
- - [@thi.ng/binary](https://github.com/thi-ng/umbrella/tree/develop/packages/binary)
391
- - [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random)
391
+ - [@thi.ng/binary](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/binary)
392
+ - [@thi.ng/random](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/random)
392
393
 
393
394
  ## Usage examples
394
395
 
395
396
  Two projects in this repo's
396
- [/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
397
+ [/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
397
398
  directory are using this package:
398
399
 
399
- | Screenshot | Description | Live demo | Source |
400
- |:-----------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------|:------------------------------------------------------|:-----------------------------------------------------------------------------------|
401
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/simd-plot.png" width="240"/> | Fitting, transforming & plotting 10k data points per frame using SIMD | [Demo](https://demo.thi.ng/umbrella/simd-plot/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/simd-plot) |
402
- | <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/webgl-float-fbo.jpg" width="240"/> | Drawing to floating point offscreen / multi-pass shader pipeline | [Demo](https://demo.thi.ng/umbrella/webgl-float-fbo/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/webgl-float-fbo) |
400
+ | Screenshot | Description | Live demo | Source |
401
+ |:-----------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------|:------------------------------------------------------|:-------------------------------------------------------------------------------------------|
402
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/simd-plot.png" width="240"/> | Fitting, transforming & plotting 10k data points per frame using SIMD | [Demo](https://demo.thi.ng/umbrella/simd-plot/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/simd-plot) |
403
+ | <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/webgl-float-fbo.jpg" width="240"/> | Drawing to floating point offscreen / multi-pass shader pipeline | [Demo](https://demo.thi.ng/umbrella/webgl-float-fbo/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/webgl-float-fbo) |
403
404
 
404
405
  ## API
405
406
 
@@ -408,7 +409,7 @@ directory are using this package:
408
409
  TODO
409
410
 
410
411
  See
411
- [/tools](https://github.com/thi-ng/umbrella/blob/develop/packages/colored-noise/tools/)
412
+ [/tools](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/colored-noise/tools/)
412
413
  for usage examples...
413
414
 
414
415
  ```ts
@@ -453,7 +454,7 @@ writeFileSync(
453
454
  );
454
455
  ```
455
456
 
456
- ![Result waveform with spectrum](https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/colored-noise/hihat-green.png)
457
+ ![Result waveform with spectrum](https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/colored-noise/hihat-green.png)
457
458
 
458
459
  ## Authors
459
460
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/colored-noise",
3
- "version": "1.0.126",
3
+ "version": "1.0.128",
4
4
  "description": "Customizable O(1) ES6 generators for colored noise",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,7 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/thi-ng/umbrella.git",
11
+ "url": "git+https://codeberg.org/thi.ng/umbrella.git",
12
12
  "directory": "packages/colored-noise"
13
13
  },
14
14
  "homepage": "https://thi.ng/colored-noise",
@@ -40,18 +40,18 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/binary": "^3.6.6",
44
- "@thi.ng/random": "^4.1.42"
43
+ "@thi.ng/binary": "^3.6.8",
44
+ "@thi.ng/random": "^4.1.44"
45
45
  },
46
46
  "devDependencies": {
47
- "@thi.ng/api": "^8.12.17",
48
- "@thi.ng/dsp": "^4.7.109",
49
- "@thi.ng/dsp-io-wav": "^2.1.202",
50
- "@thi.ng/text-canvas": "^3.0.113",
51
- "@thi.ng/transducers": "^9.6.30",
52
- "@thi.ng/vectors": "^8.6.24",
53
- "esbuild": "^0.27.2",
54
- "typedoc": "^0.28.16",
47
+ "@thi.ng/api": "^8.12.19",
48
+ "@thi.ng/dsp": "^4.7.111",
49
+ "@thi.ng/dsp-io-wav": "^2.1.206",
50
+ "@thi.ng/text-canvas": "^3.0.117",
51
+ "@thi.ng/transducers": "^9.6.32",
52
+ "@thi.ng/vectors": "^8.6.28",
53
+ "esbuild": "^0.28.0",
54
+ "typedoc": "^0.28.18",
55
55
  "typescript": "^5.9.3"
56
56
  },
57
57
  "keywords": [
@@ -115,5 +115,5 @@
115
115
  ],
116
116
  "year": 2015
117
117
  },
118
- "gitHead": "1107498d31504dc63d1a457b5def387d7a134f69\n"
118
+ "gitHead": "a780d4a5f6f5fc595c9d28527686f63534927d32"
119
119
  }