@tsparticles/path-simplex-noise 4.0.1 → 4.0.3

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/browser/index.js CHANGED
@@ -2,7 +2,7 @@ import { ensureBaseMoverLoaded } from "@tsparticles/plugin-move";
2
2
  import { SimplexNoiseGenerator } from "./SimplexNoiseGenerator.js";
3
3
  export const simplexNoisePathName = "simplexNoise";
4
4
  export async function loadSimplexNoisePath(engine) {
5
- engine.checkVersion("4.0.1");
5
+ engine.checkVersion("4.0.3");
6
6
  await engine.pluginManager.register((e) => {
7
7
  ensureBaseMoverLoaded(e);
8
8
  e.pluginManager.addPathGenerator?.(simplexNoisePathName, container => {
@@ -1,6 +1,6 @@
1
1
  export const simplexNoisePathName = "simplexNoise";
2
2
  export async function loadSimplexNoisePath(engine) {
3
- engine.checkVersion("4.0.1");
3
+ engine.checkVersion("4.0.3");
4
4
  await engine.pluginManager.register(async (e) => {
5
5
  const { ensureBaseMoverLoaded } = await import("@tsparticles/plugin-move/lazy");
6
6
  ensureBaseMoverLoaded(e);
package/cjs/index.js CHANGED
@@ -2,7 +2,7 @@ import { ensureBaseMoverLoaded } from "@tsparticles/plugin-move";
2
2
  import { SimplexNoiseGenerator } from "./SimplexNoiseGenerator.js";
3
3
  export const simplexNoisePathName = "simplexNoise";
4
4
  export async function loadSimplexNoisePath(engine) {
5
- engine.checkVersion("4.0.1");
5
+ engine.checkVersion("4.0.3");
6
6
  await engine.pluginManager.register((e) => {
7
7
  ensureBaseMoverLoaded(e);
8
8
  e.pluginManager.addPathGenerator?.(simplexNoisePathName, container => {
package/cjs/index.lazy.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const simplexNoisePathName = "simplexNoise";
2
2
  export async function loadSimplexNoisePath(engine) {
3
- engine.checkVersion("4.0.1");
3
+ engine.checkVersion("4.0.3");
4
4
  await engine.pluginManager.register(async (e) => {
5
5
  const { ensureBaseMoverLoaded } = await import("@tsparticles/plugin-move/lazy");
6
6
  ensureBaseMoverLoaded(e);
package/esm/index.js CHANGED
@@ -2,7 +2,7 @@ import { ensureBaseMoverLoaded } from "@tsparticles/plugin-move";
2
2
  import { SimplexNoiseGenerator } from "./SimplexNoiseGenerator.js";
3
3
  export const simplexNoisePathName = "simplexNoise";
4
4
  export async function loadSimplexNoisePath(engine) {
5
- engine.checkVersion("4.0.1");
5
+ engine.checkVersion("4.0.3");
6
6
  await engine.pluginManager.register((e) => {
7
7
  ensureBaseMoverLoaded(e);
8
8
  e.pluginManager.addPathGenerator?.(simplexNoisePathName, container => {
package/esm/index.lazy.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export const simplexNoisePathName = "simplexNoise";
2
2
  export async function loadSimplexNoisePath(engine) {
3
- engine.checkVersion("4.0.1");
3
+ engine.checkVersion("4.0.3");
4
4
  await engine.pluginManager.register(async (e) => {
5
5
  const { ensureBaseMoverLoaded } = await import("@tsparticles/plugin-move/lazy");
6
6
  ensureBaseMoverLoaded(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/path-simplex-noise",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "tsParticles simplex noise path",
5
5
  "homepage": "https://particles.js.org",
6
6
  "repository": {
@@ -110,10 +110,10 @@
110
110
  "./package.json": "./package.json"
111
111
  },
112
112
  "peerDependencies": {
113
- "@tsparticles/engine": "4.0.1",
114
- "@tsparticles/noise-field": "4.0.1",
115
- "@tsparticles/plugin-move": "4.0.1",
116
- "@tsparticles/simplex-noise": "4.0.1"
113
+ "@tsparticles/engine": "4.0.3",
114
+ "@tsparticles/noise-field": "4.0.3",
115
+ "@tsparticles/plugin-move": "4.0.3",
116
+ "@tsparticles/simplex-noise": "4.0.3"
117
117
  },
118
118
  "type": "module"
119
119
  }
package/report.html CHANGED
@@ -4930,7 +4930,7 @@ var drawChart = (function (exports) {
4930
4930
  </script>
4931
4931
  <script>
4932
4932
  /*<!--*/
4933
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.path.simplex.noise.js","children":[{"name":"dist/browser","children":[{"uid":"3671cb07-1","name":"SimplexNoiseGenerator.js"},{"uid":"3671cb07-3","name":"index.js"},{"uid":"3671cb07-5","name":"browser.js"}]}]}],"isRoot":true},"nodeParts":{"3671cb07-1":{"renderedLength":404,"gzipLength":0,"brotliLength":0,"metaUid":"3671cb07-0"},"3671cb07-3":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"metaUid":"3671cb07-2"},"3671cb07-5":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"3671cb07-4"}},"nodeMetas":{"3671cb07-0":{"id":"/dist/browser/SimplexNoiseGenerator.js","moduleParts":{"tsparticles.path.simplex.noise.js":"3671cb07-1"},"imported":[{"uid":"3671cb07-7"},{"uid":"3671cb07-8"}],"importedBy":[{"uid":"3671cb07-2"}]},"3671cb07-2":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.path.simplex.noise.js":"3671cb07-3"},"imported":[{"uid":"3671cb07-6"},{"uid":"3671cb07-0"}],"importedBy":[{"uid":"3671cb07-4"}]},"3671cb07-4":{"id":"/dist/browser/browser.js","moduleParts":{"tsparticles.path.simplex.noise.js":"3671cb07-5"},"imported":[{"uid":"3671cb07-2"}],"importedBy":[],"isEntry":true},"3671cb07-6":{"id":"@tsparticles/plugin-move","moduleParts":{},"imported":[],"importedBy":[{"uid":"3671cb07-2"}],"isExternal":true},"3671cb07-7":{"id":"@tsparticles/noise-field","moduleParts":{},"imported":[],"importedBy":[{"uid":"3671cb07-0"}],"isExternal":true},"3671cb07-8":{"id":"@tsparticles/simplex-noise","moduleParts":{},"imported":[],"importedBy":[{"uid":"3671cb07-0"}],"isExternal":true}},"env":{"rollup":"4.60.3"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
4933
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"tsparticles.path.simplex.noise.js","children":[{"name":"dist/browser","children":[{"uid":"df1bfffa-1","name":"SimplexNoiseGenerator.js"},{"uid":"df1bfffa-3","name":"index.js"},{"uid":"df1bfffa-5","name":"browser.js"}]}]}],"isRoot":true},"nodeParts":{"df1bfffa-1":{"renderedLength":404,"gzipLength":0,"brotliLength":0,"metaUid":"df1bfffa-0"},"df1bfffa-3":{"renderedLength":434,"gzipLength":0,"brotliLength":0,"metaUid":"df1bfffa-2"},"df1bfffa-5":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"df1bfffa-4"}},"nodeMetas":{"df1bfffa-0":{"id":"/dist/browser/SimplexNoiseGenerator.js","moduleParts":{"tsparticles.path.simplex.noise.js":"df1bfffa-1"},"imported":[{"uid":"df1bfffa-7"},{"uid":"df1bfffa-8"}],"importedBy":[{"uid":"df1bfffa-2"}]},"df1bfffa-2":{"id":"/dist/browser/index.js","moduleParts":{"tsparticles.path.simplex.noise.js":"df1bfffa-3"},"imported":[{"uid":"df1bfffa-6"},{"uid":"df1bfffa-0"}],"importedBy":[{"uid":"df1bfffa-4"}]},"df1bfffa-4":{"id":"/dist/browser/browser.js","moduleParts":{"tsparticles.path.simplex.noise.js":"df1bfffa-5"},"imported":[{"uid":"df1bfffa-2"}],"importedBy":[],"isEntry":true},"df1bfffa-6":{"id":"@tsparticles/plugin-move","moduleParts":{},"imported":[],"importedBy":[{"uid":"df1bfffa-2"}],"isExternal":true},"df1bfffa-7":{"id":"@tsparticles/noise-field","moduleParts":{},"imported":[],"importedBy":[{"uid":"df1bfffa-0"}],"isExternal":true},"df1bfffa-8":{"id":"@tsparticles/simplex-noise","moduleParts":{},"imported":[],"importedBy":[{"uid":"df1bfffa-0"}],"isExternal":true}},"env":{"rollup":"4.60.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
4934
4934
 
4935
4935
  const run = () => {
4936
4936
  const width = window.innerWidth;
@@ -1,5 +1,5 @@
1
1
  (function(g){g.__tsParticlesInternals=g.__tsParticlesInternals||{};g.__tsParticlesInternals.bundles=g.__tsParticlesInternals.bundles||{};g.__tsParticlesInternals.effects=g.__tsParticlesInternals.effects||{};g.__tsParticlesInternals.engine=g.__tsParticlesInternals.engine||{};g.__tsParticlesInternals.interactions=g.__tsParticlesInternals.interactions||{};g.__tsParticlesInternals.palettes=g.__tsParticlesInternals.palettes||{};g.__tsParticlesInternals.paths=g.__tsParticlesInternals.paths||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins=g.__tsParticlesInternals.plugins||{};g.__tsParticlesInternals.plugins.emittersShapes=g.__tsParticlesInternals.plugins.emittersShapes||{};g.__tsParticlesInternals.presets=g.__tsParticlesInternals.presets||{};g.__tsParticlesInternals.shapes=g.__tsParticlesInternals.shapes||{};g.__tsParticlesInternals.updaters=g.__tsParticlesInternals.updaters||{};g.__tsParticlesInternals.utils=g.__tsParticlesInternals.utils||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas=g.__tsParticlesInternals.canvas||{};g.__tsParticlesInternals.canvas.utils=g.__tsParticlesInternals.canvas.utils||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path=g.__tsParticlesInternals.path||{};g.__tsParticlesInternals.path.utils=g.__tsParticlesInternals.path.utils||{};var __tsProxyFactory=typeof Proxy!=="undefined"?function(obj){return new Proxy(obj,{get:function(target,key){if(!(key in target)){target[key]={};}return target[key];}});}:function(obj){return obj;};g.__tsParticlesInternals.bundles=__tsProxyFactory(g.__tsParticlesInternals.bundles);g.__tsParticlesInternals.effects=__tsProxyFactory(g.__tsParticlesInternals.effects);g.__tsParticlesInternals.interactions=__tsProxyFactory(g.__tsParticlesInternals.interactions);g.__tsParticlesInternals.palettes=__tsProxyFactory(g.__tsParticlesInternals.palettes);g.__tsParticlesInternals.paths=__tsProxyFactory(g.__tsParticlesInternals.paths);g.__tsParticlesInternals.plugins=__tsProxyFactory(g.__tsParticlesInternals.plugins);g.__tsParticlesInternals.plugins.emittersShapes=__tsProxyFactory(g.__tsParticlesInternals.plugins.emittersShapes);g.__tsParticlesInternals.presets=__tsProxyFactory(g.__tsParticlesInternals.presets);g.__tsParticlesInternals.shapes=__tsProxyFactory(g.__tsParticlesInternals.shapes);g.__tsParticlesInternals.updaters=__tsProxyFactory(g.__tsParticlesInternals.updaters);g.__tsParticlesInternals.utils=__tsProxyFactory(g.__tsParticlesInternals.utils);g.__tsParticlesInternals.canvas=__tsProxyFactory(g.__tsParticlesInternals.canvas);g.__tsParticlesInternals.path=__tsProxyFactory(g.__tsParticlesInternals.path);g.tsparticlesInternalExports=g.tsparticlesInternalExports||{};})(typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:this);
2
- /* Path v4.0.1 */
2
+ /* Path v4.0.3 */
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tsparticles/plugin-move'), require('@tsparticles/noise-field'), require('@tsparticles/simplex-noise')) :
5
5
  typeof define === 'function' && define.amd ? define(['exports', '@tsparticles/plugin-move', '@tsparticles/noise-field', '@tsparticles/simplex-noise'], factory) :
@@ -20,7 +20,7 @@
20
20
 
21
21
  const simplexNoisePathName = "simplexNoise";
22
22
  async function loadSimplexNoisePath(engine) {
23
- engine.checkVersion("4.0.1");
23
+ engine.checkVersion("4.0.3");
24
24
  await engine.pluginManager.register((e) => {
25
25
  pluginMove.ensureBaseMoverLoaded(e);
26
26
  e.pluginManager.addPathGenerator?.(simplexNoisePathName, container => {
@@ -1 +1 @@
1
- !function(s){s.__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.bundles=s.__tsParticlesInternals.bundles||{},s.__tsParticlesInternals.effects=s.__tsParticlesInternals.effects||{},s.__tsParticlesInternals.engine=s.__tsParticlesInternals.engine||{},s.__tsParticlesInternals.interactions=s.__tsParticlesInternals.interactions||{},s.__tsParticlesInternals.palettes=s.__tsParticlesInternals.palettes||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins.emittersShapes=s.__tsParticlesInternals.plugins.emittersShapes||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.shapes=s.__tsParticlesInternals.shapes||{},s.__tsParticlesInternals.updaters=s.__tsParticlesInternals.updaters||{},s.__tsParticlesInternals.utils=s.__tsParticlesInternals.utils||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas.utils=s.__tsParticlesInternals.canvas.utils||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path.utils=s.__tsParticlesInternals.path.utils||{};var t="undefined"!=typeof Proxy?function(s){return new Proxy(s,{get:function(s,t){return t in s||(s[t]={}),s[t]}})}:function(s){return s};s.__tsParticlesInternals.bundles=t(s.__tsParticlesInternals.bundles),s.__tsParticlesInternals.effects=t(s.__tsParticlesInternals.effects),s.__tsParticlesInternals.interactions=t(s.__tsParticlesInternals.interactions),s.__tsParticlesInternals.palettes=t(s.__tsParticlesInternals.palettes),s.__tsParticlesInternals.paths=t(s.__tsParticlesInternals.paths),s.__tsParticlesInternals.plugins=t(s.__tsParticlesInternals.plugins),s.__tsParticlesInternals.plugins.emittersShapes=t(s.__tsParticlesInternals.plugins.emittersShapes),s.__tsParticlesInternals.presets=t(s.__tsParticlesInternals.presets),s.__tsParticlesInternals.shapes=t(s.__tsParticlesInternals.shapes),s.__tsParticlesInternals.updaters=t(s.__tsParticlesInternals.updaters),s.__tsParticlesInternals.utils=t(s.__tsParticlesInternals.utils),s.__tsParticlesInternals.canvas=t(s.__tsParticlesInternals.canvas),s.__tsParticlesInternals.path=t(s.__tsParticlesInternals.path),s.tsparticlesInternalExports=s.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(s,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tsparticles/plugin-move"),require("@tsparticles/noise-field"),require("@tsparticles/simplex-noise")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/plugin-move","@tsparticles/noise-field","@tsparticles/simplex-noise"],t):t(((s="undefined"!=typeof globalThis?globalThis:s||self).__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.paths.simplexNoise=s.__tsParticlesInternals.paths.simplexNoise||{}),s.__tsParticlesInternals.plugins.move,s.__tsParticlesInternals.noise.field,s.__tsParticlesInternals.simplex.noise)}(this,function(s,t,e,n){"use strict";class a extends e.NoiseFieldGenerator{constructor(s){const t=new n.SimplexNoise;super(s,{noise4d:(s,e,n,a)=>t.noise4d.noise(s,e,n,a),seed:s=>{t.noise4d.seed(s)}})}}const l="simplexNoise";async function r(s){s.checkVersion("4.0.1"),await s.pluginManager.register(s=>{t.ensureBaseMoverLoaded(s),s.pluginManager.addPathGenerator?.(l,s=>Promise.resolve(new a(s)))})}const i=globalThis;i.__tsParticlesInternals=i.__tsParticlesInternals??{},i.loadSimplexNoisePath=r,s.loadSimplexNoisePath=r,s.simplexNoisePathName=l}),Object.assign(globalThis.window||globalThis,{loadSimplexNoisePath:(globalThis.__tsParticlesInternals.paths.simplexNoise||{}).loadSimplexNoisePath}),delete(globalThis.window||globalThis).tsparticlesInternalExports;
1
+ !function(s){s.__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.bundles=s.__tsParticlesInternals.bundles||{},s.__tsParticlesInternals.effects=s.__tsParticlesInternals.effects||{},s.__tsParticlesInternals.engine=s.__tsParticlesInternals.engine||{},s.__tsParticlesInternals.interactions=s.__tsParticlesInternals.interactions||{},s.__tsParticlesInternals.palettes=s.__tsParticlesInternals.palettes||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins.emittersShapes=s.__tsParticlesInternals.plugins.emittersShapes||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.shapes=s.__tsParticlesInternals.shapes||{},s.__tsParticlesInternals.updaters=s.__tsParticlesInternals.updaters||{},s.__tsParticlesInternals.utils=s.__tsParticlesInternals.utils||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas.utils=s.__tsParticlesInternals.canvas.utils||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path.utils=s.__tsParticlesInternals.path.utils||{};var t="undefined"!=typeof Proxy?function(s){return new Proxy(s,{get:function(s,t){return t in s||(s[t]={}),s[t]}})}:function(s){return s};s.__tsParticlesInternals.bundles=t(s.__tsParticlesInternals.bundles),s.__tsParticlesInternals.effects=t(s.__tsParticlesInternals.effects),s.__tsParticlesInternals.interactions=t(s.__tsParticlesInternals.interactions),s.__tsParticlesInternals.palettes=t(s.__tsParticlesInternals.palettes),s.__tsParticlesInternals.paths=t(s.__tsParticlesInternals.paths),s.__tsParticlesInternals.plugins=t(s.__tsParticlesInternals.plugins),s.__tsParticlesInternals.plugins.emittersShapes=t(s.__tsParticlesInternals.plugins.emittersShapes),s.__tsParticlesInternals.presets=t(s.__tsParticlesInternals.presets),s.__tsParticlesInternals.shapes=t(s.__tsParticlesInternals.shapes),s.__tsParticlesInternals.updaters=t(s.__tsParticlesInternals.updaters),s.__tsParticlesInternals.utils=t(s.__tsParticlesInternals.utils),s.__tsParticlesInternals.canvas=t(s.__tsParticlesInternals.canvas),s.__tsParticlesInternals.path=t(s.__tsParticlesInternals.path),s.tsparticlesInternalExports=s.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(s,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@tsparticles/plugin-move"),require("@tsparticles/noise-field"),require("@tsparticles/simplex-noise")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/plugin-move","@tsparticles/noise-field","@tsparticles/simplex-noise"],t):t(((s="undefined"!=typeof globalThis?globalThis:s||self).__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.paths.simplexNoise=s.__tsParticlesInternals.paths.simplexNoise||{}),s.__tsParticlesInternals.plugins.move,s.__tsParticlesInternals.noise.field,s.__tsParticlesInternals.simplex.noise)}(this,function(s,t,e,n){"use strict";class a extends e.NoiseFieldGenerator{constructor(s){const t=new n.SimplexNoise;super(s,{noise4d:(s,e,n,a)=>t.noise4d.noise(s,e,n,a),seed:s=>{t.noise4d.seed(s)}})}}const l="simplexNoise";async function r(s){s.checkVersion("4.0.3"),await s.pluginManager.register(s=>{t.ensureBaseMoverLoaded(s),s.pluginManager.addPathGenerator?.(l,s=>Promise.resolve(new a(s)))})}const i=globalThis;i.__tsParticlesInternals=i.__tsParticlesInternals??{},i.loadSimplexNoisePath=r,s.loadSimplexNoisePath=r,s.simplexNoisePathName=l}),Object.assign(globalThis.window||globalThis,{loadSimplexNoisePath:(globalThis.__tsParticlesInternals.paths.simplexNoise||{}).loadSimplexNoisePath}),delete(globalThis.window||globalThis).tsparticlesInternalExports;