shaders 2.5.115 → 2.5.117
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/core/{AngularBlur-BgZWbEjj.js → AngularBlur-C1oRJ8Y9.js} +1 -1
- package/dist/core/{Aurora-KcUDr49P.js → Aurora-D5Pjk4ve.js} +1 -1
- package/dist/core/{Beam-CAnoOWgt.js → Beam-mvF5Ri7_.js} +1 -1
- package/dist/core/{Blob-CuRSRXmA.js → Blob-CLHx5s6k.js} +1 -1
- package/dist/core/{Bulge-6gRUYqZS.js → Bulge-wflTcWfI.js} +1 -1
- package/dist/core/{Checkerboard-ucave4-a.js → Checkerboard-Db7Rb57F.js} +1 -1
- package/dist/core/{ChromaFlow-DxQaUqPL.js → ChromaFlow-DbiVz3hF.js} +1 -1
- package/dist/core/{ChromaticAberration-DsMj-vBw.js → ChromaticAberration-Bg_I4XF-.js} +1 -1
- package/dist/core/{Circle-QgCuVo44.js → Circle-Bfi2e0Vm.js} +1 -1
- package/dist/core/{ConcentricSpin-Fegtvhl6.js → ConcentricSpin-bAFd5_WI.js} +1 -1
- package/dist/core/{ConicGradient-CQAPYlQg.js → ConicGradient-Bcw4_25S.js} +1 -1
- package/dist/core/{ContourLines-tDBvQOvb.js → ContourLines-CcQWPKLx.js} +1 -1
- package/dist/core/{Crescent-BkRt-XWy.js → Crescent-DiioCL2k.js} +1 -1
- package/dist/core/{Cross-kkY7feuC.js → Cross-CxQTHuxC.js} +1 -1
- package/dist/core/{Crystal-COGiLVvV.js → Crystal-B3iO7o_n.js} +1 -1
- package/dist/core/{CursorRipples-BqtHgpEq.js → CursorRipples-CsYAXG2E.js} +1 -1
- package/dist/core/{CursorTrail-CgRMXbTG.js → CursorTrail-CUtEP_-P.js} +1 -1
- package/dist/core/{DiamondGradient-BC3ugP8a.js → DiamondGradient-3b93bdrv.js} +1 -1
- package/dist/core/{DiffuseBlur-B-Vki4ab.js → DiffuseBlur-61Vuq571.js} +1 -1
- package/dist/core/{Dither-CDfDotR6.js → Dither-Cv0Uci60.js} +1 -1
- package/dist/core/{DotGrid-T9YbgC3V.js → DotGrid-C88Sux6D.js} +1 -1
- package/dist/core/{DropShadow-B7FzTp4H.js → DropShadow-EZyCC_97.js} +1 -1
- package/dist/core/{Duotone-CqQ0NMxS.js → Duotone-D4ads1T9.js} +1 -1
- package/dist/core/{Ellipse-CXxGqTYI.js → Ellipse-iwH-zEvD.js} +1 -1
- package/dist/core/{Emboss-LU-6cckT.js → Emboss-B4i61QDT.js} +1 -1
- package/dist/core/{FallingLines-CArEXajJ.js → FallingLines-CQBvwLqn.js} +1 -1
- package/dist/core/{FloatingParticles-DpYA0_TE.js → FloatingParticles-BAvsQDhF.js} +1 -1
- package/dist/core/{FlowField-CTWyjeXm.js → FlowField-D2xJ0Xr4.js} +1 -1
- package/dist/core/{Flower-MAwlZEv8.js → Flower-CdHVKJKu.js} +1 -1
- package/dist/core/{FlowingGradient-C0Zoyfd6.js → FlowingGradient-DVDnNpGd.js} +1 -1
- package/dist/core/{FlutedGlass-B4FlyBOn.js → FlutedGlass-trmBFfQr.js} +1 -1
- package/dist/core/{Fog-CIdU2Wn-.js → Fog-DrsxPyih.js} +1 -1
- package/dist/core/{Form3D-CqmOXXGj.js → Form3D-D1TtCjk8.js} +1 -1
- package/dist/core/{Glass-BCOkQbvW.js → Glass-B19xsZLn.js} +1 -1
- package/dist/core/{Godrays-w3ruw4NO.js → Godrays-Mvz7ha2E.js} +1 -1
- package/dist/core/{Grid-CKbLS5tU.js → Grid-CsD21Eqg.js} +1 -1
- package/dist/core/{GridDistortion-CVpebl48.js → GridDistortion-BcDqBh9i.js} +1 -1
- package/dist/core/{Halftone-BGQeBAgG.js → Halftone-3ImN5uQi.js} +1 -1
- package/dist/core/{HexGrid-BFrnZEZT.js → HexGrid-BWwIHYEg.js} +1 -1
- package/dist/core/{Kaleidoscope-B0_OCrob.js → Kaleidoscope-D1HmcoOv.js} +1 -1
- package/dist/core/{LensFlare-B8x1fOKu.js → LensFlare-Be-Z9whi.js} +1 -1
- package/dist/core/{LinearBlur-CshzmjfO.js → LinearBlur-xrHtMmWp.js} +1 -1
- package/dist/core/{LinearGradient-Bzwquw_Q.js → LinearGradient-BiIad_hA.js} +1 -1
- package/dist/core/{Liquify-ZMAyGUIb.js → Liquify-DkTxZZFW.js} +1 -1
- package/dist/core/{Mirror-Gb0fugtF.js → Mirror-BDTE51kP.js} +1 -1
- package/dist/core/{MultiPointGradient-D0QQwizn.js → MultiPointGradient-Bd-EGOI8.js} +1 -1
- package/dist/core/{Neon-eN4HlILk.js → Neon-BeGABHrs.js} +1 -1
- package/dist/core/{Perspective-SBZzprC5.js → Perspective-CqweSeFv.js} +1 -1
- package/dist/core/{Plasma-COq8mAw2.js → Plasma-DqKLBDYd.js} +1 -1
- package/dist/core/{PolarCoordinates-Ckvb1eG0.js → PolarCoordinates-CKT4CLT7.js} +1 -1
- package/dist/core/{Polygon-BP5eKEiz.js → Polygon-_3DSqSBg.js} +1 -1
- package/dist/core/{ProgressiveBlur-CNacb2Qx.js → ProgressiveBlur-Dh8W2bZ3.js} +1 -1
- package/dist/core/{RadialGradient-SASVv2vb.js → RadialGradient-Dj3-DdO7.js} +1 -1
- package/dist/core/{RectangularCoordinates-r0fTwVuL.js → RectangularCoordinates-DxeLJ2nt.js} +1 -1
- package/dist/core/{Ring-CdJlzjRV.js → Ring-4J6h5Iof.js} +1 -1
- package/dist/core/{Ripples-BRZPZszq.js → Ripples-CXeVzwUd.js} +1 -1
- package/dist/core/{RoundedRect-lzzi_1J7.js → RoundedRect-Dj-gqOc0.js} +1 -1
- package/dist/core/{Shatter-CC3EFcP9.js → Shatter-CDza7dSw.js} +1 -1
- package/dist/core/{SimplexNoise-0-rfeziU.js → SimplexNoise-HQTocBLm.js} +1 -1
- package/dist/core/{SineWave--i6bSrad.js → SineWave-S6nK8ZHR.js} +1 -1
- package/dist/core/{Smoke-BgPHDWDR.js → Smoke-DjlArYQW.js} +1 -1
- package/dist/core/{SmokeFill-Dtctgt2S.js → SmokeFill-rM9vUIm4.js} +1 -1
- package/dist/core/{SolidColor-D9ikFFu3.js → SolidColor-a8bCIksn.js} +1 -1
- package/dist/core/{Spherize-ZBorEEOU.js → Spherize-BHmD2ajL.js} +1 -1
- package/dist/core/{Spiral-sg-i02xw.js → Spiral-Bjsi8BMH.js} +1 -1
- package/dist/core/{Star-BcqCHzHG.js → Star-CJ4mkBZg.js} +1 -1
- package/dist/core/{Strands-XLpth60o.js → Strands-C9fEwaiR.js} +1 -1
- package/dist/core/{Stretch-CJUUU-I1.js → Stretch-Cvht8B0L.js} +1 -1
- package/dist/core/{Stripes-DEOXYnmy.js → Stripes-ChVSAeCO.js} +1 -1
- package/dist/core/{StudioBackground-B5dpTR_X.js → StudioBackground-B8hilROB.js} +1 -1
- package/dist/core/{Swirl-WqPvBF7u.js → Swirl-DZTPLx-W.js} +1 -1
- package/dist/core/{TiltShift-CYb6OQoU.js → TiltShift-DSQ-CsXz.js} +1 -1
- package/dist/core/{Tint-C-bJpwd0.js → Tint-P7KwJAU5.js} +1 -1
- package/dist/core/{Trapezoid-BvTEGdW_.js → Trapezoid-P9gXhH9a.js} +1 -1
- package/dist/core/{Tritone-LX-qUAGy.js → Tritone-_9VR2bhu.js} +1 -1
- package/dist/core/{Truchet-DE4lgYRb.js → Truchet-CbL5nYMj.js} +1 -1
- package/dist/core/{Twirl-CgRyZdT1.js → Twirl-C_97m32v.js} +1 -1
- package/dist/core/{Vesica-DqJMyqmy.js → Vesica-DYov_i53.js} +1 -1
- package/dist/core/{Vignette-CA12P9VO.js → Vignette-DmYVHciL.js} +1 -1
- package/dist/core/{Voronoi-DXeJ3xOf.js → Voronoi-kngFpTNB.js} +1 -1
- package/dist/core/{WaveDistortion-iyTUI1lj.js → WaveDistortion-DM-f_XCw.js} +1 -1
- package/dist/core/{Weave-Bn2CfeE4.js → Weave-DO0m0Dsh.js} +1 -1
- package/dist/core/WorleyNoise-Derik4n-.js +323 -0
- package/dist/core/{ZoomBlur-DOzP_sOK.js → ZoomBlur-BdLC9MCq.js} +1 -1
- package/dist/core/index.js +86 -85
- package/dist/core/registry.js +86 -85
- package/dist/core/{shaderRegistry-SmtG2mTo.js → shaderRegistry-Ceu0nAxP.js} +86 -84
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +2 -2
- package/dist/core/shaders/Aurora/index.js +2 -2
- package/dist/core/shaders/Beam/index.js +2 -2
- package/dist/core/shaders/Blob/index.js +2 -2
- package/dist/core/shaders/Bulge/index.js +2 -2
- package/dist/core/shaders/Checkerboard/index.js +2 -2
- package/dist/core/shaders/ChromaFlow/index.js +2 -2
- package/dist/core/shaders/ChromaticAberration/index.js +2 -2
- package/dist/core/shaders/Circle/index.js +2 -2
- package/dist/core/shaders/ConcentricSpin/index.js +2 -2
- package/dist/core/shaders/ConicGradient/index.js +2 -2
- package/dist/core/shaders/ContourLines/index.js +2 -2
- package/dist/core/shaders/Crescent/index.js +2 -2
- package/dist/core/shaders/Cross/index.js +2 -2
- package/dist/core/shaders/Crystal/index.js +2 -2
- package/dist/core/shaders/CursorRipples/index.js +2 -2
- package/dist/core/shaders/CursorTrail/index.js +2 -2
- package/dist/core/shaders/DiamondGradient/index.js +2 -2
- package/dist/core/shaders/DiffuseBlur/index.js +2 -2
- package/dist/core/shaders/Dither/index.js +2 -2
- package/dist/core/shaders/DotGrid/index.js +2 -2
- package/dist/core/shaders/DropShadow/index.js +2 -2
- package/dist/core/shaders/Duotone/index.js +2 -2
- package/dist/core/shaders/Ellipse/index.js +2 -2
- package/dist/core/shaders/Emboss/index.js +2 -2
- package/dist/core/shaders/FallingLines/index.js +2 -2
- package/dist/core/shaders/FloatingParticles/index.js +2 -2
- package/dist/core/shaders/FlowField/index.js +2 -2
- package/dist/core/shaders/Flower/index.js +2 -2
- package/dist/core/shaders/FlowingGradient/index.js +2 -2
- package/dist/core/shaders/FlutedGlass/index.js +2 -2
- package/dist/core/shaders/Fog/index.js +2 -2
- package/dist/core/shaders/Form3D/index.js +2 -2
- package/dist/core/shaders/Glass/index.js +2 -2
- package/dist/core/shaders/Godrays/index.js +2 -2
- package/dist/core/shaders/Grid/index.js +2 -2
- package/dist/core/shaders/GridDistortion/index.js +2 -2
- package/dist/core/shaders/Halftone/index.js +2 -2
- package/dist/core/shaders/HexGrid/index.js +2 -2
- package/dist/core/shaders/Kaleidoscope/index.js +2 -2
- package/dist/core/shaders/LensFlare/index.js +2 -2
- package/dist/core/shaders/LinearBlur/index.js +2 -2
- package/dist/core/shaders/LinearGradient/index.js +2 -2
- package/dist/core/shaders/Liquify/index.js +2 -2
- package/dist/core/shaders/Mirror/index.js +2 -2
- package/dist/core/shaders/MultiPointGradient/index.js +2 -2
- package/dist/core/shaders/Neon/index.js +2 -2
- package/dist/core/shaders/Perspective/index.js +2 -2
- package/dist/core/shaders/Plasma/index.js +2 -2
- package/dist/core/shaders/PolarCoordinates/index.js +2 -2
- package/dist/core/shaders/Polygon/index.js +2 -2
- package/dist/core/shaders/ProgressiveBlur/index.js +2 -2
- package/dist/core/shaders/RadialGradient/index.js +2 -2
- package/dist/core/shaders/RectangularCoordinates/index.js +2 -2
- package/dist/core/shaders/Ring/index.js +2 -2
- package/dist/core/shaders/Ripples/index.js +2 -2
- package/dist/core/shaders/RoundedRect/index.js +2 -2
- package/dist/core/shaders/Shatter/index.js +2 -2
- package/dist/core/shaders/SimplexNoise/index.js +2 -2
- package/dist/core/shaders/SineWave/index.js +2 -2
- package/dist/core/shaders/Smoke/index.js +2 -2
- package/dist/core/shaders/SmokeFill/index.js +2 -2
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +2 -2
- package/dist/core/shaders/Spiral/index.js +2 -2
- package/dist/core/shaders/Star/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +2 -2
- package/dist/core/shaders/Stretch/index.js +2 -2
- package/dist/core/shaders/Stripes/index.js +2 -2
- package/dist/core/shaders/StudioBackground/index.js +2 -2
- package/dist/core/shaders/Swirl/index.js +2 -2
- package/dist/core/shaders/TiltShift/index.js +2 -2
- package/dist/core/shaders/Tint/index.js +2 -2
- package/dist/core/shaders/Trapezoid/index.js +2 -2
- package/dist/core/shaders/Tritone/index.js +2 -2
- package/dist/core/shaders/Truchet/index.js +2 -2
- package/dist/core/shaders/Twirl/index.js +2 -2
- package/dist/core/shaders/Vesica/index.js +2 -2
- package/dist/core/shaders/Vignette/index.js +2 -2
- package/dist/core/shaders/Voronoi/index.js +2 -2
- package/dist/core/shaders/WaveDistortion/index.js +2 -2
- package/dist/core/shaders/Weave/index.js +2 -2
- package/dist/core/shaders/WorleyNoise/index.d.ts +99 -0
- package/dist/core/shaders/WorleyNoise/index.d.ts.map +1 -0
- package/dist/core/shaders/WorleyNoise/index.js +5 -0
- package/dist/core/shaders/ZoomBlur/index.js +2 -2
- package/dist/core/{transformations-B5lM6fYX.js → transformations-CJcUeZIC.js} +23 -8
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/core/utilities/transformations.d.ts.map +1 -1
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +20 -1
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/WorleyNoise.js +217 -0
- package/dist/react/bundle.js +207 -207
- package/dist/react/components/WorleyNoise.d.ts +39 -0
- package/dist/react/components/WorleyNoise.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 +20 -1
- package/dist/react/utils/generatePresetCode.template.d.ts.map +1 -1
- package/dist/registry.js +519 -0
- package/dist/solid/components/WorleyNoise.d.ts +36 -0
- package/dist/solid/components/WorleyNoise.d.ts.map +1 -0
- package/dist/solid/components/WorleyNoise.js +228 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +216 -214
- 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 +8 -6
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +20 -1
- package/dist/solid/utils/generatePresetCode.template.d.ts.map +1 -1
- package/dist/svelte/components/WorleyNoise.svelte.d.ts +26 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +634 -434
- package/dist/svelte/source/components/WorleyNoise.svelte +332 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +20 -1
- 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 +28 -18
- package/dist/vue/WorleyNoise.js +3 -0
- package/dist/vue/WorleyNoise.vue_vue_type_script_setup_true_lang.js +226 -0
- package/dist/vue/components/WorleyNoise.vue.d.ts +61 -0
- package/dist/vue/components/WorleyNoise.vue.d.ts.map +1 -0
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- 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 +20 -1
- package/dist/vue/utils/generatePresetCode.template.d.ts.map +1 -1
- package/package.json +9 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CJcUeZIC.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
3
|
import { Fn, abs, dot, float, floor, fract, fwidth, length, min, screenUV, sin, smoothstep, step, vec2, viewportSize } from "three/tsl";
|
|
4
4
|
var truchetHash = Fn(([p]) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-CX_lJB9R.js";
|
|
2
|
-
import { c as transformEdges, l as transformPosition } from "./transformations-
|
|
2
|
+
import { c as transformEdges, l as transformPosition } from "./transformations-CJcUeZIC.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-C4ptedXe.js";
|
|
4
4
|
import { convertToTexture, cos, length, screenUV, sin, vec2, vec4, viewportSize } from "three/tsl";
|
|
5
5
|
const componentDefinition = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { a as transformColor, l as transformPosition, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CJcUeZIC.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
3
|
import { p as vesicaSdf } from "./sdf-DyC2H_qS.js";
|
|
4
4
|
import { cos, float, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as transformColor, l as transformPosition } from "./transformations-
|
|
1
|
+
import { a as transformColor, l as transformPosition } from "./transformations-CJcUeZIC.js";
|
|
2
2
|
import { length, mix, screenUV, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Vignette",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CJcUeZIC.js";
|
|
2
2
|
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
3
|
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
4
4
|
import { Fn, cos, dot, float, floor, fract, length, mix, pow, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-CX_lJB9R.js";
|
|
2
|
-
import { c as transformEdges } from "./transformations-
|
|
2
|
+
import { c as transformEdges } from "./transformations-CJcUeZIC.js";
|
|
3
3
|
import { t as unpremultiplyAlpha } from "./alpha-C4ptedXe.js";
|
|
4
4
|
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
5
5
|
import { PI, abs, convertToTexture, cos, float, fract, screenUV, sin, step, uniform, vec2, vec4, viewportSize } from "three/tsl";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as transformColor } from "./transformations-
|
|
1
|
+
import { a as transformColor } from "./transformations-CJcUeZIC.js";
|
|
2
2
|
import { cos, float, floor, fract, fwidth, mod, screenUV, sin, smoothstep, vec2, vec4, viewportSize } from "three/tsl";
|
|
3
3
|
const componentDefinition = {
|
|
4
4
|
name: "Weave",
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import { a as transformColor, o as transformColorSpace, t as colorSpaceOptions } from "./transformations-CJcUeZIC.js";
|
|
2
|
+
import { t as mixColors } from "./colorMixing-BPpDnR5I.js";
|
|
3
|
+
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
4
|
+
import { Fn, abs, clamp, cos, dot, float, floor, fract, lengthSq, max, min, mix, screenUV, sin, sqrt, vec2, viewportSize } from "three/tsl";
|
|
5
|
+
var TAU = float(Math.PI * 2);
|
|
6
|
+
var HASH_AMP = float(.15);
|
|
7
|
+
var CELL_CENTER = float(.5);
|
|
8
|
+
var CELL_MIN = float(.05);
|
|
9
|
+
var CELL_MAX = float(.95);
|
|
10
|
+
var ANIM_PHASE_SCALE = float(.7);
|
|
11
|
+
var SENTINEL = float(10);
|
|
12
|
+
var worleyHash = Fn(([p]) => {
|
|
13
|
+
return fract(sin(vec2(dot(p, vec2(127.1, 311.7)), dot(p, vec2(269.5, 183.3)))).mul(float(43758.5453)));
|
|
14
|
+
});
|
|
15
|
+
var transformMode = (value) => {
|
|
16
|
+
return {
|
|
17
|
+
f1: 0,
|
|
18
|
+
f2: 1,
|
|
19
|
+
f2MinusF1: 2,
|
|
20
|
+
f1PlusF2: 3,
|
|
21
|
+
f1TimesF2: 4
|
|
22
|
+
}[value] ?? 0;
|
|
23
|
+
};
|
|
24
|
+
var transformDistance = (value) => {
|
|
25
|
+
return {
|
|
26
|
+
euclidean: 0,
|
|
27
|
+
manhattan: 1,
|
|
28
|
+
chebyshev: 2
|
|
29
|
+
}[value] ?? 0;
|
|
30
|
+
};
|
|
31
|
+
const componentDefinition = {
|
|
32
|
+
name: "WorleyNoise",
|
|
33
|
+
category: "Textures",
|
|
34
|
+
description: "Cellular noise field — distance-based, with selectable feature combinations and fractal octaves",
|
|
35
|
+
props: {
|
|
36
|
+
colorA: {
|
|
37
|
+
default: "#ffffff",
|
|
38
|
+
transform: transformColor,
|
|
39
|
+
description: "Color where the noise field is low (typically near cell centers)",
|
|
40
|
+
ui: {
|
|
41
|
+
type: "color",
|
|
42
|
+
label: "Color A (Low)",
|
|
43
|
+
group: "Colors"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
colorB: {
|
|
47
|
+
default: "#000000",
|
|
48
|
+
transform: transformColor,
|
|
49
|
+
description: "Color where the noise field is high (typically near cell boundaries)",
|
|
50
|
+
ui: {
|
|
51
|
+
type: "color",
|
|
52
|
+
label: "Color B (High)",
|
|
53
|
+
group: "Colors"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
colorSpace: {
|
|
57
|
+
default: "linear",
|
|
58
|
+
transform: transformColorSpace,
|
|
59
|
+
compileTime: true,
|
|
60
|
+
description: "Color space for color interpolation",
|
|
61
|
+
ui: {
|
|
62
|
+
type: "select",
|
|
63
|
+
options: colorSpaceOptions,
|
|
64
|
+
label: "Color Space",
|
|
65
|
+
group: "Colors"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
scale: {
|
|
69
|
+
default: 6,
|
|
70
|
+
description: "Number of cells across the canvas at the base octave",
|
|
71
|
+
ui: {
|
|
72
|
+
type: ["range", "map"],
|
|
73
|
+
min: 1,
|
|
74
|
+
max: 30,
|
|
75
|
+
step: .5,
|
|
76
|
+
label: "Scale",
|
|
77
|
+
group: "Effect"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
mode: {
|
|
81
|
+
default: "f1",
|
|
82
|
+
transform: transformMode,
|
|
83
|
+
compileTime: true,
|
|
84
|
+
description: "Field type. F1 = distance to nearest point. F2 = distance to second-nearest. F2 − F1 emphasises cell boundaries.",
|
|
85
|
+
ui: {
|
|
86
|
+
type: "select",
|
|
87
|
+
options: [
|
|
88
|
+
{
|
|
89
|
+
label: "F1 (Cells)",
|
|
90
|
+
value: "f1"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: "F2 (Wider Cells)",
|
|
94
|
+
value: "f2"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: "F2 − F1 (Edges)",
|
|
98
|
+
value: "f2MinusF1"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: "F1 + F2",
|
|
102
|
+
value: "f1PlusF2"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: "F1 × F2",
|
|
106
|
+
value: "f1TimesF2"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
label: "Mode",
|
|
110
|
+
group: "Effect"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
distance: {
|
|
114
|
+
default: "euclidean",
|
|
115
|
+
transform: transformDistance,
|
|
116
|
+
compileTime: true,
|
|
117
|
+
description: "Distance metric. Euclidean = round cells. Manhattan = diamond. Chebyshev = square.",
|
|
118
|
+
ui: {
|
|
119
|
+
type: "select",
|
|
120
|
+
options: [
|
|
121
|
+
{
|
|
122
|
+
label: "Euclidean",
|
|
123
|
+
value: "euclidean"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
label: "Manhattan",
|
|
127
|
+
value: "manhattan"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
label: "Chebyshev",
|
|
131
|
+
value: "chebyshev"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
label: "Distance",
|
|
135
|
+
group: "Effect"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
octaves: {
|
|
139
|
+
default: 1,
|
|
140
|
+
compileTime: true,
|
|
141
|
+
description: "Number of fractal layers stacked at progressively finer scales",
|
|
142
|
+
ui: {
|
|
143
|
+
type: "range",
|
|
144
|
+
min: 1,
|
|
145
|
+
max: 4,
|
|
146
|
+
step: 1,
|
|
147
|
+
label: "Octaves",
|
|
148
|
+
group: "Effect"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
lacunarity: {
|
|
152
|
+
default: 2,
|
|
153
|
+
description: "Scale multiplier between octaves (only active when Octaves > 1)",
|
|
154
|
+
ui: {
|
|
155
|
+
type: ["range", "map"],
|
|
156
|
+
min: 1.5,
|
|
157
|
+
max: 4,
|
|
158
|
+
step: .1,
|
|
159
|
+
label: "Lacunarity",
|
|
160
|
+
group: "Effect",
|
|
161
|
+
condition: { octaves: [
|
|
162
|
+
2,
|
|
163
|
+
3,
|
|
164
|
+
4
|
|
165
|
+
] }
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
persistence: {
|
|
169
|
+
default: .5,
|
|
170
|
+
description: "Amplitude multiplier between octaves (only active when Octaves > 1)",
|
|
171
|
+
ui: {
|
|
172
|
+
type: ["range", "map"],
|
|
173
|
+
min: 0,
|
|
174
|
+
max: 1,
|
|
175
|
+
step: .05,
|
|
176
|
+
label: "Persistence",
|
|
177
|
+
group: "Effect",
|
|
178
|
+
condition: { octaves: [
|
|
179
|
+
2,
|
|
180
|
+
3,
|
|
181
|
+
4
|
|
182
|
+
] }
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
jitter: {
|
|
186
|
+
default: 1,
|
|
187
|
+
description: "How much each cell's point drifts inside its cell. 0 = rigid grid (banded look), 1 = fully random.",
|
|
188
|
+
ui: {
|
|
189
|
+
type: ["range", "map"],
|
|
190
|
+
min: 0,
|
|
191
|
+
max: 1,
|
|
192
|
+
step: .05,
|
|
193
|
+
label: "Jitter",
|
|
194
|
+
group: "Effect"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
contrast: {
|
|
198
|
+
default: 1,
|
|
199
|
+
description: "Steepness of the gradient between low and high regions",
|
|
200
|
+
ui: {
|
|
201
|
+
type: ["range", "map"],
|
|
202
|
+
min: .25,
|
|
203
|
+
max: 4,
|
|
204
|
+
step: .05,
|
|
205
|
+
label: "Contrast",
|
|
206
|
+
group: "Effect"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
balance: {
|
|
210
|
+
default: 0,
|
|
211
|
+
description: "Shifts the gradient midpoint. Negative pulls the field toward Color A, positive toward Color B.",
|
|
212
|
+
ui: {
|
|
213
|
+
type: ["range", "map"],
|
|
214
|
+
min: -1,
|
|
215
|
+
max: 1,
|
|
216
|
+
step: .05,
|
|
217
|
+
label: "Balance",
|
|
218
|
+
group: "Effect"
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
seed: {
|
|
222
|
+
default: 0,
|
|
223
|
+
description: "Random seed — shifts the cell pattern without changing its overall structure",
|
|
224
|
+
ui: {
|
|
225
|
+
type: ["range", "map"],
|
|
226
|
+
min: 0,
|
|
227
|
+
max: 100,
|
|
228
|
+
step: 1,
|
|
229
|
+
label: "Seed",
|
|
230
|
+
group: "Effect"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
speed: {
|
|
234
|
+
default: .5,
|
|
235
|
+
description: "Animation speed — how fast each cell's point drifts",
|
|
236
|
+
ui: {
|
|
237
|
+
type: "range",
|
|
238
|
+
min: 0,
|
|
239
|
+
max: 5,
|
|
240
|
+
step: .1,
|
|
241
|
+
label: "Speed",
|
|
242
|
+
group: "Animation"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
fragmentNode: (params) => {
|
|
247
|
+
const { uniforms } = params;
|
|
248
|
+
const colorA = uniforms.colorA.uniform;
|
|
249
|
+
const colorB = uniforms.colorB.uniform;
|
|
250
|
+
const csMode = uniforms.colorSpace.uniform.value;
|
|
251
|
+
const modeNum = uniforms.mode.uniform.value;
|
|
252
|
+
const distNum = uniforms.distance.uniform.value;
|
|
253
|
+
const octavesNum = Math.max(1, Math.min(4, Math.round(uniforms.octaves.uniform.value)));
|
|
254
|
+
const t = createAnimatedTime(params, uniforms.speed);
|
|
255
|
+
const aspect = viewportSize.x.div(viewportSize.y);
|
|
256
|
+
const baseUV = vec2(screenUV.x.mul(aspect), screenUV.y);
|
|
257
|
+
const scale = uniforms.scale.uniform;
|
|
258
|
+
const seed = uniforms.seed.uniform;
|
|
259
|
+
const jitter = uniforms.jitter.uniform;
|
|
260
|
+
const lacunarity = uniforms.lacunarity.uniform;
|
|
261
|
+
const persistence = uniforms.persistence.uniform;
|
|
262
|
+
let modeScale = 1.5;
|
|
263
|
+
if (modeNum === 1) modeScale = 1;
|
|
264
|
+
else if (modeNum === 2) modeScale = 2.5;
|
|
265
|
+
else if (modeNum === 3) modeScale = .6;
|
|
266
|
+
else if (modeNum === 4) modeScale = 2;
|
|
267
|
+
if (distNum === 1) modeScale *= .7;
|
|
268
|
+
else if (distNum === 2) modeScale *= 1.4;
|
|
269
|
+
const isSquaredEuclidean = distNum === 0;
|
|
270
|
+
const needsD2 = modeNum !== 0;
|
|
271
|
+
const evalOctaveRaw = Fn(([oUV, animT, seedOff]) => {
|
|
272
|
+
const animTSlow = animT.mul(ANIM_PHASE_SCALE);
|
|
273
|
+
const cell = floor(oUV);
|
|
274
|
+
const localUV = fract(oUV);
|
|
275
|
+
let d1 = SENTINEL;
|
|
276
|
+
let d2 = SENTINEL;
|
|
277
|
+
for (let ny = -1; ny <= 1; ny++) for (let nx = -1; nx <= 1; nx++) {
|
|
278
|
+
const offset = vec2(float(nx), float(ny));
|
|
279
|
+
const h = worleyHash(cell.add(offset).add(seedOff));
|
|
280
|
+
const px = h.x.add(sin(animT.add(h.x.mul(TAU))).mul(HASH_AMP));
|
|
281
|
+
const py = h.y.add(cos(animTSlow.add(h.y.mul(TAU))).mul(HASH_AMP));
|
|
282
|
+
const jx = mix(CELL_CENTER, px.clamp(CELL_MIN, CELL_MAX), jitter);
|
|
283
|
+
const jy = mix(CELL_CENTER, py.clamp(CELL_MIN, CELL_MAX), jitter);
|
|
284
|
+
const point = offset.add(vec2(jx, jy));
|
|
285
|
+
const delta = localUV.sub(point);
|
|
286
|
+
let d;
|
|
287
|
+
if (distNum === 1) d = abs(delta.x).add(abs(delta.y));
|
|
288
|
+
else if (distNum === 2) d = max(abs(delta.x), abs(delta.y));
|
|
289
|
+
else d = lengthSq(delta);
|
|
290
|
+
if (needsD2) {
|
|
291
|
+
d2 = min(d2, max(d, d1));
|
|
292
|
+
d1 = min(d1, d);
|
|
293
|
+
} else d1 = min(d1, d);
|
|
294
|
+
}
|
|
295
|
+
let raw;
|
|
296
|
+
if (isSquaredEuclidean) if (modeNum === 1) raw = sqrt(d2);
|
|
297
|
+
else if (modeNum === 2) raw = sqrt(d2).sub(sqrt(d1));
|
|
298
|
+
else if (modeNum === 3) raw = sqrt(d1).add(sqrt(d2));
|
|
299
|
+
else if (modeNum === 4) raw = sqrt(d1.mul(d2));
|
|
300
|
+
else raw = sqrt(d1);
|
|
301
|
+
else if (modeNum === 1) raw = d2;
|
|
302
|
+
else if (modeNum === 2) raw = d2.sub(d1);
|
|
303
|
+
else if (modeNum === 3) raw = d1.add(d2);
|
|
304
|
+
else if (modeNum === 4) raw = d1.mul(d2);
|
|
305
|
+
else raw = d1;
|
|
306
|
+
return raw;
|
|
307
|
+
});
|
|
308
|
+
let acc = float(0);
|
|
309
|
+
let totalAmp = float(0);
|
|
310
|
+
let amp = float(1);
|
|
311
|
+
let freq = scale;
|
|
312
|
+
for (let o = 0; o < octavesNum; o++) {
|
|
313
|
+
const raw = evalOctaveRaw(baseUV.mul(freq), t.add(float(o * 17)), seed.add(float(o * 31)));
|
|
314
|
+
acc = acc.add(raw.mul(amp));
|
|
315
|
+
totalAmp = totalAmp.add(amp);
|
|
316
|
+
amp = amp.mul(persistence);
|
|
317
|
+
freq = freq.mul(lacunarity);
|
|
318
|
+
}
|
|
319
|
+
return mixColors(colorA, colorB, clamp(acc.div(totalAmp.max(float(1e-4))).mul(float(modeScale)).mul(float(2)).sub(float(1)).mul(uniforms.contrast.uniform).add(uniforms.balance.uniform).mul(float(.5)).add(float(.5)), float(0), float(1)), csMode);
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
var WorleyNoise_default = componentDefinition;
|
|
323
|
+
export { componentDefinition as n, WorleyNoise_default as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as transformPosition } from "./transformations-
|
|
1
|
+
import { l as transformPosition } from "./transformations-CJcUeZIC.js";
|
|
2
2
|
import { t as unpremultiplyAlpha } from "./alpha-C4ptedXe.js";
|
|
3
3
|
import { Fn, convertToTexture, float, screenUV, vec2, vec4, viewportSize } from "three/tsl";
|
|
4
4
|
var rawWeights = Array.from({ length: 32 }, (_, i) => {
|
package/dist/core/index.js
CHANGED
|
@@ -1,120 +1,121 @@
|
|
|
1
1
|
import { t as applyEdgeHandling } from "./edges-CX_lJB9R.js";
|
|
2
|
-
import { a as transformColor, l as transformPosition, n as setColorSpaceMode, s as transformColorUpdate, u as transformPositionUpdate } from "./transformations-
|
|
2
|
+
import { a as transformColor, l as transformPosition, n as setColorSpaceMode, s as transformColorUpdate, u as transformPositionUpdate } from "./transformations-CJcUeZIC.js";
|
|
3
3
|
import "./alpha-C4ptedXe.js";
|
|
4
|
-
import "./AngularBlur-
|
|
4
|
+
import "./AngularBlur-C1oRJ8Y9.js";
|
|
5
5
|
import "./Ascii-BwSMmD6Z.js";
|
|
6
6
|
import "./colorMixing-BPpDnR5I.js";
|
|
7
7
|
import { t as createAnimatedTime } from "./time-DUqSFWvT.js";
|
|
8
|
-
import "./Aurora-
|
|
9
|
-
import "./Beam-
|
|
10
|
-
import "./Blob-
|
|
8
|
+
import "./Aurora-D5Pjk4ve.js";
|
|
9
|
+
import "./Beam-mvF5Ri7_.js";
|
|
10
|
+
import "./Blob-CLHx5s6k.js";
|
|
11
11
|
import "./computeBlur-DCRhuYEi.js";
|
|
12
12
|
import "./Blur-DG7lJKPo.js";
|
|
13
13
|
import "./BrightnessContrast-CJTOpQCn.js";
|
|
14
|
-
import "./Bulge-
|
|
14
|
+
import "./Bulge-wflTcWfI.js";
|
|
15
15
|
import "./ChannelBlur-BhcCkwcO.js";
|
|
16
|
-
import "./Checkerboard-
|
|
17
|
-
import "./ChromaFlow-
|
|
18
|
-
import "./ChromaticAberration-
|
|
19
|
-
import "./Circle-
|
|
20
|
-
import "./ConcentricSpin-
|
|
21
|
-
import "./ConicGradient-
|
|
22
|
-
import "./ContourLines-
|
|
16
|
+
import "./Checkerboard-Db7Rb57F.js";
|
|
17
|
+
import "./ChromaFlow-DbiVz3hF.js";
|
|
18
|
+
import "./ChromaticAberration-Bg_I4XF-.js";
|
|
19
|
+
import "./Circle-Bfi2e0Vm.js";
|
|
20
|
+
import "./ConcentricSpin-bAFd5_WI.js";
|
|
21
|
+
import "./ConicGradient-Bcw4_25S.js";
|
|
22
|
+
import "./ContourLines-CcQWPKLx.js";
|
|
23
23
|
import "./sdf-DyC2H_qS.js";
|
|
24
|
-
import "./Crescent-
|
|
25
|
-
import "./Cross-
|
|
24
|
+
import "./Crescent-DiioCL2k.js";
|
|
25
|
+
import "./Cross-CxQTHuxC.js";
|
|
26
26
|
import "./CRTScreen-CTwXU-NX.js";
|
|
27
|
-
import "./Crystal-
|
|
28
|
-
import "./CursorRipples-
|
|
29
|
-
import "./CursorTrail-
|
|
30
|
-
import "./DiamondGradient-
|
|
31
|
-
import "./DiffuseBlur-
|
|
32
|
-
import "./Dither-
|
|
27
|
+
import "./Crystal-B3iO7o_n.js";
|
|
28
|
+
import "./CursorRipples-CsYAXG2E.js";
|
|
29
|
+
import "./CursorTrail-CUtEP_-P.js";
|
|
30
|
+
import "./DiamondGradient-3b93bdrv.js";
|
|
31
|
+
import "./DiffuseBlur-61Vuq571.js";
|
|
32
|
+
import "./Dither-Cv0Uci60.js";
|
|
33
33
|
import "./DOMTexture-D-RkeyMs.js";
|
|
34
|
-
import "./DotGrid-
|
|
35
|
-
import "./DropShadow-
|
|
36
|
-
import "./Duotone-
|
|
37
|
-
import "./Ellipse-
|
|
38
|
-
import "./Emboss-
|
|
39
|
-
import "./FallingLines-
|
|
34
|
+
import "./DotGrid-C88Sux6D.js";
|
|
35
|
+
import "./DropShadow-EZyCC_97.js";
|
|
36
|
+
import "./Duotone-D4ads1T9.js";
|
|
37
|
+
import "./Ellipse-iwH-zEvD.js";
|
|
38
|
+
import "./Emboss-B4i61QDT.js";
|
|
39
|
+
import "./FallingLines-CQBvwLqn.js";
|
|
40
40
|
import "./FilmGrain-DSJiMtEp.js";
|
|
41
|
-
import "./FloatingParticles-
|
|
42
|
-
import "./Flower-
|
|
43
|
-
import "./FlowField-
|
|
44
|
-
import "./FlowingGradient-
|
|
45
|
-
import "./FlutedGlass-
|
|
46
|
-
import "./Fog-
|
|
47
|
-
import "./Form3D-
|
|
48
|
-
import "./Glass-
|
|
41
|
+
import "./FloatingParticles-BAvsQDhF.js";
|
|
42
|
+
import "./Flower-CdHVKJKu.js";
|
|
43
|
+
import "./FlowField-D2xJ0Xr4.js";
|
|
44
|
+
import "./FlowingGradient-DVDnNpGd.js";
|
|
45
|
+
import "./FlutedGlass-trmBFfQr.js";
|
|
46
|
+
import "./Fog-DrsxPyih.js";
|
|
47
|
+
import "./Form3D-D1TtCjk8.js";
|
|
48
|
+
import "./Glass-B19xsZLn.js";
|
|
49
49
|
import "./GlassTiles-CMx4NyO-.js";
|
|
50
50
|
import "./Glitch-BdygvJKe.js";
|
|
51
51
|
import "./Glow-CsTZA75y.js";
|
|
52
|
-
import "./Godrays-
|
|
52
|
+
import "./Godrays-Mvz7ha2E.js";
|
|
53
53
|
import "./Grayscale-ChaVI3AW.js";
|
|
54
|
-
import "./Grid-
|
|
55
|
-
import "./GridDistortion-
|
|
54
|
+
import "./Grid-CsD21Eqg.js";
|
|
55
|
+
import "./GridDistortion-BcDqBh9i.js";
|
|
56
56
|
import "./Group-BqVJ4S7i.js";
|
|
57
|
-
import "./Halftone-
|
|
58
|
-
import "./HexGrid-
|
|
57
|
+
import "./Halftone-3ImN5uQi.js";
|
|
58
|
+
import "./HexGrid-BWwIHYEg.js";
|
|
59
59
|
import "./HueShift-C1RxETwN.js";
|
|
60
60
|
import "./ImageTexture-DXhgMEOT.js";
|
|
61
61
|
import "./Invert-D3tc2UGp.js";
|
|
62
|
-
import "./Kaleidoscope-
|
|
63
|
-
import "./LensFlare-
|
|
64
|
-
import "./LinearBlur-
|
|
65
|
-
import "./LinearGradient-
|
|
66
|
-
import "./Liquify-
|
|
67
|
-
import "./Mirror-
|
|
68
|
-
import "./MultiPointGradient-
|
|
69
|
-
import "./Neon-
|
|
62
|
+
import "./Kaleidoscope-D1HmcoOv.js";
|
|
63
|
+
import "./LensFlare-Be-Z9whi.js";
|
|
64
|
+
import "./LinearBlur-xrHtMmWp.js";
|
|
65
|
+
import "./LinearGradient-BiIad_hA.js";
|
|
66
|
+
import "./Liquify-DkTxZZFW.js";
|
|
67
|
+
import "./Mirror-BDTE51kP.js";
|
|
68
|
+
import "./MultiPointGradient-Bd-EGOI8.js";
|
|
69
|
+
import "./Neon-BeGABHrs.js";
|
|
70
70
|
import "./Paper-BmeUPAFe.js";
|
|
71
|
-
import "./Perspective-
|
|
71
|
+
import "./Perspective-CqweSeFv.js";
|
|
72
72
|
import "./Pixelate-DqZcUKFK.js";
|
|
73
|
-
import "./Plasma-
|
|
74
|
-
import "./PolarCoordinates-
|
|
75
|
-
import "./Polygon-
|
|
73
|
+
import "./Plasma-DqKLBDYd.js";
|
|
74
|
+
import "./PolarCoordinates-CKT4CLT7.js";
|
|
75
|
+
import "./Polygon-_3DSqSBg.js";
|
|
76
76
|
import "./Posterize-CxYemXTn.js";
|
|
77
|
-
import "./ProgressiveBlur-
|
|
78
|
-
import "./RadialGradient-
|
|
79
|
-
import "./RectangularCoordinates-
|
|
80
|
-
import "./Ring-
|
|
81
|
-
import "./Ripples-
|
|
82
|
-
import "./RoundedRect-
|
|
77
|
+
import "./ProgressiveBlur-Dh8W2bZ3.js";
|
|
78
|
+
import "./RadialGradient-Dj3-DdO7.js";
|
|
79
|
+
import "./RectangularCoordinates-DxeLJ2nt.js";
|
|
80
|
+
import "./Ring-4J6h5Iof.js";
|
|
81
|
+
import "./Ripples-CXeVzwUd.js";
|
|
82
|
+
import "./RoundedRect-Dj-gqOc0.js";
|
|
83
83
|
import "./Saturation-n-aXJS81.js";
|
|
84
84
|
import "./Sharpness-7tm7b-Bu.js";
|
|
85
|
-
import "./Shatter-
|
|
86
|
-
import "./SimplexNoise-
|
|
87
|
-
import "./SineWave
|
|
88
|
-
import "./Smoke-
|
|
89
|
-
import "./SmokeFill-
|
|
85
|
+
import "./Shatter-CDza7dSw.js";
|
|
86
|
+
import "./SimplexNoise-HQTocBLm.js";
|
|
87
|
+
import "./SineWave-S6nK8ZHR.js";
|
|
88
|
+
import "./Smoke-DjlArYQW.js";
|
|
89
|
+
import "./SmokeFill-rM9vUIm4.js";
|
|
90
90
|
import "./Solarize-gNMmd47z.js";
|
|
91
|
-
import "./SolidColor-
|
|
92
|
-
import "./Spherize-
|
|
93
|
-
import "./Spiral-
|
|
94
|
-
import "./Star-
|
|
95
|
-
import "./Strands-
|
|
96
|
-
import "./Stretch-
|
|
97
|
-
import "./Stripes-
|
|
98
|
-
import "./StudioBackground-
|
|
99
|
-
import "./Swirl-
|
|
100
|
-
import "./TiltShift-
|
|
101
|
-
import "./Tint-
|
|
102
|
-
import "./Trapezoid-
|
|
103
|
-
import "./Tritone-
|
|
104
|
-
import "./Truchet-
|
|
105
|
-
import "./Twirl-
|
|
106
|
-
import "./Vesica-
|
|
91
|
+
import "./SolidColor-a8bCIksn.js";
|
|
92
|
+
import "./Spherize-BHmD2ajL.js";
|
|
93
|
+
import "./Spiral-Bjsi8BMH.js";
|
|
94
|
+
import "./Star-CJ4mkBZg.js";
|
|
95
|
+
import "./Strands-C9fEwaiR.js";
|
|
96
|
+
import "./Stretch-Cvht8B0L.js";
|
|
97
|
+
import "./Stripes-ChVSAeCO.js";
|
|
98
|
+
import "./StudioBackground-B8hilROB.js";
|
|
99
|
+
import "./Swirl-DZTPLx-W.js";
|
|
100
|
+
import "./TiltShift-DSQ-CsXz.js";
|
|
101
|
+
import "./Tint-P7KwJAU5.js";
|
|
102
|
+
import "./Trapezoid-P9gXhH9a.js";
|
|
103
|
+
import "./Tritone-_9VR2bhu.js";
|
|
104
|
+
import "./Truchet-CbL5nYMj.js";
|
|
105
|
+
import "./Twirl-C_97m32v.js";
|
|
106
|
+
import "./Vesica-DYov_i53.js";
|
|
107
107
|
import "./VHS-DbNjgUEX.js";
|
|
108
108
|
import "./Vibrance-IDvmP1Xw.js";
|
|
109
109
|
import "./browser-CsOpQ0L_.js";
|
|
110
110
|
import "./VideoTexture-Cr1f0IOE.js";
|
|
111
|
-
import "./Vignette-
|
|
112
|
-
import "./Voronoi-
|
|
113
|
-
import "./WaveDistortion-
|
|
114
|
-
import "./Weave-
|
|
111
|
+
import "./Vignette-DmYVHciL.js";
|
|
112
|
+
import "./Voronoi-kngFpTNB.js";
|
|
113
|
+
import "./WaveDistortion-DM-f_XCw.js";
|
|
114
|
+
import "./Weave-DO0m0Dsh.js";
|
|
115
115
|
import "./WebcamTexture-BQJpZvC5.js";
|
|
116
|
-
import "./
|
|
117
|
-
import
|
|
116
|
+
import "./WorleyNoise-Derik4n-.js";
|
|
117
|
+
import "./ZoomBlur-BdLC9MCq.js";
|
|
118
|
+
import { t as getAllShaders } from "./shaderRegistry-Ceu0nAxP.js";
|
|
118
119
|
import { Material, Mesh, MeshBasicNodeMaterial, OrthographicCamera, PlaneGeometry, SRGBColorSpace, Scene, Vector2, WebGPURenderer } from "three/webgpu";
|
|
119
120
|
import { WebGLRenderer } from "three";
|
|
120
121
|
import { PI, abs, add, atan, clamp, convertToTexture, cos, div, dot, float, fract, max, min, mix, mul, pow, screenUV, sign, sin, smoothstep, sqrt, step, sub, time, uniform, uv, vec2, vec3, vec4 } from "three/tsl";
|