shaders 3.1.455 → 3.1.457
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/dist/cli.js +2 -2
- package/dist/core/{Aurora-CTWNhlNr.js → Aurora-CJ7evt-F.js} +2 -2
- package/dist/core/{Beam-CgpfMTUq.js → Beam-KKNLzfKR.js} +1 -1
- package/dist/core/{BlockDissolve-DwWPjla0.js → BlockDissolve-B9xWZC6U.js} +1 -1
- package/dist/core/{BlockNoise-BMt760_p.js → BlockNoise-DQUBYM1N.js} +2 -2
- package/dist/core/{BlueNoise-Cfo_HthN.js → BlueNoise-BN1q4V6k.js} +2 -2
- package/dist/core/{Boids-CtvT1VsV.js → Boids-C7NstB5L.js} +1 -1
- package/dist/core/{BrickPattern-DomddM0C.js → BrickPattern-CIejlS9-.js} +3 -3
- package/dist/core/{BrushedMetal-BAgNgeo1.js → BrushedMetal-D2X_nM8z.js} +1 -1
- package/dist/core/{CarbonFiber-mK6eHIpy.js → CarbonFiber-BFogRBFa.js} +1 -1
- package/dist/core/{Chalkboard-BizZEHlC.js → Chalkboard-DEuq4TWm.js} +8 -39
- package/dist/core/{Checkerboard-Ynfnt3oJ.js → Checkerboard-BFFF9ajX.js} +2 -2
- package/dist/core/{Chevron-CEwNP2vt.js → Chevron-BHbGhnrT.js} +1 -1
- package/dist/core/{Chrome-DoPYr4Kd.js → Chrome-DdV9RY9D.js} +1 -1
- package/dist/core/{ColorWheel-BCReEdLZ.js → ColorWheel-BOfvt3mc.js} +1 -1
- package/dist/core/{ConicGradient-C3zzgyV4.js → ConicGradient-1RKI-gOR.js} +1 -1
- package/dist/core/{Crystal-B9DIgDD7.js → Crystal-CB_U2g2k.js} +1 -1
- package/dist/core/{CurlNoise-D6kSV8PJ.js → CurlNoise-FmbuZEYt.js} +2 -2
- package/dist/core/{DataMosh-CjVK_gxL.js → DataMosh-C_esIK54.js} +8 -20
- package/dist/core/{DiamondGradient-BkrLPdAd.js → DiamondGradient-CjnjxWEM.js} +1 -1
- package/dist/core/{DiffuseBlur-DUBfHpUN.js → DiffuseBlur-DmPHOfr_.js} +8 -55
- package/dist/core/{Dither-B4lhnNLA.js → Dither-CBsFenFW.js} +8 -39
- package/dist/core/{DotGrid-CJJXTOk6.js → DotGrid-CbxlW08N.js} +3 -3
- package/dist/core/{Engraving-DNNHKvIr.js → Engraving-CmNKAHmF.js} +1 -1
- package/dist/core/{ErosionNoise-w1aTuwY4.js → ErosionNoise-DdHtOQl4.js} +2 -2
- package/dist/core/{FallingLines-C1YT49dj.js → FallingLines-1q5WgiKa.js} +1 -1
- package/dist/core/{FilmGrain-BeZQzxdU.js → FilmGrain-CgvcPFDC.js} +29 -43
- package/dist/core/{FloatingParticles-Ch5OJjCc.js → FloatingParticles-BGig0_Ks.js} +1 -1
- package/dist/core/{FlowField-Cime_Fqy.js → FlowField-0I_PwtkD.js} +1 -1
- package/dist/core/{FlowingGradient-DL1e3OKu.js → FlowingGradient-DMZ1E9ix.js} +2 -2
- package/dist/core/{Fog-DvOvVKbF.js → Fog-DxFsHnT2.js} +51 -115
- package/dist/core/{FractalNoise-Bu8FbMYX.js → FractalNoise-DPhwf7-X.js} +3 -3
- package/dist/core/{Frost-BnE3EI6s.js → Frost-BL4zkGjj.js} +1 -1
- package/dist/core/{GaborNoise-BZFyQbDr.js → GaborNoise-GkEvNPeg.js} +2 -2
- package/dist/core/{Glitch-nokyLk8Q.js → Glitch-D-QTlz5D.js} +7 -24
- package/dist/core/{Godrays-fglKeS0z.js → Godrays-pfr82Onh.js} +9 -44
- package/dist/core/{Grid-BneV9T3T.js → Grid-CQRC0rPf.js} +3 -3
- package/dist/core/{Heatmap-Bp0wi8r1.js → Heatmap-DhvtrL45.js} +1 -1
- package/dist/core/{HexGrid-LGx240mZ.js → HexGrid-DsEQNWJB.js} +3 -3
- package/dist/core/{Hologram-B-090nzV.js → Hologram-DR88qD5X.js} +8 -40
- package/dist/core/{Holographic-CSIQUm1_.js → Holographic-DKc_nNnT.js} +1 -1
- package/dist/core/{IsometricCubes-BQFwe-5s.js → IsometricCubes-BBK6Ec0q.js} +3 -3
- package/dist/core/{LensFlare-B4F0dq7O.js → LensFlare-DLjQYsbx.js} +1 -1
- package/dist/core/{LightEdge-l2zPIeMQ.js → LightEdge-CF0k0vMa.js} +1 -1
- package/dist/core/{LightLeak-BSy19CB6.js → LightLeak-Bu6xFjg-.js} +1 -1
- package/dist/core/{LinearGradient-DOWwm0bP.js → LinearGradient--54vTgc2.js} +1 -1
- package/dist/core/{LiquidMetal-BbyxqZoO.js → LiquidMetal-Bhenyeg-.js} +1 -1
- package/dist/core/{MagneticFilings-5NVqpsrW.js → MagneticFilings-Bn5DZWor.js} +1 -1
- package/dist/core/{Marble-CzoJcXvo.js → Marble-DixQe_Tu.js} +2 -2
- package/dist/core/MeshGradient-Ca3pe_wB.js +1722 -0
- package/dist/core/{MultiPointGradient-NJZfFGVb.js → MultiPointGradient-CtFBgPK6.js} +1 -1
- package/dist/core/{NoiseDissolve-DxvqR71w.js → NoiseDissolve-CB-Xj99z.js} +1 -1
- package/dist/core/{ObjectTracker-DlVNN9LJ.js → ObjectTracker-DQbxNZtb.js} +1 -1
- package/dist/core/{Paper-Bn3DETI2.js → Paper-CVx1rZ1-.js} +1 -1
- package/dist/core/{ParticleField-CUtlCqxz.js → ParticleField-rfpfY_wr.js} +1 -1
- package/dist/core/{ParticleFlow-Ck5Ta_Rj.js → ParticleFlow-DnZTqxMa.js} +1 -1
- package/dist/core/{Particles-rnTAu4Mr.js → Particles-wfjtqAvF.js} +1 -1
- package/dist/core/{PerlinNoise-BUbmE_JA.js → PerlinNoise-B3PkQS1F.js} +2 -2
- package/dist/core/{PixelSort-CF0-TpU7.js → PixelSort-DF5Mm0uT.js} +19 -41
- package/dist/core/{Plasma-DOH9gxWt.js → Plasma-DdEQKNa7.js} +3 -3
- package/dist/core/{Plastic-CQNoTl22.js → Plastic-RGRWPbc0.js} +1 -1
- package/dist/core/{RadialGradient-C1Fb8TaL.js → RadialGradient-CiFbgiiX.js} +1 -1
- package/dist/core/{RandomBars-B7ZwitL3.js → RandomBars-BFJiR8ml.js} +1 -1
- package/dist/core/{ReactionDiffusion--54drNkY.js → ReactionDiffusion-COFwdqMo.js} +27 -55
- package/dist/core/{Scratches-Ih3Kx_UW.js → Scratches-RZkkhOMp.js} +1 -1
- package/dist/core/{SimplexNoise-E7ssgWPN.js → SimplexNoise-CD-iTgJm.js} +2 -2
- package/dist/core/{Stone-i7v3RIb9.js → Stone-B6MARs4o.js} +2 -2
- package/dist/core/{Stripes-B_SkTR2m.js → Stripes-C_i7QbEn.js} +2 -2
- package/dist/core/{StudioBackground-CUsUWJ2L.js → StudioBackground-CZipQCG_.js} +1 -1
- package/dist/core/{SunBurst-DiqSzz5A.js → SunBurst-BKj7bLZn.js} +1 -1
- package/dist/core/{Surface3D-DxzfMHn2.js → Surface3D-BlexrpDJ.js} +1 -1
- package/dist/core/{Text-Cb6QJNWo.js → Text-2KkuVHxV.js} +1 -1
- package/dist/core/{TriangularGrid-C3DBCmaj.js → TriangularGrid-DfrUVI8m.js} +3 -3
- package/dist/core/{Truchet-yjZm8xe3.js → Truchet-B3__IHji.js} +3 -3
- package/dist/core/{VHS-Z23X9XD6.js → VHS-BIaAlx98.js} +32 -101
- package/dist/core/{Voronoi-5QA-0zme.js → Voronoi-DsHYdzB3.js} +1 -1
- package/dist/core/{Water-DlvNrnrU.js → Water-T5GXFBCm.js} +1 -1
- package/dist/core/{Watercolor-BWx4xdwk.js → Watercolor-yog8LZOs.js} +1 -1
- package/dist/core/{WaveletNoise-CZS67VBU.js → WaveletNoise-pL_M8jha.js} +2 -2
- package/dist/core/{Weave-DpwAU5Rn.js → Weave-kQlWbHa6.js} +3 -3
- package/dist/core/{Wool-CEaWGZB1.js → Wool-CYzG-VrW.js} +2 -2
- package/dist/core/{WorleyNoise-CjRMr7xP.js → WorleyNoise-Cju8qU_5.js} +2 -2
- package/dist/core/{aa-C8WSqiNB.js → aa-zeNRf4Lz.js} +1 -1
- package/dist/core/{cells-CM9mfnTr.js → cells-C72CLFsJ.js} +1 -1
- package/dist/core/{fields-CC0756V2.js → fields-DgMkoZ6o.js} +1 -1
- package/dist/core/{geom-90G-d_hc.js → geom-B_TNdMNk.js} +1 -1
- package/dist/core/index.js +139 -138
- package/dist/core/{noise-Bd6IGS0W.js → noise-DX5Y_I--.js} +1 -1
- package/dist/core/{noiseStylize-CkeVSB9C.js → noiseStylize-BZD5cOJl.js} +1 -1
- package/dist/core/registry.js +139 -138
- package/dist/core/shaderRegistry-BIDNV71c.js +433 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Aurora/index.js +3 -3
- package/dist/core/shaders/Beam/index.js +2 -2
- package/dist/core/shaders/BlockDissolve/index.js +2 -2
- package/dist/core/shaders/BlockNoise/index.js +4 -4
- package/dist/core/shaders/BlueNoise/index.js +4 -4
- package/dist/core/shaders/Boids/index.js +2 -2
- package/dist/core/shaders/BrickPattern/index.js +4 -4
- package/dist/core/shaders/BrushedMetal/index.js +2 -2
- package/dist/core/shaders/CarbonFiber/index.js +2 -2
- package/dist/core/shaders/Chalkboard/index.d.ts.map +1 -1
- package/dist/core/shaders/Chalkboard/index.js +2 -1
- package/dist/core/shaders/Checkerboard/index.js +3 -3
- package/dist/core/shaders/Chevron/index.js +2 -2
- package/dist/core/shaders/Chrome/index.js +2 -2
- package/dist/core/shaders/ColorWheel/index.js +2 -2
- package/dist/core/shaders/ConicGradient/index.js +2 -2
- package/dist/core/shaders/Crystal/index.js +2 -2
- package/dist/core/shaders/CurlNoise/index.js +4 -4
- package/dist/core/shaders/DataMosh/index.d.ts +3 -1
- package/dist/core/shaders/DataMosh/index.d.ts.map +1 -1
- package/dist/core/shaders/DataMosh/index.js +2 -1
- package/dist/core/shaders/DiamondGradient/index.js +2 -2
- package/dist/core/shaders/DiffuseBlur/index.d.ts.map +1 -1
- package/dist/core/shaders/DiffuseBlur/index.js +2 -1
- package/dist/core/shaders/Dither/index.d.ts.map +1 -1
- package/dist/core/shaders/Dither/index.js +2 -1
- package/dist/core/shaders/DotGrid/index.js +4 -4
- package/dist/core/shaders/Engraving/index.js +2 -2
- package/dist/core/shaders/ErosionNoise/index.js +4 -4
- package/dist/core/shaders/FallingLines/index.js +2 -2
- package/dist/core/shaders/FilmGrain/index.d.ts.map +1 -1
- package/dist/core/shaders/FilmGrain/index.js +2 -1
- package/dist/core/shaders/FloatingParticles/index.js +2 -2
- package/dist/core/shaders/FlowField/index.js +2 -2
- package/dist/core/shaders/FlowingGradient/index.js +3 -3
- package/dist/core/shaders/Fog/index.d.ts.map +1 -1
- package/dist/core/shaders/Fog/index.js +2 -1
- package/dist/core/shaders/FractalNoise/index.js +4 -4
- package/dist/core/shaders/Frost/index.js +2 -2
- package/dist/core/shaders/GaborNoise/index.js +4 -4
- package/dist/core/shaders/Glitch/index.d.ts.map +1 -1
- package/dist/core/shaders/Glitch/index.js +2 -1
- package/dist/core/shaders/Godrays/index.d.ts.map +1 -1
- package/dist/core/shaders/Godrays/index.js +3 -2
- package/dist/core/shaders/Grid/index.js +4 -4
- package/dist/core/shaders/Heatmap/index.js +2 -2
- package/dist/core/shaders/HexGrid/index.js +4 -4
- package/dist/core/shaders/Hologram/index.d.ts.map +1 -1
- package/dist/core/shaders/Hologram/index.js +2 -2
- package/dist/core/shaders/Holographic/index.js +2 -2
- package/dist/core/shaders/IsometricCubes/index.js +4 -4
- package/dist/core/shaders/LensFlare/index.js +2 -2
- package/dist/core/shaders/LightEdge/index.js +2 -2
- package/dist/core/shaders/LightLeak/index.js +2 -2
- package/dist/core/shaders/LinearGradient/index.js +2 -2
- package/dist/core/shaders/LiquidMetal/index.js +2 -2
- package/dist/core/shaders/MagneticFilings/index.js +2 -2
- package/dist/core/shaders/Marble/index.js +3 -3
- package/dist/core/shaders/MeshGradient/index.d.ts +87 -0
- package/dist/core/shaders/MeshGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/MeshGradient/index.js +15 -0
- package/dist/core/shaders/Mirror/index.js +1 -1
- package/dist/core/shaders/MultiPointGradient/index.js +2 -2
- package/dist/core/shaders/NoiseDissolve/index.js +2 -2
- package/dist/core/shaders/ObjectTracker/index.js +2 -2
- package/dist/core/shaders/PagePeel/index.js +1 -1
- package/dist/core/shaders/Paper/index.js +2 -2
- package/dist/core/shaders/Parallelogram/index.js +1 -1
- package/dist/core/shaders/ParticleField/index.js +2 -2
- package/dist/core/shaders/ParticleFlow/index.js +2 -2
- package/dist/core/shaders/Particles/index.js +2 -2
- package/dist/core/shaders/PerlinNoise/index.js +4 -4
- package/dist/core/shaders/Perspective/index.js +1 -1
- package/dist/core/shaders/PixelSort/index.d.ts +2 -1
- package/dist/core/shaders/PixelSort/index.d.ts.map +1 -1
- package/dist/core/shaders/PixelSort/index.js +2 -1
- package/dist/core/shaders/PixelThrow/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/Plasma/index.js +4 -4
- package/dist/core/shaders/Plastic/index.js +2 -2
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Polygon/index.js +1 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/Prism/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.js +2 -2
- package/dist/core/shaders/RadialWipe/index.js +1 -1
- package/dist/core/shaders/RandomBars/index.js +2 -2
- package/dist/core/shaders/ReactionDiffusion/index.d.ts.map +1 -1
- package/dist/core/shaders/ReactionDiffusion/index.js +2 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/ReflectivePlane/index.js +1 -1
- package/dist/core/shaders/Repeater/index.js +1 -1
- package/dist/core/shaders/Ring/index.js +1 -1
- package/dist/core/shaders/RippleWipe/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/RoundedRect/index.js +1 -1
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Scratches/index.js +2 -2
- package/dist/core/shaders/Sharpness/index.js +1 -1
- package/dist/core/shaders/Shatter/index.js +1 -1
- package/dist/core/shaders/SimplexNoise/index.js +4 -4
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SliceWipe/index.js +1 -1
- package/dist/core/shaders/Smoke/index.js +1 -1
- package/dist/core/shaders/SmokeFill/index.js +1 -1
- package/dist/core/shaders/SmokeFlow/index.js +1 -1
- package/dist/core/shaders/Solarize/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Star/index.js +1 -1
- package/dist/core/shaders/Stone/index.js +3 -3
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Stripes/index.js +3 -3
- package/dist/core/shaders/StudioBackground/index.js +2 -2
- package/dist/core/shaders/SunBurst/index.js +2 -2
- package/dist/core/shaders/Surface3D/index.js +2 -2
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/Teardrop/index.js +1 -1
- package/dist/core/shaders/Text/index.js +2 -2
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/TimeTrail/index.js +1 -1
- package/dist/core/shaders/Tint/index.js +1 -1
- package/dist/core/shaders/Trapezoid/index.js +1 -1
- package/dist/core/shaders/TriangularGrid/index.js +4 -4
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Truchet/index.js +4 -4
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/VHS/index.d.ts.map +1 -1
- package/dist/core/shaders/VHS/index.js +2 -1
- package/dist/core/shaders/VenetianBlinds/index.js +1 -1
- package/dist/core/shaders/Vesica/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/VideoTexture/index.js +1 -1
- package/dist/core/shaders/Vignette/index.js +1 -1
- package/dist/core/shaders/Voronoi/index.js +2 -2
- package/dist/core/shaders/Water/index.js +2 -2
- package/dist/core/shaders/Watercolor/index.js +2 -2
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/WaveletNoise/index.js +4 -4
- package/dist/core/shaders/Weave/index.js +4 -4
- package/dist/core/shaders/WebcamTexture/index.js +1 -1
- package/dist/core/shaders/Wool/index.js +3 -3
- package/dist/core/shaders/WorleyNoise/index.js +3 -3
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/js/bundle.js +71 -71
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +38 -0
- package/dist/react/MeshGradient.js +226 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +152 -152
- package/dist/react/components/MeshGradient.d.ts +41 -0
- package/dist/react/components/MeshGradient.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +38 -0
- package/dist/registry.js +418 -0
- package/dist/solid/components/MeshGradient.d.ts +38 -0
- package/dist/solid/components/MeshGradient.d.ts.map +1 -0
- package/dist/solid/components/MeshGradient.js +232 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +219 -217
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +174 -172
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +38 -0
- package/dist/svelte/components/MeshGradient.svelte.d.ts +28 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2663 -2456
- package/dist/svelte/source/components/MeshGradient.svelte +352 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +38 -0
- package/dist/vue/MeshGradient.js +3 -0
- package/dist/vue/MeshGradient.vue_vue_type_script_setup_true_lang.js +237 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/components/MeshGradient.vue.d.ts +63 -0
- package/dist/vue/components/MeshGradient.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +2 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +38 -0
- package/package.json +9 -1
- package/dist/core/shaderRegistry-DLSuwWtO.js +0 -431
- /package/dist/core/{Mirror-B_2eQT6d.js → Mirror-DObS_qYr.js} +0 -0
- /package/dist/core/{PagePeel-BZOvdHFV.js → PagePeel-DOapA4QF.js} +0 -0
- /package/dist/core/{Parallelogram-a6zB6mY9.js → Parallelogram-BUR2Mg0g.js} +0 -0
- /package/dist/core/{Perspective-S94umCQn.js → Perspective-Bp1nozq3.js} +0 -0
- /package/dist/core/{PixelThrow-2WPijuDY.js → PixelThrow-ANJ0F294.js} +0 -0
- /package/dist/core/{Pixelate-BLdO8qAT.js → Pixelate-Bl29QKdg.js} +0 -0
- /package/dist/core/{PolarCoordinates-DZNOyHmN.js → PolarCoordinates-kNqucXuj.js} +0 -0
- /package/dist/core/{Polygon-BM3xGxOC.js → Polygon-Cg1Yb-TF.js} +0 -0
- /package/dist/core/{Posterize-BJl7Irml.js → Posterize-Bjfq_Et8.js} +0 -0
- /package/dist/core/{Prism-CaJyExNA.js → Prism-CGeOs8pX.js} +0 -0
- /package/dist/core/{ProgressiveBlur-B1Ur87dm.js → ProgressiveBlur-DHvM4Y4m.js} +0 -0
- /package/dist/core/{RadialWipe-CA5xWWPN.js → RadialWipe-BRvtJQN-.js} +0 -0
- /package/dist/core/{RectangularCoordinates-BEOFurXt.js → RectangularCoordinates-s25JfGDt.js} +0 -0
- /package/dist/core/{ReflectivePlane-wERmyiKx.js → ReflectivePlane-DP8vG4-U.js} +0 -0
- /package/dist/core/{Repeater-Cy8up7cj.js → Repeater-B6_lpYav.js} +0 -0
- /package/dist/core/{Ring-Cogdtn-0.js → Ring-CEaC7ILp.js} +0 -0
- /package/dist/core/{RippleWipe-fJwyE4vj.js → RippleWipe-UrrIoCor.js} +0 -0
- /package/dist/core/{Ripples-BSHfhVG1.js → Ripples-Cdha1qtk.js} +0 -0
- /package/dist/core/{RoundedRect-D3intNNI.js → RoundedRect-CLsMHcTd.js} +0 -0
- /package/dist/core/{Saturation-D42Bfc5P.js → Saturation-Bpjxowys.js} +0 -0
- /package/dist/core/{Sharpness-Dyh6312-.js → Sharpness-fFikIkE3.js} +0 -0
- /package/dist/core/{Shatter-Qc5aMkWj.js → Shatter-C_v-Y_F_.js} +0 -0
- /package/dist/core/{SineWave-CnPtZLSs.js → SineWave-D4hvW_8O.js} +0 -0
- /package/dist/core/{SliceWipe-Byb46V6I.js → SliceWipe-pGIB0xIc.js} +0 -0
- /package/dist/core/{Smoke-5x6IAk2_.js → Smoke-NgL8_Wlw.js} +0 -0
- /package/dist/core/{SmokeFill-DOQpTlCv.js → SmokeFill-Cd-U58Bx.js} +0 -0
- /package/dist/core/{SmokeFlow-B4fdM2M-.js → SmokeFlow-BhjNSfcC.js} +0 -0
- /package/dist/core/{Solarize-BB0bXhP0.js → Solarize-DD2cjiZ7.js} +0 -0
- /package/dist/core/{SolidColor-D-6N9JmI.js → SolidColor-CmSX4SHb.js} +0 -0
- /package/dist/core/{Spherize-aWpru70e.js → Spherize-Cpbor3M3.js} +0 -0
- /package/dist/core/{Spiral-Dbm2j7mM.js → Spiral-BLM63kmf.js} +0 -0
- /package/dist/core/{Star-XtB9FBhQ.js → Star-UzeNW_jo.js} +0 -0
- /package/dist/core/{Strands-BFaZBnNo.js → Strands-DR_owki5.js} +0 -0
- /package/dist/core/{Stretch-BKg0gjm4.js → Stretch-Zhc5gz72.js} +0 -0
- /package/dist/core/{Swirl-DBxZ6Wud.js → Swirl-CKMRfpSx.js} +0 -0
- /package/dist/core/{Teardrop-CnhwMyQx.js → Teardrop-Dcfd14iX.js} +0 -0
- /package/dist/core/{TiltShift-DqEFOoJG.js → TiltShift-Yfz7yOnT.js} +0 -0
- /package/dist/core/{TimeTrail-G_JamlY8.js → TimeTrail-3YRaIap8.js} +0 -0
- /package/dist/core/{Tint-Dj1rSoJ0.js → Tint-6e9QqUg4.js} +0 -0
- /package/dist/core/{Trapezoid-D2PMU9G3.js → Trapezoid-CTww_GcP.js} +0 -0
- /package/dist/core/{Tritone-DfULv51I.js → Tritone-DmtMlvKc.js} +0 -0
- /package/dist/core/{Twirl-DfRsql00.js → Twirl-ECiB1asy.js} +0 -0
- /package/dist/core/{VenetianBlinds-CCucT73e.js → VenetianBlinds-DWnvvXJC.js} +0 -0
- /package/dist/core/{Vesica-BIGpXjWv.js → Vesica-iFL8Vjcf.js} +0 -0
- /package/dist/core/{Vibrance-CtlvCONz.js → Vibrance-CDeIsI81.js} +0 -0
- /package/dist/core/{VideoTexture-DW6bQduh.js → VideoTexture-UIOWDMK6.js} +0 -0
- /package/dist/core/{Vignette-Dz3pPnPR.js → Vignette-F2HgCda5.js} +0 -0
- /package/dist/core/{WaveDistortion-CRQzZDLP.js → WaveDistortion-BWVqDVI3.js} +0 -0
- /package/dist/core/{WebcamTexture-DauLQjCl.js → WebcamTexture-Barzo30S.js} +0 -0
- /package/dist/core/{ZoomBlur-DgG9JA7a.js → ZoomBlur-DqJUm1uw.js} +0 -0
- /package/dist/core/{fonts-ScBvKolx.js → fonts-DPf2-jCd.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { G as mixColorsLinear, Gt as data_exports, Ht as sqrt, K as mixColorsVariants, Pt as pow, at as std_exports, cn as vec4f, h as call, jt as min, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
|
-
import { r as geom_exports } from "./geom-
|
|
2
|
+
import { r as geom_exports } from "./geom-B_TNdMNk.js";
|
|
3
3
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
4
4
|
var { aspectOf, aspectCentrePosition } = geom_exports;
|
|
5
5
|
var mpgWeight = src_default.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Gt as data_exports, at as std_exports, cn as vec4f, f as ZERO, h as call, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
|
-
import {
|
|
2
|
+
import { d as mxNoiseFloat2, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
3
3
|
import { c as reveal_exports, n as applyReveal, s as revealMask } from "./reveal-DhktaT1C.js";
|
|
4
4
|
import { i as transformBoolean } from "./transformations-B-zNWNdd.js";
|
|
5
5
|
const noiseDissolveMask = src_default.fn([
|
|
@@ -2,7 +2,7 @@ import { C as formatFloat, I as unpremultiplyAlpha, S as Expr, f as ZERO } from
|
|
|
2
2
|
import { a as transformColor, i as transformBoolean } from "./transformations-B-zNWNdd.js";
|
|
3
3
|
import { t as createSwappableMediaTexture } from "./mediaLifecycle-yHZ8w5aj.js";
|
|
4
4
|
import { n as createFontDependentRaster, r as createRasterInvalidator, t as createCanvasRasterTarget } from "./canvasRaster-BB2bNhS7.js";
|
|
5
|
-
import { n as loadGoogleFont } from "./fonts-
|
|
5
|
+
import { n as loadGoogleFont } from "./fonts-DPf2-jCd.js";
|
|
6
6
|
var ATLAS_GLYPHS = "0123456789x%";
|
|
7
7
|
var ATLAS_SLOTS = 16;
|
|
8
8
|
var ATLAS_CELL_W = 64;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Gt as data_exports, I as unpremultiplyAlpha, at as std_exports, dn as i32, f as ZERO, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
|
-
import {
|
|
2
|
+
import { h as paper12, m as noise_exports, n as curl22 } from "./noise-DX5Y_I--.js";
|
|
3
3
|
const paperSurface = src_default.fn([
|
|
4
4
|
vec2f,
|
|
5
5
|
f32,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { At as max, Bt as sin, Dt as floor, Gt as data_exports, Jt as texture2d, Kt as atomic, Mt as mix, St as cos, Vt as smoothstep, Yt as textureStorage2d, an as vec2u, at as std_exports, bt as ceil, cn as vec4f, dn as i32, en as struct, f as ZERO, fn as u32, gt as select, ht as atomicStore, in as vec2i, jt as min, lt as textureStore, mt as atomicLoad, on as vec3f, ot as textureDimensions, pt as atomicAdd, qt as arrayOf, rn as vec2f, rt as src_default, st as textureLoad, un as f32, wt as dot, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { o as TAU$1, t as DEG_TO_RAD } from "./constants-DoOzbl5b.js";
|
|
3
3
|
import { _ as readAgentFrame, g as makeCpuValueGetter, h as integrateSemiImplicitEuler, m as energyCoverageAlpha, p as createAgentSystem, v as resolveRenderRes, y as texelSplatWindow } from "./porters-DUtQounc.js";
|
|
4
|
-
import {
|
|
4
|
+
import { m as noise_exports, s as hash12 } from "./noise-DX5Y_I--.js";
|
|
5
5
|
import { a as makeAgentTexelWeightFn, c as pointShapeOptions, i as cursorMagnet, l as resolveAgentShape, n as agents_exports, r as cursorFalloff, t as AGENT_SHAPES } from "./agents-C_kohsYu.js";
|
|
6
6
|
var GRID_DIM_MAX = 256;
|
|
7
7
|
var MAX_PARTICLES = GRID_DIM_MAX * GRID_DIM_MAX;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { At as max, Dt as floor, G as mixColorsLinear, Gt as data_exports, Ht as sqrt, Jt as texture2d, K as mixColorsVariants, Kt as atomic, Mt as mix, Ot as fract, Tt as exp, Yt as textureStorage2d, _t as abs, an as vec2u, at as std_exports, bt as ceil, cn as vec4f, dn as i32, en as struct, f as ZERO, fn as u32, gt as select, ht as atomicStore, jt as min, kt as length, lt as textureStore, mt as atomicLoad, on as vec3f, pt as atomicAdd, qt as arrayOf, rn as vec2f, rt as src_default, st as textureLoad, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { a as gaussianBrushSq, c as createStableFluidsPasses, l as neighbourIndex, s as buildStableFluidsKernels } from "./porters-DUtQounc.js";
|
|
3
|
-
import {
|
|
3
|
+
import { m as noise_exports, r as curl22z, u as hash33 } from "./noise-DX5Y_I--.js";
|
|
4
4
|
import { M as createGuardedCompute, P as createStateBuffer, t as isMobileGpuViewport } from "./device-B0ZwBfOg.js";
|
|
5
5
|
import { a as makeAgentTexelWeightFn, l as resolveAgentShape, s as orientedShapeOptions, t as AGENT_SHAPES } from "./agents-C_kohsYu.js";
|
|
6
6
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { At as max, Ct as cross, Dt as floor, G as mixColorsLinear, Gt as data_exports, Ht as sqrt, Jt as texture2d, K as mixColorsVariants, Kt as atomic, Mt as mix, Nt as normalize, Pt as pow, Tt as exp, Vt as smoothstep, Yt as textureStorage2d, _t as abs, an as vec2u, at as std_exports, bt as ceil, cn as vec4f, dn as i32, en as struct, f as ZERO, fn as u32, ht as atomicStore, in as vec2i, jt as min, kt as length, lt as textureStore, mt as atomicLoad, on as vec3f, pt as atomicAdd, qt as arrayOf, rn as vec2f, rt as src_default, st as textureLoad, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
3
|
import { _ as readAgentFrame, d as R3_ALPHA, f as SIZE_REF_RES, g as makeCpuValueGetter, h as integrateSemiImplicitEuler, m as energyCoverageAlpha, p as createAgentSystem, v as resolveRenderRes, y as texelSplatWindow } from "./porters-DUtQounc.js";
|
|
4
|
-
import {
|
|
4
|
+
import { m as noise_exports, o as hash11, u as hash33 } from "./noise-DX5Y_I--.js";
|
|
5
5
|
import { C as sdf_exports } from "./device-B0ZwBfOg.js";
|
|
6
6
|
import { i as shapeEffectBoundingBoxDeclaration, n as sdf3d_exports, r as resolveShapeType } from "./sdf3d-CP87OlsQ.js";
|
|
7
7
|
import { a as makeAgentTexelWeightFn, c as pointShapeOptions, i as cursorMagnet, l as resolveAgentShape, n as agents_exports, t as AGENT_SHAPES } from "./agents-C_kohsYu.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as call, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
|
-
import { i as fields_exports, o as timeAxisDomain, t as aspectScaledDomain } from "./fields-
|
|
2
|
+
import { i as fields_exports, o as timeAxisDomain, t as aspectScaledDomain } from "./fields-DgMkoZ6o.js";
|
|
3
3
|
import { t as animatedTime } from "./porters-DUtQounc.js";
|
|
4
|
-
import {
|
|
4
|
+
import { _ as perlin13, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
5
5
|
import { n as toneAndColorExpr } from "./noiseColor-DYhX5Js1.js";
|
|
6
6
|
import { i as noiseToneProps, r as noiseSpeedProp, t as noiseColorProps } from "./noiseColor-DRDY44sf.js";
|
|
7
7
|
const perlinNoiseField = src_default.fn([
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dt as floor, F as blend_exports, Gt as data_exports, Ht as sqrt, I as unpremultiplyAlpha, Jt as texture2d, Mt as mix, Rt as round, Vt as smoothstep, Yt as textureStorage2d, an as vec2u, at as std_exports, cn as vec4f, dn as i32, en as struct, f as ZERO, fn as u32, gt as select, h as call, jt as min, lt as textureStore, on as vec3f, qt as arrayOf, rn as vec2f, rt as src_default, st as textureLoad, un as f32, wt as dot, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
|
+
import { c as hash13, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
2
3
|
import { M as createGuardedCompute, P as createStateBuffer } from "./device-B0ZwBfOg.js";
|
|
3
4
|
var WORK = 512;
|
|
4
5
|
var CELL_COUNT = WORK * WORK;
|
|
@@ -216,7 +217,7 @@ const cellRand = src_default.fn([
|
|
|
216
217
|
f32
|
|
217
218
|
], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((xf, yf, seed) => {
|
|
218
219
|
"use gpu";
|
|
219
|
-
return
|
|
220
|
+
return hash13(vec3f(xf, yf, seed));
|
|
220
221
|
}), {
|
|
221
222
|
v: 1,
|
|
222
223
|
name: void 0,
|
|
@@ -239,52 +240,29 @@ const cellRand = src_default.fn([
|
|
|
239
240
|
6,
|
|
240
241
|
[
|
|
241
242
|
7,
|
|
242
|
-
"
|
|
243
|
-
"
|
|
243
|
+
"noise",
|
|
244
|
+
"hash13"
|
|
244
245
|
],
|
|
245
246
|
[[
|
|
246
|
-
|
|
247
|
+
6,
|
|
247
248
|
[
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
"std",
|
|
252
|
-
"sin"
|
|
253
|
-
],
|
|
254
|
-
[[
|
|
255
|
-
1,
|
|
256
|
-
[
|
|
257
|
-
1,
|
|
258
|
-
[
|
|
259
|
-
1,
|
|
260
|
-
"xf",
|
|
261
|
-
"*",
|
|
262
|
-
[5, "12.9898"]
|
|
263
|
-
],
|
|
264
|
-
"+",
|
|
265
|
-
[
|
|
266
|
-
1,
|
|
267
|
-
"yf",
|
|
268
|
-
"*",
|
|
269
|
-
[5, "78.233"]
|
|
270
|
-
]
|
|
271
|
-
],
|
|
272
|
-
"+",
|
|
273
|
-
[
|
|
274
|
-
1,
|
|
275
|
-
"seed",
|
|
276
|
-
"*",
|
|
277
|
-
[5, "0.137"]
|
|
278
|
-
]
|
|
279
|
-
]]
|
|
249
|
+
7,
|
|
250
|
+
"d",
|
|
251
|
+
"vec3f"
|
|
280
252
|
],
|
|
281
|
-
|
|
282
|
-
|
|
253
|
+
[
|
|
254
|
+
"xf",
|
|
255
|
+
"yf",
|
|
256
|
+
"seed"
|
|
257
|
+
]
|
|
283
258
|
]]
|
|
284
259
|
]]]],
|
|
285
|
-
"externalNames": ["
|
|
260
|
+
"externalNames": ["noise", "d"]
|
|
286
261
|
},
|
|
287
|
-
externals: () => ({
|
|
262
|
+
externals: () => ({
|
|
263
|
+
noise: noise_exports,
|
|
264
|
+
d: data_exports
|
|
265
|
+
})
|
|
288
266
|
}) && $.f)({}));
|
|
289
267
|
var lumaLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(src_default.bindGroupLayout({
|
|
290
268
|
input: { texture: texture2d(f32) },
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Gt as data_exports, Tt as exp, at as std_exports, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { r as toneRemap } from "./tone-DPUvX6X0.js";
|
|
3
|
-
import { r as geom_exports, t as aspectOf } from "./geom-
|
|
4
|
-
import { n as domainWarp2 } from "./fields-
|
|
3
|
+
import { r as geom_exports, t as aspectOf } from "./geom-B_TNdMNk.js";
|
|
4
|
+
import { n as domainWarp2 } from "./fields-DgMkoZ6o.js";
|
|
5
5
|
import { V as colorStopsPropConfig, t as animatedTime } from "./porters-DUtQounc.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as mxNoiseFloat3, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
7
7
|
import { t as mixStopsOrColorsExpr } from "./noiseColor-DYhX5Js1.js";
|
|
8
8
|
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
9
9
|
const plasmaTone = toneRemap({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { At as max, Bt as sin, Et as exp2, G as mixColorsLinear, Gt as data_exports, Ht as sqrt, It as reflect, K as mixColorsVariants, Mt as mix, Nt as normalize, Pt as pow, St as cos, Vt as smoothstep, _t as abs, at as std_exports, cn as vec4f, gt as select, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32, wt as dot, x as vec4, xt as clamp, y as floatE } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
3
|
import { J as mixColorStopsRuntime, V as colorStopsPropConfig, t as animatedTime } from "./porters-DUtQounc.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as mxNoiseFloat2, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
5
5
|
import { C as sdf_exports } from "./device-B0ZwBfOg.js";
|
|
6
6
|
import { n as lighting_exports } from "./lighting-D3jc6qOc.js";
|
|
7
7
|
import { i as shapeEffectBoundingBoxDeclaration, n as sdf3d_exports } from "./sdf3d-CP87OlsQ.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { At as max, Bt as sin, Gt as data_exports, Ot as fract, St as cos, at as std_exports, gt as select, h as call, kt as length, rn as vec2f, rt as src_default, un as f32, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
|
-
import { r as geom_exports } from "./geom-
|
|
3
|
+
import { r as geom_exports } from "./geom-B_TNdMNk.js";
|
|
4
4
|
import { V as colorStopsPropConfig } from "./porters-DUtQounc.js";
|
|
5
5
|
import { t as mixStopsOrColorsExpr } from "./noiseColor-DYhX5Js1.js";
|
|
6
6
|
import { a as transformColor, c as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { At as max, Dt as floor, at as std_exports, cn as vec4f, f as ZERO, h as call, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
|
-
import {
|
|
2
|
+
import { m as noise_exports, o as hash11 } from "./noise-DX5Y_I--.js";
|
|
3
3
|
import { c as reveal_exports, i as directionalCoord, n as applyReveal, s as revealMask } from "./reveal-DhktaT1C.js";
|
|
4
4
|
import { i as transformBoolean } from "./transformations-B-zNWNdd.js";
|
|
5
5
|
const randomBarsMask = src_default.fn([
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { At as max, Bt as sin,
|
|
1
|
+
import { At as max, Bt as sin, Gt as data_exports, Jt as texture2d, Mt as mix, Nt as normalize, Pt as pow, R as colorMixing_exports, St as cos, Tt as exp, Vt as smoothstep, Yt as textureStorage2d, an as vec2u, at as std_exports, cn as vec4f, dn as i32, en as struct, f as ZERO, fn as u32, gt as select, h as call, jt as min, lt as textureStore, on as vec3f, ot as textureDimensions, qt as arrayOf, rn as vec2f, rt as src_default, st as textureLoad, un as f32, wt as dot, x as vec4, xt as clamp, y as floatE } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD } from "./constants-DoOzbl5b.js";
|
|
3
3
|
import { O as createLateBoundChildInput } from "./porters-DUtQounc.js";
|
|
4
|
+
import { m as noise_exports, s as hash12 } from "./noise-DX5Y_I--.js";
|
|
4
5
|
import { M as createGuardedCompute, N as createPingPongPair, P as createStateBuffer } from "./device-B0ZwBfOg.js";
|
|
5
6
|
import { a as transformColor, i as transformBoolean, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
6
7
|
import { n as createPointerVelocityTracker } from "./pointer-DGDGF-yO.js";
|
|
@@ -1958,8 +1959,7 @@ const reactionKernelChild = makeReactionKernel(reactionChildLayout, nbrStateChil
|
|
|
1958
1959
|
const seedKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
|
|
1959
1960
|
"use gpu";
|
|
1960
1961
|
const idx = __tsover_add(__tsover_mul(cy, u32(N)), cx);
|
|
1961
|
-
const
|
|
1962
|
-
const h = __tsover_sub(s, floor(s));
|
|
1962
|
+
const h = hash12(vec2f(f32(cx), f32(cy)));
|
|
1963
1963
|
const vSeed = select(f32(0), f32(1), h < SEED_DENSITY);
|
|
1964
1964
|
seedLayout.$.stateBuf[idx] = vec2f(1, vSeed);
|
|
1965
1965
|
}), {
|
|
@@ -1999,69 +1999,39 @@ const seedKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
|
|
|
1999
1999
|
],
|
|
2000
2000
|
[
|
|
2001
2001
|
13,
|
|
2002
|
-
"
|
|
2002
|
+
"h",
|
|
2003
2003
|
[
|
|
2004
|
-
|
|
2004
|
+
6,
|
|
2005
2005
|
[
|
|
2006
|
+
7,
|
|
2007
|
+
"noise",
|
|
2008
|
+
"hash12"
|
|
2009
|
+
],
|
|
2010
|
+
[[
|
|
2006
2011
|
6,
|
|
2007
2012
|
[
|
|
2008
2013
|
7,
|
|
2009
|
-
"
|
|
2010
|
-
"
|
|
2014
|
+
"d",
|
|
2015
|
+
"vec2f"
|
|
2011
2016
|
],
|
|
2012
2017
|
[[
|
|
2013
|
-
|
|
2018
|
+
6,
|
|
2014
2019
|
[
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
[
|
|
2019
|
-
7,
|
|
2020
|
-
"d",
|
|
2021
|
-
"f32"
|
|
2022
|
-
],
|
|
2023
|
-
["cx"]
|
|
2024
|
-
],
|
|
2025
|
-
"*",
|
|
2026
|
-
[5, "12.9898"]
|
|
2020
|
+
7,
|
|
2021
|
+
"d",
|
|
2022
|
+
"f32"
|
|
2027
2023
|
],
|
|
2028
|
-
"
|
|
2024
|
+
["cx"]
|
|
2025
|
+
], [
|
|
2026
|
+
6,
|
|
2029
2027
|
[
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
"d",
|
|
2036
|
-
"f32"
|
|
2037
|
-
],
|
|
2038
|
-
["cy"]
|
|
2039
|
-
],
|
|
2040
|
-
"*",
|
|
2041
|
-
[5, "78.233"]
|
|
2042
|
-
]
|
|
2028
|
+
7,
|
|
2029
|
+
"d",
|
|
2030
|
+
"f32"
|
|
2031
|
+
],
|
|
2032
|
+
["cy"]
|
|
2043
2033
|
]]
|
|
2044
|
-
]
|
|
2045
|
-
"*",
|
|
2046
|
-
[5, "43758.5453"]
|
|
2047
|
-
]
|
|
2048
|
-
],
|
|
2049
|
-
[
|
|
2050
|
-
13,
|
|
2051
|
-
"h",
|
|
2052
|
-
[
|
|
2053
|
-
1,
|
|
2054
|
-
"s",
|
|
2055
|
-
"-",
|
|
2056
|
-
[
|
|
2057
|
-
6,
|
|
2058
|
-
[
|
|
2059
|
-
7,
|
|
2060
|
-
"std",
|
|
2061
|
-
"floor"
|
|
2062
|
-
],
|
|
2063
|
-
["s"]
|
|
2064
|
-
]
|
|
2034
|
+
]]
|
|
2065
2035
|
]
|
|
2066
2036
|
],
|
|
2067
2037
|
[
|
|
@@ -2132,6 +2102,7 @@ const seedKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
|
|
|
2132
2102
|
"externalNames": [
|
|
2133
2103
|
"d",
|
|
2134
2104
|
"N",
|
|
2105
|
+
"noise",
|
|
2135
2106
|
"std",
|
|
2136
2107
|
"SEED_DENSITY",
|
|
2137
2108
|
"seedLayout"
|
|
@@ -2140,6 +2111,7 @@ const seedKernel = src_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThi
|
|
|
2140
2111
|
externals: () => ({
|
|
2141
2112
|
d: data_exports,
|
|
2142
2113
|
N,
|
|
2114
|
+
noise: noise_exports,
|
|
2143
2115
|
std: std_exports,
|
|
2144
2116
|
SEED_DENSITY,
|
|
2145
2117
|
seedLayout
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Gt as data_exports, Tt as exp, at as std_exports, h as call, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as animatedTime } from "./porters-DUtQounc.js";
|
|
3
|
-
import {
|
|
3
|
+
import { m as noise_exports, v as scratches12 } from "./noise-DX5Y_I--.js";
|
|
4
4
|
import { n as toneAndColorExpr } from "./noiseColor-DYhX5Js1.js";
|
|
5
5
|
import { n as noiseColorPropsAB, r as noiseSpeedProp } from "./noiseColor-DRDY44sf.js";
|
|
6
6
|
const scratchesField = src_default.fn([
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h as call, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { r as toneRemap } from "./tone-DPUvX6X0.js";
|
|
3
|
-
import { i as fields_exports, o as timeAxisDomain, t as aspectScaledDomain } from "./fields-
|
|
3
|
+
import { i as fields_exports, o as timeAxisDomain, t as aspectScaledDomain } from "./fields-DgMkoZ6o.js";
|
|
4
4
|
import { t as animatedTime } from "./porters-DUtQounc.js";
|
|
5
|
-
import {
|
|
5
|
+
import { f as mxNoiseFloat3, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
6
6
|
import { t as mixStopsOrColorsExpr } from "./noiseColor-DYhX5Js1.js";
|
|
7
7
|
import { t as noiseColorProps } from "./noiseColor-DRDY44sf.js";
|
|
8
8
|
var simplexTone = toneRemap({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as applyNoiseReliefExpr, t as reliefStylizeProps } from "./noiseStylize-
|
|
1
|
+
import { y as stone12 } from "./noise-DX5Y_I--.js";
|
|
2
|
+
import { n as applyNoiseReliefExpr, t as reliefStylizeProps } from "./noiseStylize-BZD5cOJl.js";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Stone",
|
|
5
5
|
boundingBoxDeclaration: { aspectRatio: null },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Bt as sin, G as mixColorsLinear, K as mixColorsVariants, St as cos, at as std_exports, h as call, rn as vec2f, rt as src_default, un as f32 } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
|
-
import { r as geom_exports } from "./geom-
|
|
4
|
-
import { t as aa_exports } from "./aa-
|
|
3
|
+
import { r as geom_exports } from "./geom-B_TNdMNk.js";
|
|
4
|
+
import { t as aa_exports } from "./aa-zeNRf4Lz.js";
|
|
5
5
|
import { t as animatedTime } from "./porters-DUtQounc.js";
|
|
6
6
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
7
7
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Gt as data_exports, Mt as mix, Tt as exp, Vt as smoothstep, at as std_exports, cn as vec4f, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { o as TAU$1 } from "./constants-DoOzbl5b.js";
|
|
3
|
-
import { r as geom_exports, t as aspectOf } from "./geom-
|
|
3
|
+
import { r as geom_exports, t as aspectOf } from "./geom-B_TNdMNk.js";
|
|
4
4
|
import { l as radialGaussianGlow } from "./lightfields-ffHoLyJn.js";
|
|
5
5
|
import { a as transformColor, c as transformPosition } from "./transformations-B-zNWNdd.js";
|
|
6
6
|
var TAU = TAU$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ht as sqrt, Vt as smoothstep, at as std_exports, b as mixExpr, h as call, rn as vec2f, rt as src_default, un as f32, x as vec4, yt as atan2 } from "./edges-CD7gCAto.js";
|
|
2
|
-
import { r as geom_exports, t as aspectOf } from "./geom-
|
|
2
|
+
import { r as geom_exports, t as aspectOf } from "./geom-B_TNdMNk.js";
|
|
3
3
|
import { n as angularSineLobes, o as lightfields_exports } from "./lightfields-ffHoLyJn.js";
|
|
4
4
|
import { t as animatedTime } from "./porters-DUtQounc.js";
|
|
5
5
|
import { a as transformColor, c as transformPosition } from "./transformations-B-zNWNdd.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { At as max, Bt as sin, Dt as floor, Et as exp2, Gt as data_exports, I as unpremultiplyAlpha, Mt as mix, Nt as normalize, Pt as pow, St as cos, Tt as exp, Vt as smoothstep, Yt as textureStorage2d, _t as abs, an as vec2u, at as std_exports, cn as vec4f, en as struct, f as ZERO, fn as u32, gt as select, h as call, i as edgeMirrorUV, jt as min, lt as textureStore, o as edgeWrapUV, on as vec3f, qt as arrayOf, rn as vec2f, rt as src_default, s as edges_exports, un as f32, wt as dot, x as vec4, xt as clamp } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { s as TWO_PI$1, t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as mxNoiseFloat2, m as noise_exports } from "./noise-DX5Y_I--.js";
|
|
4
4
|
import { M as createGuardedCompute, N as createPingPongPair, P as createStateBuffer, t as isMobileGpuViewport } from "./device-B0ZwBfOg.js";
|
|
5
5
|
import { a as transformColor, s as transformEdges } from "./transformations-B-zNWNdd.js";
|
|
6
6
|
var WAVE_GRID = 256;
|
|
@@ -3,7 +3,7 @@ import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
|
3
3
|
import { a as transformColor, c as transformPosition } from "./transformations-B-zNWNdd.js";
|
|
4
4
|
import { t as createSwappableMediaTexture } from "./mediaLifecycle-yHZ8w5aj.js";
|
|
5
5
|
import { n as createFontDependentRaster, r as createRasterInvalidator, t as createCanvasRasterTarget } from "./canvasRaster-BB2bNhS7.js";
|
|
6
|
-
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-
|
|
6
|
+
import { n as loadGoogleFont, t as isFontAvailable } from "./fonts-DPf2-jCd.js";
|
|
7
7
|
function applyTextTransform(text, mode) {
|
|
8
8
|
switch (mode) {
|
|
9
9
|
case "uppercase": return text.toUpperCase();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { At as max, Bt as sin, Dt as floor, G as mixColorsLinear, Gt as data_exports, K as mixColorsVariants, Ot as fract, St as cos, Ut as step, _t as abs, at as std_exports, ft as fwidth, h as call, jt as min, rn as vec2f, rt as src_default, un as f32, x as vec4 } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
|
-
import { r as geom_exports } from "./geom-
|
|
4
|
-
import { n as cells_exports } from "./cells-
|
|
5
|
-
import { t as aa_exports } from "./aa-
|
|
3
|
+
import { r as geom_exports } from "./geom-B_TNdMNk.js";
|
|
4
|
+
import { n as cells_exports } from "./cells-C72CLFsJ.js";
|
|
5
|
+
import { t as aa_exports } from "./aa-zeNRf4Lz.js";
|
|
6
6
|
import { t as animatedTime } from "./porters-DUtQounc.js";
|
|
7
7
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
8
8
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { At as max, Bt as sin, G as mixColorsLinear, Gt as data_exports, K as mixColorsVariants, Ot as fract, St as cos, _t as abs, at as std_exports, ft as fwidth, gt as select, h as call, jt as min, kt as length, rn as vec2f, rt as src_default, un as f32, wt as dot } from "./edges-CD7gCAto.js";
|
|
2
2
|
import { t as DEG_TO_RAD$1 } from "./constants-DoOzbl5b.js";
|
|
3
|
-
import { r as geom_exports } from "./geom-
|
|
4
|
-
import { n as cells_exports } from "./cells-
|
|
5
|
-
import { t as aa_exports } from "./aa-
|
|
3
|
+
import { r as geom_exports } from "./geom-B_TNdMNk.js";
|
|
4
|
+
import { n as cells_exports } from "./cells-C72CLFsJ.js";
|
|
5
|
+
import { t as aa_exports } from "./aa-zeNRf4Lz.js";
|
|
6
6
|
import { a as transformColor, o as transformColorSpace, r as transformAngle, t as colorSpaceOptions } from "./transformations-B-zNWNdd.js";
|
|
7
7
|
var DEG_TO_RAD = DEG_TO_RAD$1;
|
|
8
8
|
var { aspectOf, rotateAboutCanvasCentre } = geom_exports;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Bt as sin, Dt as floor, Gt as data_exports, I as unpremultiplyAlpha, Mt as mix, Ot as fract, St as cos, Vt as smoothstep, Zt as mod, at as std_exports, cn as vec4f, f as ZERO, h as call, on as vec3f, rn as vec2f, rt as src_default, un as f32, wt as dot, xt as clamp, y as floatE } from "./edges-CD7gCAto.js";
|
|
2
|
+
import { m as noise_exports, s as hash12 } from "./noise-DX5Y_I--.js";
|
|
2
3
|
var FIELD_LINES = 487;
|
|
3
4
|
var hash2D = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
4
5
|
"use gpu";
|
|
5
|
-
return
|
|
6
|
+
return hash12(p);
|
|
6
7
|
}), {
|
|
7
8
|
v: 1,
|
|
8
9
|
name: void 0,
|
|
@@ -15,46 +16,14 @@ var hash2D = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__
|
|
|
15
16
|
6,
|
|
16
17
|
[
|
|
17
18
|
7,
|
|
18
|
-
"
|
|
19
|
-
"
|
|
19
|
+
"noise",
|
|
20
|
+
"hash12"
|
|
20
21
|
],
|
|
21
|
-
[
|
|
22
|
-
1,
|
|
23
|
-
[
|
|
24
|
-
6,
|
|
25
|
-
[
|
|
26
|
-
7,
|
|
27
|
-
"std",
|
|
28
|
-
"sin"
|
|
29
|
-
],
|
|
30
|
-
[[
|
|
31
|
-
6,
|
|
32
|
-
[
|
|
33
|
-
7,
|
|
34
|
-
"std",
|
|
35
|
-
"dot"
|
|
36
|
-
],
|
|
37
|
-
["p", [
|
|
38
|
-
6,
|
|
39
|
-
[
|
|
40
|
-
7,
|
|
41
|
-
"d",
|
|
42
|
-
"vec2f"
|
|
43
|
-
],
|
|
44
|
-
[[5, "12.9898"], [5, "78.233"]]
|
|
45
|
-
]]
|
|
46
|
-
]]
|
|
47
|
-
],
|
|
48
|
-
"*",
|
|
49
|
-
[5, "43758.5453"]
|
|
50
|
-
]]
|
|
22
|
+
["p"]
|
|
51
23
|
]]]],
|
|
52
|
-
"externalNames": ["
|
|
24
|
+
"externalNames": ["noise"]
|
|
53
25
|
},
|
|
54
|
-
externals: () => ({
|
|
55
|
-
std: std_exports,
|
|
56
|
-
d: data_exports
|
|
57
|
-
})
|
|
26
|
+
externals: () => ({ noise: noise_exports })
|
|
58
27
|
}) && $.f)({}));
|
|
59
28
|
var smoothNoise2D = src_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((p) => {
|
|
60
29
|
"use gpu";
|
|
@@ -303,8 +272,8 @@ const vhsSampleUVs = src_default.fn([
|
|
|
303
272
|
const t = __tsover_mul(time, speed);
|
|
304
273
|
const burst = smoothstep(.45, .8, smoothNoise2D(vec2f(__tsover_mul(t, .4), 0)));
|
|
305
274
|
const rowInt = floor(__tsover_mul(uv.y, FIELD_LINES));
|
|
306
|
-
const h0 = __tsover_mul(__tsover_sub(
|
|
307
|
-
const h1 = __tsover_mul(__tsover_sub(
|
|
275
|
+
const h0 = __tsover_mul(__tsover_sub(hash12(vec2f(rowInt, t)), .5), 2);
|
|
276
|
+
const h1 = __tsover_mul(__tsover_sub(hash12(vec2f(rowInt, __tsover_add(t, 69.42))), .5), 2);
|
|
308
277
|
const fineGate = __tsover_add(.25, __tsover_mul(burst, .75));
|
|
309
278
|
const chromaRowOffset = __tsover_mul(__tsover_mul(__tsover_mul(h0, scanlineNoise), .008), fineGate);
|
|
310
279
|
const lumaRowOffset = __tsover_mul(__tsover_mul(__tsover_mul(h1, scanlineNoise), .004), fineGate);
|
|
@@ -425,37 +394,17 @@ const vhsSampleUVs = src_default.fn([
|
|
|
425
394
|
6,
|
|
426
395
|
[
|
|
427
396
|
7,
|
|
428
|
-
"
|
|
429
|
-
"
|
|
397
|
+
"noise",
|
|
398
|
+
"hash12"
|
|
430
399
|
],
|
|
431
400
|
[[
|
|
432
|
-
|
|
401
|
+
6,
|
|
433
402
|
[
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
"std",
|
|
438
|
-
"sin"
|
|
439
|
-
],
|
|
440
|
-
[[
|
|
441
|
-
1,
|
|
442
|
-
[
|
|
443
|
-
1,
|
|
444
|
-
"rowInt",
|
|
445
|
-
"*",
|
|
446
|
-
[5, "12.9898"]
|
|
447
|
-
],
|
|
448
|
-
"+",
|
|
449
|
-
[
|
|
450
|
-
1,
|
|
451
|
-
"t",
|
|
452
|
-
"*",
|
|
453
|
-
[5, "78.233"]
|
|
454
|
-
]
|
|
455
|
-
]]
|
|
403
|
+
7,
|
|
404
|
+
"d",
|
|
405
|
+
"vec2f"
|
|
456
406
|
],
|
|
457
|
-
"
|
|
458
|
-
[5, "43758.5453"]
|
|
407
|
+
["rowInt", "t"]
|
|
459
408
|
]]
|
|
460
409
|
],
|
|
461
410
|
"-",
|
|
@@ -476,42 +425,22 @@ const vhsSampleUVs = src_default.fn([
|
|
|
476
425
|
6,
|
|
477
426
|
[
|
|
478
427
|
7,
|
|
479
|
-
"
|
|
480
|
-
"
|
|
428
|
+
"noise",
|
|
429
|
+
"hash12"
|
|
481
430
|
],
|
|
482
431
|
[[
|
|
483
|
-
|
|
432
|
+
6,
|
|
484
433
|
[
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
"std",
|
|
489
|
-
"sin"
|
|
490
|
-
],
|
|
491
|
-
[[
|
|
492
|
-
1,
|
|
493
|
-
[
|
|
494
|
-
1,
|
|
495
|
-
"rowInt",
|
|
496
|
-
"*",
|
|
497
|
-
[5, "12.9898"]
|
|
498
|
-
],
|
|
499
|
-
"+",
|
|
500
|
-
[
|
|
501
|
-
1,
|
|
502
|
-
[
|
|
503
|
-
1,
|
|
504
|
-
"t",
|
|
505
|
-
"+",
|
|
506
|
-
[5, "69.42"]
|
|
507
|
-
],
|
|
508
|
-
"*",
|
|
509
|
-
[5, "78.233"]
|
|
510
|
-
]
|
|
511
|
-
]]
|
|
434
|
+
7,
|
|
435
|
+
"d",
|
|
436
|
+
"vec2f"
|
|
512
437
|
],
|
|
513
|
-
"
|
|
514
|
-
|
|
438
|
+
["rowInt", [
|
|
439
|
+
1,
|
|
440
|
+
"t",
|
|
441
|
+
"+",
|
|
442
|
+
[5, "69.42"]
|
|
443
|
+
]]
|
|
515
444
|
]]
|
|
516
445
|
],
|
|
517
446
|
"-",
|
|
@@ -957,14 +886,16 @@ const vhsSampleUVs = src_default.fn([
|
|
|
957
886
|
"std",
|
|
958
887
|
"smoothNoise2D",
|
|
959
888
|
"d",
|
|
960
|
-
"FIELD_LINES"
|
|
889
|
+
"FIELD_LINES",
|
|
890
|
+
"noise"
|
|
961
891
|
]
|
|
962
892
|
},
|
|
963
893
|
externals: () => ({
|
|
964
894
|
std: std_exports,
|
|
965
895
|
smoothNoise2D,
|
|
966
896
|
d: data_exports,
|
|
967
|
-
FIELD_LINES
|
|
897
|
+
FIELD_LINES,
|
|
898
|
+
noise: noise_exports
|
|
968
899
|
})
|
|
969
900
|
}) && $.f)({}));
|
|
970
901
|
const vhsAcBeat = src_default.fn([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Gt as data_exports, b as mixExpr, h as call, rn as vec2f, rt as src_default, un as f32, x as vec4 } from "./edges-CD7gCAto.js";
|
|
2
|
-
import { r as geom_exports, t as aspectOf } from "./geom-
|
|
2
|
+
import { r as geom_exports, t as aspectOf } from "./geom-B_TNdMNk.js";
|
|
3
3
|
import { a as cellRatio, c as nearest2Cells, r as cellEdgeMask, s as cellular_exports } from "./cellular-qYnxKdPx.js";
|
|
4
4
|
import { V as colorStopsPropConfig, t as animatedTime } from "./porters-DUtQounc.js";
|
|
5
5
|
import { t as mixStopsOrColorsExpr } from "./noiseColor-DYhX5Js1.js";
|