"use strict";(globalThis.webpackChunk_tsparticles_wordpress=globalThis.webpackChunk_tsparticles_wordpress||[]).push([[6673],{6673:(s,e,t)=>{t.d(e,{loadCurlNoisePath:()=>c});var i=t(9201),o=t(2658);const p={speed:.2,step:250};class n{constructor(){const s=new o.L;this._simplex=s.noise2d,this.options=(0,i.ZB)({},p)}generate(s){const e=s.getPosition(),{speed:t,step:o}=this.options,p=e.x/o,n=e.y/o,a=.001,c=(this._simplex.noise(p,n+a)-this._simplex.noise(p,n-a))/.002,l=(this._simplex.noise(p+a,n)-this._simplex.noise(p-a,n))/.002;return s.velocity.x=0,s.velocity.y=0,i.OW.create(t*c,t*-l)}init(s){const e=s.actualOptions.particles.move.path.options;this.options.seed=e?.seed,this.options.speed=(e?.speed??p.speed)*s.retina.pixelRatio,this.options.step=e?.step??p.step,this._simplex.seed(this.options.seed??(0,i.sZ)())}reset(){}update(){}}const a="curlNoise";async function c(s,e=!0){await s.addPathGenerator(a,new n,e)}}}]);