@tsparticles/simplex-noise 3.0.0-beta.4

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 (45) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +74 -0
  3. package/browser/Classes/SimplexNoise2D.js +152 -0
  4. package/browser/Classes/SimplexNoise3D.js +528 -0
  5. package/browser/Classes/SimplexNoise4D.js +2867 -0
  6. package/browser/Contributions.js +1 -0
  7. package/browser/SimplexNoise.js +10 -0
  8. package/browser/index.js +1 -0
  9. package/browser/package.json +1 -0
  10. package/browser/utils.js +5 -0
  11. package/cjs/Classes/SimplexNoise2D.js +156 -0
  12. package/cjs/Classes/SimplexNoise3D.js +532 -0
  13. package/cjs/Classes/SimplexNoise4D.js +2871 -0
  14. package/cjs/Contributions.js +2 -0
  15. package/cjs/SimplexNoise.js +14 -0
  16. package/cjs/index.js +5 -0
  17. package/cjs/package.json +1 -0
  18. package/cjs/utils.js +9 -0
  19. package/esm/Classes/SimplexNoise2D.js +152 -0
  20. package/esm/Classes/SimplexNoise3D.js +528 -0
  21. package/esm/Classes/SimplexNoise4D.js +2867 -0
  22. package/esm/Contributions.js +1 -0
  23. package/esm/SimplexNoise.js +10 -0
  24. package/esm/index.js +1 -0
  25. package/esm/package.json +1 -0
  26. package/esm/utils.js +5 -0
  27. package/package.json +105 -0
  28. package/report.html +39 -0
  29. package/tsparticles.simplex.noise.js +457 -0
  30. package/tsparticles.simplex.noise.min.js +2 -0
  31. package/tsparticles.simplex.noise.min.js.LICENSE.txt +1 -0
  32. package/types/Classes/SimplexNoise2D.d.ts +16 -0
  33. package/types/Classes/SimplexNoise3D.d.ts +16 -0
  34. package/types/Classes/SimplexNoise4D.d.ts +16 -0
  35. package/types/Contributions.d.ts +27 -0
  36. package/types/SimplexNoise.d.ts +9 -0
  37. package/types/index.d.ts +1 -0
  38. package/types/utils.d.ts +1 -0
  39. package/umd/Classes/SimplexNoise2D.js +166 -0
  40. package/umd/Classes/SimplexNoise3D.js +542 -0
  41. package/umd/Classes/SimplexNoise4D.js +2881 -0
  42. package/umd/Contributions.js +12 -0
  43. package/umd/SimplexNoise.js +24 -0
  44. package/umd/index.js +15 -0
  45. package/umd/utils.js +19 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ import { SimplexNoise2D } from "./Classes/SimplexNoise2D.js";
2
+ import { SimplexNoise3D } from "./Classes/SimplexNoise3D.js";
3
+ import { SimplexNoise4D } from "./Classes/SimplexNoise4D.js";
4
+ export class SimplexNoise {
5
+ constructor() {
6
+ this.noise2d = new SimplexNoise2D();
7
+ this.noise3d = new SimplexNoise3D();
8
+ this.noise4d = new SimplexNoise4D();
9
+ }
10
+ }
package/esm/index.js ADDED
@@ -0,0 +1 @@
1
+ export { SimplexNoise } from "./SimplexNoise.js";
@@ -0,0 +1 @@
1
+ { "type": "module" }
package/esm/utils.js ADDED
@@ -0,0 +1,5 @@
1
+ export function shuffleSeed(seed) {
2
+ const newSeed = new Uint32Array(1);
3
+ newSeed[0] = seed[0] * 1664525 + 1013904223;
4
+ return newSeed;
5
+ }
package/package.json ADDED
@@ -0,0 +1,105 @@
1
+ {
2
+ "name": "@tsparticles/simplex-noise",
3
+ "version": "3.0.0-beta.4",
4
+ "description": "tsParticles simplex noise library",
5
+ "homepage": "https://particles.js.org",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/tsparticles/tsparticles.git",
9
+ "directory": "utils/simplexNoise"
10
+ },
11
+ "keywords": [
12
+ "front-end",
13
+ "frontend",
14
+ "tsparticles",
15
+ "particles.js",
16
+ "particlesjs",
17
+ "particles",
18
+ "particle",
19
+ "canvas",
20
+ "jsparticles",
21
+ "xparticles",
22
+ "particles-js",
23
+ "particles-bg",
24
+ "particles-bg-vue",
25
+ "particles-ts",
26
+ "particles.ts",
27
+ "react-particles-js",
28
+ "react-particles.js",
29
+ "react-particles",
30
+ "react",
31
+ "reactjs",
32
+ "vue-particles",
33
+ "ngx-particles",
34
+ "angular-particles",
35
+ "particleground",
36
+ "vue",
37
+ "vuejs",
38
+ "preact",
39
+ "preactjs",
40
+ "jquery",
41
+ "angularjs",
42
+ "angular",
43
+ "typescript",
44
+ "javascript",
45
+ "animation",
46
+ "web",
47
+ "html5",
48
+ "web-design",
49
+ "webdesign",
50
+ "css",
51
+ "html",
52
+ "css3",
53
+ "animated",
54
+ "background",
55
+ "confetti",
56
+ "canvas",
57
+ "fireworks",
58
+ "fireworks-js",
59
+ "confetti-js",
60
+ "confettijs",
61
+ "fireworksjs",
62
+ "canvas-confetti",
63
+ "tsparticles-plugin"
64
+ ],
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "author": "Matteo Bruni <matteo.bruni@me.com>",
69
+ "license": "MIT",
70
+ "bugs": {
71
+ "url": "https://github.com/tsparticles/tsparticles/issues"
72
+ },
73
+ "funding": [
74
+ {
75
+ "type": "github",
76
+ "url": "https://github.com/sponsors/matteobruni"
77
+ },
78
+ {
79
+ "type": "github",
80
+ "url": "https://github.com/sponsors/tsparticles"
81
+ },
82
+ {
83
+ "type": "buymeacoffee",
84
+ "url": "https://www.buymeacoffee.com/matteobruni"
85
+ }
86
+ ],
87
+ "sideEffects": false,
88
+ "jsdelivr": "tsparticles.simplex.noise.min.js",
89
+ "unpkg": "tsparticles.simplex.noise.min.js",
90
+ "browser": "browser/index.js",
91
+ "main": "cjs/index.js",
92
+ "module": "esm/index.js",
93
+ "types": "types/index.d.ts",
94
+ "exports": {
95
+ ".": {
96
+ "types": "./types/index.d.ts",
97
+ "browser": "./browser/index.js",
98
+ "import": "./esm/index.js",
99
+ "require": "./cjs/index.js",
100
+ "umd": "./umd/index.js",
101
+ "default": "./cjs/index.js"
102
+ },
103
+ "./package.json": "./package.json"
104
+ }
105
+ }