shaders 3.0.450 → 3.0.451
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/LensDistortion-DG4VHEXV.js +435 -0
- package/dist/core/{ObjectTracker-BWo8H1kh.js → ObjectTracker-DvQF31-0.js} +1 -1
- package/dist/core/{Text-o_dubJeo.js → Text-Dka9dwCa.js} +1 -1
- package/dist/core/gpu/index.d.ts.map +1 -1
- package/dist/core/index.js +105 -94
- package/dist/core/presetRenderer.d.ts.map +1 -1
- package/dist/core/registry.js +95 -94
- package/dist/core/{shaderRegistry-BSrnuqx-.js → shaderRegistry-CkDrffEe.js} +190 -188
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/LensDistortion/index.d.ts +123 -0
- package/dist/core/shaders/LensDistortion/index.d.ts.map +1 -0
- package/dist/core/shaders/LensDistortion/index.js +8 -0
- package/dist/core/shaders/LensFlare/index.js +1 -1
- package/dist/core/shaders/LightEdge/index.js +1 -1
- package/dist/core/shaders/LightLeak/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.js +1 -1
- package/dist/core/shaders/LinearWipe/index.js +1 -1
- package/dist/core/shaders/LiquidMetal/index.js +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/MagneticFilings/index.js +1 -1
- package/dist/core/shaders/Marble/index.js +1 -1
- package/dist/core/shaders/Mirror/index.js +1 -1
- package/dist/core/shaders/MultiPointGradient/index.js +1 -1
- package/dist/core/shaders/NoiseDissolve/index.js +1 -1
- 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 +1 -1
- package/dist/core/shaders/Parallelogram/index.js +1 -1
- package/dist/core/shaders/ParticleField/index.js +1 -1
- package/dist/core/shaders/ParticleFlow/index.js +1 -1
- package/dist/core/shaders/Particles/index.js +1 -1
- package/dist/core/shaders/PerlinNoise/index.js +1 -1
- package/dist/core/shaders/Perspective/index.js +1 -1
- package/dist/core/shaders/PixelSort/index.js +1 -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 +1 -1
- package/dist/core/shaders/Plastic/index.js +1 -1
- 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 +1 -1
- package/dist/core/shaders/RadialWipe/index.js +1 -1
- package/dist/core/shaders/RandomBars/index.js +1 -1
- package/dist/core/shaders/ReactionDiffusion/index.js +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/core/shaders/StudioBackground/index.js +1 -1
- package/dist/core/shaders/SunBurst/index.js +1 -1
- package/dist/core/shaders/Surface3D/index.js +1 -1
- 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 +1 -1
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Truchet/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/VHS/index.js +1 -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 +1 -1
- package/dist/core/shaders/Water/index.js +1 -1
- package/dist/core/shaders/Watercolor/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/WaveletNoise/index.js +1 -1
- package/dist/core/shaders/Weave/index.js +1 -1
- package/dist/core/shaders/WebcamTexture/index.js +1 -1
- package/dist/core/shaders/Wool/index.js +1 -1
- package/dist/core/shaders/WorleyNoise/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/js/bundle.js +90 -90
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +27 -0
- package/dist/react/LensDistortion.js +226 -0
- package/dist/react/Preview.js +1 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +75 -75
- package/dist/react/components/LensDistortion.d.ts +54 -0
- package/dist/react/components/LensDistortion.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 +27 -0
- package/dist/registry.js +585 -0
- package/dist/solid/components/LensDistortion.d.ts +51 -0
- package/dist/solid/components/LensDistortion.d.ts.map +1 -0
- package/dist/solid/components/LensDistortion.js +232 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +193 -191
- 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 +194 -192
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +27 -0
- package/dist/svelte/components/LensDistortion.svelte.d.ts +41 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +2751 -2544
- package/dist/svelte/source/components/LensDistortion.svelte +365 -0
- package/dist/svelte/source/engine/Preview.svelte +2 -0
- package/dist/svelte/source/index.js +1 -0
- package/dist/svelte/utils/generatePresetCode.js +27 -0
- package/dist/vue/LensDistortion.js +3 -0
- package/dist/vue/LensDistortion.vue_vue_type_script_setup_true_lang.js +244 -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/LensDistortion.vue.d.ts +76 -0
- package/dist/vue/components/LensDistortion.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 +27 -0
- package/package.json +9 -1
- /package/dist/core/{LensFlare-G73cvrIG.js → LensFlare-DO5lm--6.js} +0 -0
- /package/dist/core/{LightEdge-D3i7HUR9.js → LightEdge-CxWsQwpZ.js} +0 -0
- /package/dist/core/{LightLeak-B8yGreP-.js → LightLeak-tGJW6l2_.js} +0 -0
- /package/dist/core/{LinearBlur-BEzNPe0e.js → LinearBlur-OmZcUden.js} +0 -0
- /package/dist/core/{LinearGradient-XjXyaoii.js → LinearGradient-DDqFujWC.js} +0 -0
- /package/dist/core/{LinearWipe-Doj9aS5n.js → LinearWipe-BzthBFNb.js} +0 -0
- /package/dist/core/{LiquidMetal-CWV_RQip.js → LiquidMetal-DpRAJ5Ne.js} +0 -0
- /package/dist/core/{Liquify-DWrgFruC.js → Liquify-BVzmuY6D.js} +0 -0
- /package/dist/core/{MagneticFilings-Co0V07-1.js → MagneticFilings-BP1KyU2C.js} +0 -0
- /package/dist/core/{Marble-D13mDBvL.js → Marble-abj97ioG.js} +0 -0
- /package/dist/core/{Mirror-DvukM_eG.js → Mirror-BYqbXWUj.js} +0 -0
- /package/dist/core/{MultiPointGradient-CyK_Ty9a.js → MultiPointGradient-DZZSkiDv.js} +0 -0
- /package/dist/core/{NoiseDissolve-CeX3VO8J.js → NoiseDissolve-DSkh5NdD.js} +0 -0
- /package/dist/core/{PagePeel-BL5IeBeD.js → PagePeel-DWtgqWdt.js} +0 -0
- /package/dist/core/{Paper-BAq9MqtG.js → Paper-DGzZsv79.js} +0 -0
- /package/dist/core/{Parallelogram-DYzFG9ci.js → Parallelogram-Ce0Pg7DX.js} +0 -0
- /package/dist/core/{ParticleField-Bl4uztO7.js → ParticleField-CgCOigET.js} +0 -0
- /package/dist/core/{ParticleFlow-RPxLP8HC.js → ParticleFlow-CRQhvYQx.js} +0 -0
- /package/dist/core/{Particles-BDEX4Fw2.js → Particles-fKk9qTkl.js} +0 -0
- /package/dist/core/{PerlinNoise-BtXlaEd8.js → PerlinNoise-DIFK1BpN.js} +0 -0
- /package/dist/core/{Perspective-CdU5nAEn.js → Perspective-CDNz_7y5.js} +0 -0
- /package/dist/core/{PixelSort-C7TX1ClH.js → PixelSort-sgh5ghCc.js} +0 -0
- /package/dist/core/{PixelThrow-DpKEZPMK.js → PixelThrow-CXtB4Am2.js} +0 -0
- /package/dist/core/{Pixelate-C2OQUtqr.js → Pixelate-BSOzwVHo.js} +0 -0
- /package/dist/core/{Plasma-DLq9HroF.js → Plasma-G6Hl__3L.js} +0 -0
- /package/dist/core/{Plastic-C2hiOaXw.js → Plastic-B6F2WeaX.js} +0 -0
- /package/dist/core/{PolarCoordinates-Bumv-Hi3.js → PolarCoordinates-Bi99omfI.js} +0 -0
- /package/dist/core/{Polygon-DOpR58g4.js → Polygon-BFxoe-Fg.js} +0 -0
- /package/dist/core/{Posterize-CVNOkDme.js → Posterize-DxiCXLUL.js} +0 -0
- /package/dist/core/{Prism-CCQ1BsBL.js → Prism-D6J-acZf.js} +0 -0
- /package/dist/core/{ProgressiveBlur-Cprr1XSE.js → ProgressiveBlur-Bko6UMxQ.js} +0 -0
- /package/dist/core/{RadialGradient-CsmCSySC.js → RadialGradient-B_Dgxs9_.js} +0 -0
- /package/dist/core/{RadialWipe-BAnsqol4.js → RadialWipe-U9n5aeiJ.js} +0 -0
- /package/dist/core/{RandomBars-DdhtxO8o.js → RandomBars-U_zpGDJh.js} +0 -0
- /package/dist/core/{ReactionDiffusion-Bih4xEtV.js → ReactionDiffusion-I9xj-iK_.js} +0 -0
- /package/dist/core/{RectangularCoordinates-CKKA2oY1.js → RectangularCoordinates-DX6wutjX.js} +0 -0
- /package/dist/core/{ReflectivePlane-u3Tje37M.js → ReflectivePlane-DU9pf-7H.js} +0 -0
- /package/dist/core/{Repeater-C-agsqBS.js → Repeater-kCIaHHFy.js} +0 -0
- /package/dist/core/{Ring-Cj7bR89h.js → Ring-B_tYq3KV.js} +0 -0
- /package/dist/core/{RippleWipe-VL1MMd5o.js → RippleWipe-DCgZZ4VT.js} +0 -0
- /package/dist/core/{Ripples-B88TeopS.js → Ripples-BDhMh7XC.js} +0 -0
- /package/dist/core/{RoundedRect-jn8_QLrT.js → RoundedRect-9b3REf2d.js} +0 -0
- /package/dist/core/{Saturation-dCNIhHq2.js → Saturation-CcblT031.js} +0 -0
- /package/dist/core/{Scratches-Dz_1Ptk0.js → Scratches-Rzk27V6D.js} +0 -0
- /package/dist/core/{Sharpness-Bxq4YiRL.js → Sharpness-ClLOnNR8.js} +0 -0
- /package/dist/core/{Shatter-DsuYUr-1.js → Shatter-CLI896c7.js} +0 -0
- /package/dist/core/{SimplexNoise-CvalBPNF.js → SimplexNoise-98RPhPzU.js} +0 -0
- /package/dist/core/{SineWave-XPK5BsPB.js → SineWave-BZPrTdYD.js} +0 -0
- /package/dist/core/{SliceWipe-gSs_VRwf.js → SliceWipe-BR5Qr38C.js} +0 -0
- /package/dist/core/{Smoke-kzRXFLW9.js → Smoke-DoW6Brlo.js} +0 -0
- /package/dist/core/{SmokeFill-DQZeqiwX.js → SmokeFill-CXHhKX8u.js} +0 -0
- /package/dist/core/{SmokeFlow-n23YvKoI.js → SmokeFlow-mRJ_JcnZ.js} +0 -0
- /package/dist/core/{Solarize-DINiQSz1.js → Solarize-BNCG4TCa.js} +0 -0
- /package/dist/core/{SolidColor-Cu_9b_my.js → SolidColor-dYxjV0YF.js} +0 -0
- /package/dist/core/{Spherize-BLY2eqBV.js → Spherize-6d5WZIZV.js} +0 -0
- /package/dist/core/{Spiral-CWCmvI3m.js → Spiral-IOZ-Zm0_.js} +0 -0
- /package/dist/core/{Star-9WSeF-vW.js → Star-D9txpy4P.js} +0 -0
- /package/dist/core/{Stone-CVO2Ey8i.js → Stone-H2qLOvGJ.js} +0 -0
- /package/dist/core/{Strands-D9Sz1vX9.js → Strands-Db6_uJAi.js} +0 -0
- /package/dist/core/{Stretch-DMT2Y6kN.js → Stretch-BIFeD7-1.js} +0 -0
- /package/dist/core/{Stripes-DPVbOQkX.js → Stripes-5YZhE4bc.js} +0 -0
- /package/dist/core/{StudioBackground-5JgYClrr.js → StudioBackground-B16ICQTt.js} +0 -0
- /package/dist/core/{SunBurst-Din5CIAU.js → SunBurst-DSUFLqjC.js} +0 -0
- /package/dist/core/{Surface3D-CW2ApEgt.js → Surface3D-BoliMAeJ.js} +0 -0
- /package/dist/core/{Swirl-DrchXPfh.js → Swirl-CozBN2cj.js} +0 -0
- /package/dist/core/{Teardrop-CDt_XA4d.js → Teardrop-D8uqqHu8.js} +0 -0
- /package/dist/core/{TiltShift-DJVcMb_M.js → TiltShift-CNc1M7bT.js} +0 -0
- /package/dist/core/{TimeTrail-D1Gir7BK.js → TimeTrail-BFuqrI-l.js} +0 -0
- /package/dist/core/{Tint-Cak_PyOJ.js → Tint-BzCm1m93.js} +0 -0
- /package/dist/core/{Trapezoid-DnFhlKCD.js → Trapezoid-Dc6dpnCU.js} +0 -0
- /package/dist/core/{TriangularGrid-BE9CgVlb.js → TriangularGrid-BMemTQ8X.js} +0 -0
- /package/dist/core/{Tritone-mqU9b4YZ.js → Tritone-XnyfjYXL.js} +0 -0
- /package/dist/core/{Truchet-yLdaw6z4.js → Truchet-DUbAZPvr.js} +0 -0
- /package/dist/core/{Twirl-SA6uh8pI.js → Twirl-Dj6ZOh7V.js} +0 -0
- /package/dist/core/{VHS-Ch-bVeit.js → VHS-DcN38Sa-.js} +0 -0
- /package/dist/core/{VenetianBlinds-CboEoPIZ.js → VenetianBlinds-Dsix9S6Y.js} +0 -0
- /package/dist/core/{Vesica-DmJWzk7E.js → Vesica-BvLPrNBY.js} +0 -0
- /package/dist/core/{Vibrance-7rW_G3qT.js → Vibrance-B3F1IOJC.js} +0 -0
- /package/dist/core/{VideoTexture-Ctk5_1F8.js → VideoTexture-rZnbkY1j.js} +0 -0
- /package/dist/core/{Vignette-DXtlR5LT.js → Vignette-D747S9Un.js} +0 -0
- /package/dist/core/{Voronoi-B0ZrQ6QO.js → Voronoi-tdjJp1Yz.js} +0 -0
- /package/dist/core/{Water-DfwGqSnM.js → Water-wnYFmeVF.js} +0 -0
- /package/dist/core/{Watercolor-BAShYSu7.js → Watercolor-DlrWTnkX.js} +0 -0
- /package/dist/core/{WaveDistortion-Cj4QBBKm.js → WaveDistortion-11QwOfVR.js} +0 -0
- /package/dist/core/{WaveletNoise-DYiU_ziD.js → WaveletNoise-DWOzHG3M.js} +0 -0
- /package/dist/core/{Weave-DVefdB9i.js → Weave-CdGwj7cZ.js} +0 -0
- /package/dist/core/{WebcamTexture-BO9jNxcP.js → WebcamTexture-CihYSbzd.js} +0 -0
- /package/dist/core/{Wool-D304TmpD.js → Wool-DKCBMabi.js} +0 -0
- /package/dist/core/{WorleyNoise-B5FBTklZ.js → WorleyNoise-BjD32UOl.js} +0 -0
- /package/dist/core/{ZoomBlur-DxySopLs.js → ZoomBlur-BnRTijPn.js} +0 -0
- /package/dist/core/{fonts-v_F1SFl9.js → fonts-DFuXI3Hk.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as componentDefinition$
|
|
1
|
+
import { n as componentDefinition$108 } from "./Neon-DD8qY6H9.js";
|
|
2
2
|
import { n as componentDefinition$51 } from "./Emboss-ZiPslqzl.js";
|
|
3
3
|
import { n as componentDefinition$65 } from "./Form3D-D0ji-MeC.js";
|
|
4
|
-
import { n as componentDefinition$
|
|
4
|
+
import { n as componentDefinition$165 } from "./ThinFilm-d7IlUY62.js";
|
|
5
5
|
import { a as componentDefinition } from "./AngularBlur-4jt7bNoF.js";
|
|
6
6
|
import { r as componentDefinition$1 } from "./Arc-DXIfbBgd.js";
|
|
7
7
|
import { a as componentDefinition$2 } from "./Ascii-GDof03Ca.js";
|
|
@@ -95,98 +95,99 @@ import { n as componentDefinition$91 } from "./IrisWipe-Clkd_5CA.js";
|
|
|
95
95
|
import { n as componentDefinition$92 } from "./IsometricCubes-CzfAwpQ5.js";
|
|
96
96
|
import { n as componentDefinition$93 } from "./Kaleidoscope-B9k6HkNn.js";
|
|
97
97
|
import { r as componentDefinition$94 } from "./KeyFrames-DX6JFhsy.js";
|
|
98
|
-
import { n as componentDefinition$95 } from "./
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import { n as componentDefinition$100 } from "./
|
|
104
|
-
import { n as componentDefinition$101 } from "./
|
|
105
|
-
import { n as componentDefinition$102 } from "./
|
|
106
|
-
import { n as componentDefinition$103 } from "./
|
|
107
|
-
import { n as componentDefinition$104 } from "./
|
|
108
|
-
import { n as componentDefinition$105 } from "./
|
|
109
|
-
import { n as componentDefinition$106 } from "./
|
|
110
|
-
import { n as componentDefinition$
|
|
111
|
-
import { n as componentDefinition$109 } from "./
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import { n as componentDefinition$112 } from "./
|
|
115
|
-
import { n as componentDefinition$113 } from "./
|
|
116
|
-
import { n as componentDefinition$114 } from "./
|
|
117
|
-
import { n as componentDefinition$115 } from "./
|
|
118
|
-
import { n as componentDefinition$116 } from "./
|
|
119
|
-
import { n as componentDefinition$117 } from "./
|
|
120
|
-
import { n as componentDefinition$118 } from "./
|
|
121
|
-
import {
|
|
122
|
-
import { i as componentDefinition$120 } from "./
|
|
123
|
-
import {
|
|
124
|
-
import { n as componentDefinition$122 } from "./
|
|
125
|
-
import { n as componentDefinition$123 } from "./
|
|
126
|
-
import { n as componentDefinition$124 } from "./
|
|
127
|
-
import { n as componentDefinition$125 } from "./
|
|
128
|
-
import { n as componentDefinition$126 } from "./
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import { n as componentDefinition$129 } from "./
|
|
132
|
-
import { n as componentDefinition$130 } from "./
|
|
133
|
-
import { n as componentDefinition$131 } from "./
|
|
134
|
-
import { n as componentDefinition$132 } from "./
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import { n as componentDefinition$135 } from "./
|
|
138
|
-
import { n as componentDefinition$136 } from "./
|
|
139
|
-
import { n as componentDefinition$137 } from "./
|
|
140
|
-
import { n as componentDefinition$138 } from "./
|
|
141
|
-
import { n as componentDefinition$139 } from "./
|
|
142
|
-
import { n as componentDefinition$140 } from "./
|
|
143
|
-
import { n as componentDefinition$141 } from "./
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import { n as componentDefinition$144 } from "./
|
|
147
|
-
import { n as componentDefinition$145 } from "./
|
|
148
|
-
import {
|
|
149
|
-
import { i as componentDefinition$147 } from "./
|
|
150
|
-
import { i as componentDefinition$148 } from "./
|
|
151
|
-
import {
|
|
152
|
-
import { n as componentDefinition$150 } from "./
|
|
153
|
-
import { n as componentDefinition$151 } from "./
|
|
154
|
-
import { n as componentDefinition$152 } from "./
|
|
155
|
-
import { n as componentDefinition$153 } from "./
|
|
156
|
-
import { n as componentDefinition$154 } from "./
|
|
157
|
-
import { n as componentDefinition$155 } from "./
|
|
158
|
-
import { n as componentDefinition$156 } from "./
|
|
159
|
-
import { n as componentDefinition$157 } from "./
|
|
160
|
-
import { n as componentDefinition$158 } from "./
|
|
161
|
-
import { n as componentDefinition$159 } from "./
|
|
162
|
-
import { n as componentDefinition$160 } from "./
|
|
163
|
-
import { n as componentDefinition$161 } from "./
|
|
164
|
-
import { n as componentDefinition$162 } from "./
|
|
165
|
-
import { n as componentDefinition$163 } from "./
|
|
166
|
-
import {
|
|
167
|
-
import {
|
|
168
|
-
import { n as componentDefinition$167 } from "./
|
|
169
|
-
import { n as componentDefinition$168 } from "./
|
|
170
|
-
import { n as componentDefinition$169 } from "./
|
|
171
|
-
import { n as componentDefinition$170 } from "./
|
|
172
|
-
import { n as componentDefinition$171 } from "./
|
|
173
|
-
import { n as componentDefinition$172 } from "./
|
|
174
|
-
import { n as componentDefinition$173 } from "./
|
|
175
|
-
import { n as componentDefinition$174 } from "./
|
|
176
|
-
import { n as componentDefinition$175 } from "./
|
|
177
|
-
import { n as componentDefinition$176 } from "./
|
|
178
|
-
import { n as componentDefinition$177 } from "./
|
|
179
|
-
import { n as componentDefinition$178 } from "./
|
|
180
|
-
import { n as componentDefinition$179 } from "./
|
|
181
|
-
import { n as componentDefinition$180 } from "./
|
|
182
|
-
import { n as componentDefinition$181 } from "./
|
|
183
|
-
import { n as componentDefinition$182 } from "./
|
|
184
|
-
import { n as componentDefinition$183 } from "./
|
|
185
|
-
import { n as componentDefinition$184 } from "./
|
|
186
|
-
import {
|
|
187
|
-
import {
|
|
188
|
-
import { n as componentDefinition$187 } from "./
|
|
189
|
-
import {
|
|
98
|
+
import { n as componentDefinition$95 } from "./LensDistortion-DG4VHEXV.js";
|
|
99
|
+
import { n as componentDefinition$96 } from "./LensFlare-DO5lm--6.js";
|
|
100
|
+
import { r as componentDefinition$97 } from "./LightEdge-CxWsQwpZ.js";
|
|
101
|
+
import { n as componentDefinition$98 } from "./LightLeak-tGJW6l2_.js";
|
|
102
|
+
import { i as componentDefinition$99 } from "./LinearBlur-OmZcUden.js";
|
|
103
|
+
import { n as componentDefinition$100 } from "./LinearGradient-DDqFujWC.js";
|
|
104
|
+
import { n as componentDefinition$101 } from "./LinearWipe-BzthBFNb.js";
|
|
105
|
+
import { n as componentDefinition$102 } from "./LiquidMetal-DpRAJ5Ne.js";
|
|
106
|
+
import { n as componentDefinition$103 } from "./Liquify-BVzmuY6D.js";
|
|
107
|
+
import { n as componentDefinition$104 } from "./MagneticFilings-BP1KyU2C.js";
|
|
108
|
+
import { n as componentDefinition$105 } from "./Marble-abj97ioG.js";
|
|
109
|
+
import { n as componentDefinition$106 } from "./Mirror-BYqbXWUj.js";
|
|
110
|
+
import { n as componentDefinition$107 } from "./MultiPointGradient-DZZSkiDv.js";
|
|
111
|
+
import { n as componentDefinition$109 } from "./NoiseDissolve-DSkh5NdD.js";
|
|
112
|
+
import { n as componentDefinition$110 } from "./ObjectTracker-DvQF31-0.js";
|
|
113
|
+
import { r as componentDefinition$111 } from "./PagePeel-DWtgqWdt.js";
|
|
114
|
+
import { n as componentDefinition$112 } from "./Paper-DGzZsv79.js";
|
|
115
|
+
import { n as componentDefinition$113 } from "./Parallelogram-Ce0Pg7DX.js";
|
|
116
|
+
import { n as componentDefinition$114 } from "./ParticleField-CgCOigET.js";
|
|
117
|
+
import { n as componentDefinition$115 } from "./ParticleFlow-CRQhvYQx.js";
|
|
118
|
+
import { n as componentDefinition$116 } from "./Particles-fKk9qTkl.js";
|
|
119
|
+
import { n as componentDefinition$117 } from "./PerlinNoise-DIFK1BpN.js";
|
|
120
|
+
import { n as componentDefinition$118 } from "./Perspective-CDNz_7y5.js";
|
|
121
|
+
import { n as componentDefinition$119 } from "./Pixelate-BSOzwVHo.js";
|
|
122
|
+
import { i as componentDefinition$120 } from "./PixelSort-sgh5ghCc.js";
|
|
123
|
+
import { i as componentDefinition$121 } from "./PixelThrow-CXtB4Am2.js";
|
|
124
|
+
import { n as componentDefinition$122 } from "./Plasma-G6Hl__3L.js";
|
|
125
|
+
import { n as componentDefinition$123 } from "./Plastic-B6F2WeaX.js";
|
|
126
|
+
import { n as componentDefinition$124 } from "./PolarCoordinates-Bi99omfI.js";
|
|
127
|
+
import { n as componentDefinition$125 } from "./Polygon-BFxoe-Fg.js";
|
|
128
|
+
import { n as componentDefinition$126 } from "./Posterize-DxiCXLUL.js";
|
|
129
|
+
import { n as componentDefinition$127 } from "./Prism-D6J-acZf.js";
|
|
130
|
+
import { a as componentDefinition$128 } from "./ProgressiveBlur-Bko6UMxQ.js";
|
|
131
|
+
import { n as componentDefinition$129 } from "./RadialGradient-B_Dgxs9_.js";
|
|
132
|
+
import { n as componentDefinition$130 } from "./RadialWipe-U9n5aeiJ.js";
|
|
133
|
+
import { n as componentDefinition$131 } from "./RandomBars-U_zpGDJh.js";
|
|
134
|
+
import { n as componentDefinition$132 } from "./ReactionDiffusion-I9xj-iK_.js";
|
|
135
|
+
import { n as componentDefinition$133 } from "./RectangularCoordinates-DX6wutjX.js";
|
|
136
|
+
import { r as componentDefinition$134 } from "./ReflectivePlane-DU9pf-7H.js";
|
|
137
|
+
import { n as componentDefinition$135 } from "./Repeater-kCIaHHFy.js";
|
|
138
|
+
import { n as componentDefinition$136 } from "./Ring-B_tYq3KV.js";
|
|
139
|
+
import { n as componentDefinition$137 } from "./Ripples-BDhMh7XC.js";
|
|
140
|
+
import { n as componentDefinition$138 } from "./RippleWipe-DCgZZ4VT.js";
|
|
141
|
+
import { n as componentDefinition$139 } from "./RoundedRect-9b3REf2d.js";
|
|
142
|
+
import { n as componentDefinition$140 } from "./Saturation-CcblT031.js";
|
|
143
|
+
import { n as componentDefinition$141 } from "./Scratches-Rzk27V6D.js";
|
|
144
|
+
import { n as componentDefinition$142 } from "./Sharpness-ClLOnNR8.js";
|
|
145
|
+
import { i as componentDefinition$143 } from "./Shatter-CLI896c7.js";
|
|
146
|
+
import { n as componentDefinition$144 } from "./SimplexNoise-98RPhPzU.js";
|
|
147
|
+
import { n as componentDefinition$145 } from "./SineWave-BZPrTdYD.js";
|
|
148
|
+
import { n as componentDefinition$146 } from "./SliceWipe-BR5Qr38C.js";
|
|
149
|
+
import { i as componentDefinition$147 } from "./Smoke-DoW6Brlo.js";
|
|
150
|
+
import { i as componentDefinition$148 } from "./SmokeFill-CXHhKX8u.js";
|
|
151
|
+
import { i as componentDefinition$149 } from "./SmokeFlow-mRJ_JcnZ.js";
|
|
152
|
+
import { n as componentDefinition$150 } from "./Solarize-BNCG4TCa.js";
|
|
153
|
+
import { n as componentDefinition$151 } from "./SolidColor-dYxjV0YF.js";
|
|
154
|
+
import { n as componentDefinition$152 } from "./Spherize-6d5WZIZV.js";
|
|
155
|
+
import { n as componentDefinition$153 } from "./Spiral-IOZ-Zm0_.js";
|
|
156
|
+
import { n as componentDefinition$154 } from "./Star-D9txpy4P.js";
|
|
157
|
+
import { n as componentDefinition$155 } from "./Stone-H2qLOvGJ.js";
|
|
158
|
+
import { n as componentDefinition$156 } from "./Strands-Db6_uJAi.js";
|
|
159
|
+
import { n as componentDefinition$157 } from "./Stretch-BIFeD7-1.js";
|
|
160
|
+
import { n as componentDefinition$158 } from "./Stripes-5YZhE4bc.js";
|
|
161
|
+
import { n as componentDefinition$159 } from "./StudioBackground-B16ICQTt.js";
|
|
162
|
+
import { n as componentDefinition$160 } from "./SunBurst-DSUFLqjC.js";
|
|
163
|
+
import { n as componentDefinition$161 } from "./Surface3D-BoliMAeJ.js";
|
|
164
|
+
import { n as componentDefinition$162 } from "./Swirl-CozBN2cj.js";
|
|
165
|
+
import { n as componentDefinition$163 } from "./Teardrop-D8uqqHu8.js";
|
|
166
|
+
import { n as componentDefinition$164 } from "./Text-Dka9dwCa.js";
|
|
167
|
+
import { a as componentDefinition$166 } from "./TiltShift-CNc1M7bT.js";
|
|
168
|
+
import { n as componentDefinition$167 } from "./TimeTrail-BFuqrI-l.js";
|
|
169
|
+
import { n as componentDefinition$168 } from "./Tint-BzCm1m93.js";
|
|
170
|
+
import { n as componentDefinition$169 } from "./Trapezoid-Dc6dpnCU.js";
|
|
171
|
+
import { n as componentDefinition$170 } from "./TriangularGrid-BMemTQ8X.js";
|
|
172
|
+
import { n as componentDefinition$171 } from "./Tritone-XnyfjYXL.js";
|
|
173
|
+
import { n as componentDefinition$172 } from "./Truchet-DUbAZPvr.js";
|
|
174
|
+
import { n as componentDefinition$173 } from "./Twirl-Dj6ZOh7V.js";
|
|
175
|
+
import { n as componentDefinition$174 } from "./VenetianBlinds-Dsix9S6Y.js";
|
|
176
|
+
import { n as componentDefinition$175 } from "./Vesica-BvLPrNBY.js";
|
|
177
|
+
import { n as componentDefinition$176 } from "./VHS-DcN38Sa-.js";
|
|
178
|
+
import { n as componentDefinition$177 } from "./Vibrance-B3F1IOJC.js";
|
|
179
|
+
import { n as componentDefinition$178 } from "./VideoTexture-rZnbkY1j.js";
|
|
180
|
+
import { n as componentDefinition$179 } from "./Vignette-D747S9Un.js";
|
|
181
|
+
import { n as componentDefinition$180 } from "./Voronoi-tdjJp1Yz.js";
|
|
182
|
+
import { n as componentDefinition$181 } from "./Water-wnYFmeVF.js";
|
|
183
|
+
import { n as componentDefinition$182 } from "./Watercolor-DlrWTnkX.js";
|
|
184
|
+
import { n as componentDefinition$183 } from "./WaveDistortion-11QwOfVR.js";
|
|
185
|
+
import { n as componentDefinition$184 } from "./WaveletNoise-DWOzHG3M.js";
|
|
186
|
+
import { n as componentDefinition$185 } from "./Weave-CdGwj7cZ.js";
|
|
187
|
+
import { r as componentDefinition$186 } from "./WebcamTexture-CihYSbzd.js";
|
|
188
|
+
import { n as componentDefinition$187 } from "./Wool-DKCBMabi.js";
|
|
189
|
+
import { n as componentDefinition$188 } from "./WorleyNoise-BjD32UOl.js";
|
|
190
|
+
import { i as componentDefinition$189 } from "./ZoomBlur-BnRTijPn.js";
|
|
190
191
|
var createShaderRegistry = () => {
|
|
191
192
|
const registry = {};
|
|
192
193
|
const shaderDefinitions = {
|
|
@@ -285,100 +286,101 @@ var createShaderRegistry = () => {
|
|
|
285
286
|
IsometricCubes: componentDefinition$92,
|
|
286
287
|
Kaleidoscope: componentDefinition$93,
|
|
287
288
|
KeyFrames: componentDefinition$94,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
289
|
+
LensDistortion: componentDefinition$95,
|
|
290
|
+
LensFlare: componentDefinition$96,
|
|
291
|
+
LightEdge: componentDefinition$97,
|
|
292
|
+
LightLeak: componentDefinition$98,
|
|
293
|
+
LinearBlur: componentDefinition$99,
|
|
294
|
+
LinearGradient: componentDefinition$100,
|
|
295
|
+
LinearWipe: componentDefinition$101,
|
|
296
|
+
LiquidMetal: componentDefinition$102,
|
|
297
|
+
Liquify: componentDefinition$103,
|
|
298
|
+
MagneticFilings: componentDefinition$104,
|
|
299
|
+
Marble: componentDefinition$105,
|
|
300
|
+
Mirror: componentDefinition$106,
|
|
301
|
+
MultiPointGradient: componentDefinition$107,
|
|
302
|
+
Neon: componentDefinition$108,
|
|
303
|
+
NoiseDissolve: componentDefinition$109,
|
|
304
|
+
ObjectTracker: componentDefinition$110,
|
|
305
|
+
PagePeel: componentDefinition$111,
|
|
306
|
+
Paper: componentDefinition$112,
|
|
307
|
+
Parallelogram: componentDefinition$113,
|
|
308
|
+
ParticleField: componentDefinition$114,
|
|
309
|
+
ParticleFlow: componentDefinition$115,
|
|
310
|
+
Particles: componentDefinition$116,
|
|
311
|
+
PerlinNoise: componentDefinition$117,
|
|
312
|
+
Perspective: componentDefinition$118,
|
|
313
|
+
Pixelate: componentDefinition$119,
|
|
314
|
+
PixelSort: componentDefinition$120,
|
|
315
|
+
PixelThrow: componentDefinition$121,
|
|
316
|
+
Plasma: componentDefinition$122,
|
|
317
|
+
Plastic: componentDefinition$123,
|
|
318
|
+
PolarCoordinates: componentDefinition$124,
|
|
319
|
+
Polygon: componentDefinition$125,
|
|
320
|
+
Posterize: componentDefinition$126,
|
|
321
|
+
Prism: componentDefinition$127,
|
|
322
|
+
ProgressiveBlur: componentDefinition$128,
|
|
323
|
+
RadialGradient: componentDefinition$129,
|
|
324
|
+
RadialWipe: componentDefinition$130,
|
|
325
|
+
RandomBars: componentDefinition$131,
|
|
326
|
+
ReactionDiffusion: componentDefinition$132,
|
|
327
|
+
RectangularCoordinates: componentDefinition$133,
|
|
328
|
+
ReflectivePlane: componentDefinition$134,
|
|
329
|
+
Repeater: componentDefinition$135,
|
|
330
|
+
Ring: componentDefinition$136,
|
|
331
|
+
Ripples: componentDefinition$137,
|
|
332
|
+
RippleWipe: componentDefinition$138,
|
|
333
|
+
RoundedRect: componentDefinition$139,
|
|
334
|
+
Saturation: componentDefinition$140,
|
|
335
|
+
Scratches: componentDefinition$141,
|
|
336
|
+
Sharpness: componentDefinition$142,
|
|
337
|
+
Shatter: componentDefinition$143,
|
|
338
|
+
SimplexNoise: componentDefinition$144,
|
|
339
|
+
SineWave: componentDefinition$145,
|
|
340
|
+
SliceWipe: componentDefinition$146,
|
|
341
|
+
Smoke: componentDefinition$147,
|
|
342
|
+
SmokeFill: componentDefinition$148,
|
|
343
|
+
SmokeFlow: componentDefinition$149,
|
|
344
|
+
Solarize: componentDefinition$150,
|
|
345
|
+
SolidColor: componentDefinition$151,
|
|
346
|
+
Spherize: componentDefinition$152,
|
|
347
|
+
Spiral: componentDefinition$153,
|
|
348
|
+
Star: componentDefinition$154,
|
|
349
|
+
Stone: componentDefinition$155,
|
|
350
|
+
Strands: componentDefinition$156,
|
|
351
|
+
Stretch: componentDefinition$157,
|
|
352
|
+
Stripes: componentDefinition$158,
|
|
353
|
+
StudioBackground: componentDefinition$159,
|
|
354
|
+
SunBurst: componentDefinition$160,
|
|
355
|
+
Surface3D: componentDefinition$161,
|
|
356
|
+
Swirl: componentDefinition$162,
|
|
357
|
+
Teardrop: componentDefinition$163,
|
|
358
|
+
Text: componentDefinition$164,
|
|
359
|
+
ThinFilm: componentDefinition$165,
|
|
360
|
+
TiltShift: componentDefinition$166,
|
|
361
|
+
TimeTrail: componentDefinition$167,
|
|
362
|
+
Tint: componentDefinition$168,
|
|
363
|
+
Trapezoid: componentDefinition$169,
|
|
364
|
+
TriangularGrid: componentDefinition$170,
|
|
365
|
+
Tritone: componentDefinition$171,
|
|
366
|
+
Truchet: componentDefinition$172,
|
|
367
|
+
Twirl: componentDefinition$173,
|
|
368
|
+
VenetianBlinds: componentDefinition$174,
|
|
369
|
+
Vesica: componentDefinition$175,
|
|
370
|
+
VHS: componentDefinition$176,
|
|
371
|
+
Vibrance: componentDefinition$177,
|
|
372
|
+
VideoTexture: componentDefinition$178,
|
|
373
|
+
Vignette: componentDefinition$179,
|
|
374
|
+
Voronoi: componentDefinition$180,
|
|
375
|
+
Water: componentDefinition$181,
|
|
376
|
+
Watercolor: componentDefinition$182,
|
|
377
|
+
WaveDistortion: componentDefinition$183,
|
|
378
|
+
WaveletNoise: componentDefinition$184,
|
|
379
|
+
Weave: componentDefinition$185,
|
|
380
|
+
WebcamTexture: componentDefinition$186,
|
|
381
|
+
Wool: componentDefinition$187,
|
|
382
|
+
WorleyNoise: componentDefinition$188,
|
|
383
|
+
ZoomBlur: componentDefinition$189
|
|
382
384
|
};
|
|
383
385
|
Object.entries(shaderDefinitions).forEach(([fileName, def]) => {
|
|
384
386
|
const propsMetadata = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shaderRegistry.d.ts","sourceRoot":"","sources":["../src/shaderRegistry.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shaderRegistry.d.ts","sourceRoot":"","sources":["../src/shaderRegistry.ts"],"names":[],"mappings":"AAiMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AAEzD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,mBAAmB,CAAC,GAAG,CAAC,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAA;IAC/D,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE;QAC5B,EAAE,CAAC,EAAE,GAAG,CAAA;QACR,OAAO,CAAC,EAAE,GAAG,CAAA;QACb,WAAW,CAAC,EAAE,MAAM,CAAA;KACrB,CAAC,CAAA;CACH;AAkOD,eAAO,MAAM,cAAc,qCAAyB,CAAA;AAKpD,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAQrD,CAAA;AAEJ,oGAAoG;AACpG,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGtD;AAGD,wBAAgB,aAAa,IAAI,mBAAmB,EAAE,CAErD;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB,GAAG,SAAS,CAE7E;AAED,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAE5E;AAED,wBAAgB,mBAAmB,IAAI,MAAM,EAAE,CAG9C"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { GpuShaderDefinition } from '../../gpu/porters';
|
|
2
|
+
import { transformAngle, transformPosition } from '../../utilities/transformations';
|
|
3
|
+
|
|
4
|
+
export interface ComponentProps {
|
|
5
|
+
/**
|
|
6
|
+
* The center point of the lens effect — the focus zone, lens warp, circle crop and swirl all pivot around it
|
|
7
|
+
*
|
|
8
|
+
* Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`.
|
|
9
|
+
* @default {"x":0.5,"y":0.5}
|
|
10
|
+
*/
|
|
11
|
+
center: Parameters<typeof transformPosition>[0];
|
|
12
|
+
/**
|
|
13
|
+
* Strength of the color split; how far the color layers are pushed apart (0 is off)
|
|
14
|
+
*
|
|
15
|
+
* @default 0.6
|
|
16
|
+
*/
|
|
17
|
+
spread: number;
|
|
18
|
+
/**
|
|
19
|
+
* Shifts the colors toward one end of the spread; 0 spaces them evenly
|
|
20
|
+
*
|
|
21
|
+
* @default 1
|
|
22
|
+
*/
|
|
23
|
+
bias: number;
|
|
24
|
+
/**
|
|
25
|
+
* Direction of the spread in degrees
|
|
26
|
+
*
|
|
27
|
+
* @default 0
|
|
28
|
+
*/
|
|
29
|
+
angle: Parameters<typeof transformAngle>[0];
|
|
30
|
+
/**
|
|
31
|
+
* Shapes the spread direction from a straight line (0) to a radial burst out from the centre (1)
|
|
32
|
+
*
|
|
33
|
+
* @default 0.1
|
|
34
|
+
*/
|
|
35
|
+
perspective: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of sampled color layers along the spread; higher is smoother and costlier
|
|
38
|
+
*
|
|
39
|
+
* @default 35
|
|
40
|
+
*/
|
|
41
|
+
count: number;
|
|
42
|
+
/**
|
|
43
|
+
* Overall amount of color dispersion; 1 gives each layer its own color from the spectrum, 0 keeps the original color
|
|
44
|
+
*
|
|
45
|
+
* @default 1
|
|
46
|
+
*/
|
|
47
|
+
dispersion: number;
|
|
48
|
+
/**
|
|
49
|
+
* Balance of the dispersion between a soft circular zone at the centre and the rest; -1 keeps it in the centre only, 1 at the edges only
|
|
50
|
+
*
|
|
51
|
+
* @default 0
|
|
52
|
+
*/
|
|
53
|
+
dispersionShift: number;
|
|
54
|
+
/**
|
|
55
|
+
* Rotates the dispersion colors around the hue wheel, 0 to 1 for a full turn
|
|
56
|
+
*
|
|
57
|
+
* @default 0.6
|
|
58
|
+
*/
|
|
59
|
+
dispersionColor: number;
|
|
60
|
+
/**
|
|
61
|
+
* Reduces the spread in a circular zone at the centre; 0 keeps it full to the centre
|
|
62
|
+
*
|
|
63
|
+
* @default 0.8
|
|
64
|
+
*/
|
|
65
|
+
focusCenter: number;
|
|
66
|
+
/**
|
|
67
|
+
* Reduces the spread toward the edges; 1 restores the original image there
|
|
68
|
+
*
|
|
69
|
+
* @default 1
|
|
70
|
+
*/
|
|
71
|
+
focusEdges: number;
|
|
72
|
+
/**
|
|
73
|
+
* Rotates the color layers around the centre by an angle growing along the spread; 0 is off
|
|
74
|
+
*
|
|
75
|
+
* @default 0.35
|
|
76
|
+
*/
|
|
77
|
+
swirl: number;
|
|
78
|
+
/**
|
|
79
|
+
* Scatters the spread direction with noise; 0 is off
|
|
80
|
+
*
|
|
81
|
+
* @default 0
|
|
82
|
+
*/
|
|
83
|
+
noise: number;
|
|
84
|
+
/**
|
|
85
|
+
* Frequency of the direction noise; higher is finer (no effect with noise at 0)
|
|
86
|
+
*
|
|
87
|
+
* @default 0.25
|
|
88
|
+
*/
|
|
89
|
+
noiseFrequency: number;
|
|
90
|
+
/**
|
|
91
|
+
* Offsets the noise pattern for a different seed (no effect with noise at 0)
|
|
92
|
+
*
|
|
93
|
+
* @default 0
|
|
94
|
+
*/
|
|
95
|
+
noiseOffset: number;
|
|
96
|
+
/**
|
|
97
|
+
* Radial lens warp; positive bulges out like a fisheye, negative pinches in like a pincushion
|
|
98
|
+
*
|
|
99
|
+
* @default 0
|
|
100
|
+
*/
|
|
101
|
+
lensBulge: number;
|
|
102
|
+
/**
|
|
103
|
+
* Squeezes pixels outside the inscribed circle inward so the outline becomes a circle
|
|
104
|
+
*
|
|
105
|
+
* @default 0
|
|
106
|
+
*/
|
|
107
|
+
lensCircle: number;
|
|
108
|
+
/**
|
|
109
|
+
* Scatters the spread with grain noise, breaking up the edges of the color layers
|
|
110
|
+
*
|
|
111
|
+
* @default 0
|
|
112
|
+
*/
|
|
113
|
+
grainMixer: number;
|
|
114
|
+
/**
|
|
115
|
+
* Post-processing black/white grain overlay
|
|
116
|
+
*
|
|
117
|
+
* @default 0
|
|
118
|
+
*/
|
|
119
|
+
grainOverlay: number;
|
|
120
|
+
}
|
|
121
|
+
export declare const componentDefinition: GpuShaderDefinition<ComponentProps>;
|
|
122
|
+
export default componentDefinition;
|
|
123
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/LensDistortion/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAiC,MAAM,uBAAuB,CAAA;AAG9F,OAAO,EAAC,cAAc,EAAE,iBAAiB,EAAC,MAAM,qCAAqC,CAAA;AA8BrF,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3C,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;IACvB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;CACvB;AAaD,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAyVnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "../../edges-BZUKQxSE.js";
|
|
2
|
+
import "../../support-6QRFK3xB.js";
|
|
3
|
+
import "../../porters-DogLzpKT.js";
|
|
4
|
+
import "../../compute-BoeIXi0l.js";
|
|
5
|
+
import "../../device-BODv_4aH.js";
|
|
6
|
+
import "../../transformations-CsPUHppB.js";
|
|
7
|
+
import { n as componentDefinition, t as LensDistortion_default } from "../../LensDistortion-DG4VHEXV.js";
|
|
8
|
+
export { componentDefinition, LensDistortion_default as default };
|
|
@@ -3,5 +3,5 @@ import "../../support-6QRFK3xB.js";
|
|
|
3
3
|
import "../../porters-DogLzpKT.js";
|
|
4
4
|
import "../../compute-BoeIXi0l.js";
|
|
5
5
|
import "../../transformations-CsPUHppB.js";
|
|
6
|
-
import { n as componentDefinition, r as lensFlareColor, t as LensFlare_default } from "../../LensFlare-
|
|
6
|
+
import { n as componentDefinition, r as lensFlareColor, t as LensFlare_default } from "../../LensFlare-DO5lm--6.js";
|
|
7
7
|
export { componentDefinition, LensFlare_default as default, lensFlareColor };
|
|
@@ -9,5 +9,5 @@ import "../../device-BODv_4aH.js";
|
|
|
9
9
|
import "../../shapeEffectBounds-Dg4GQ5vW.js";
|
|
10
10
|
import "../../glass-BVqgjSPg.js";
|
|
11
11
|
import "../../transformations-CsPUHppB.js";
|
|
12
|
-
import { a as lightEdgeAccumZero, c as lightEdgeColorAccum, i as lightEdgeAccumColorFor, l as lightEdgeCompose, n as LightEdge_default, o as lightEdgeBeat, r as componentDefinition, s as lightEdgeBorder, t as LightEdgeAccum, u as lightEdgePickColor } from "../../LightEdge-
|
|
12
|
+
import { a as lightEdgeAccumZero, c as lightEdgeColorAccum, i as lightEdgeAccumColorFor, l as lightEdgeCompose, n as LightEdge_default, o as lightEdgeBeat, r as componentDefinition, s as lightEdgeBorder, t as LightEdgeAccum, u as lightEdgePickColor } from "../../LightEdge-CxWsQwpZ.js";
|
|
13
13
|
export { LightEdgeAccum, componentDefinition, LightEdge_default as default, lightEdgeAccumColorFor, lightEdgeAccumZero, lightEdgeBeat, lightEdgeBorder, lightEdgeColorAccum, lightEdgeCompose, lightEdgePickColor };
|
|
@@ -4,5 +4,5 @@ import "../../porters-DogLzpKT.js";
|
|
|
4
4
|
import "../../noise-Cq0KUOSC.js";
|
|
5
5
|
import "../../compute-BoeIXi0l.js";
|
|
6
6
|
import "../../transformations-CsPUHppB.js";
|
|
7
|
-
import { i as lightLeakRamp, n as componentDefinition, r as lightLeakComposite, t as LightLeak_default } from "../../LightLeak-
|
|
7
|
+
import { i as lightLeakRamp, n as componentDefinition, r as lightLeakComposite, t as LightLeak_default } from "../../LightLeak-tGJW6l2_.js";
|
|
8
8
|
export { componentDefinition, LightLeak_default as default, lightLeakComposite, lightLeakRamp };
|
|
@@ -3,5 +3,5 @@ import "../../support-6QRFK3xB.js";
|
|
|
3
3
|
import "../../porters-DogLzpKT.js";
|
|
4
4
|
import "../../compute-BoeIXi0l.js";
|
|
5
5
|
import "../../transformations-CsPUHppB.js";
|
|
6
|
-
import { a as linearBlurTapCoord, i as componentDefinition, n as LinearBlur_default, r as TAP_COUNT, t as BLUR_WEIGHTS } from "../../LinearBlur-
|
|
6
|
+
import { a as linearBlurTapCoord, i as componentDefinition, n as LinearBlur_default, r as TAP_COUNT, t as BLUR_WEIGHTS } from "../../LinearBlur-OmZcUden.js";
|
|
7
7
|
export { BLUR_WEIGHTS, TAP_COUNT, componentDefinition, LinearBlur_default as default, linearBlurTapCoord };
|
|
@@ -3,5 +3,5 @@ import "../../support-6QRFK3xB.js";
|
|
|
3
3
|
import "../../porters-DogLzpKT.js";
|
|
4
4
|
import "../../compute-BoeIXi0l.js";
|
|
5
5
|
import "../../transformations-CsPUHppB.js";
|
|
6
|
-
import { a as gradientEdgeWrap, c as gradientTransparentAlpha, i as gradientEdgeMirror, n as componentDefinition, o as gradientRawT, r as gradientClamp01, s as gradientStopsInSpace, t as LinearGradient_default } from "../../LinearGradient-
|
|
6
|
+
import { a as gradientEdgeWrap, c as gradientTransparentAlpha, i as gradientEdgeMirror, n as componentDefinition, o as gradientRawT, r as gradientClamp01, s as gradientStopsInSpace, t as LinearGradient_default } from "../../LinearGradient-DDqFujWC.js";
|
|
7
7
|
export { componentDefinition, LinearGradient_default as default, gradientClamp01, gradientEdgeMirror, gradientEdgeWrap, gradientRawT, gradientStopsInSpace, gradientTransparentAlpha };
|
|
@@ -3,5 +3,5 @@ import "../../support-6QRFK3xB.js";
|
|
|
3
3
|
import "../../porters-DogLzpKT.js";
|
|
4
4
|
import "../../compute-BoeIXi0l.js";
|
|
5
5
|
import "../../transformations-CsPUHppB.js";
|
|
6
|
-
import { n as componentDefinition, r as linearWipeMask, t as LinearWipe_default } from "../../LinearWipe-
|
|
6
|
+
import { n as componentDefinition, r as linearWipeMask, t as LinearWipe_default } from "../../LinearWipe-BzthBFNb.js";
|
|
7
7
|
export { componentDefinition, LinearWipe_default as default, linearWipeMask };
|
|
@@ -9,5 +9,5 @@ import "../../device-BODv_4aH.js";
|
|
|
9
9
|
import "../../shapeEffectBounds-Dg4GQ5vW.js";
|
|
10
10
|
import "../../glass-BVqgjSPg.js";
|
|
11
11
|
import "../../transformations-CsPUHppB.js";
|
|
12
|
-
import { i as liquidStudio, n as componentDefinition, r as liquidMetalComposite, t as LiquidMetal_default } from "../../LiquidMetal-
|
|
12
|
+
import { i as liquidStudio, n as componentDefinition, r as liquidMetalComposite, t as LiquidMetal_default } from "../../LiquidMetal-DpRAJ5Ne.js";
|
|
13
13
|
export { componentDefinition, LiquidMetal_default as default, liquidMetalComposite, liquidStudio };
|
|
@@ -3,5 +3,5 @@ import "../../support-6QRFK3xB.js";
|
|
|
3
3
|
import "../../porters-DogLzpKT.js";
|
|
4
4
|
import "../../compute-BoeIXi0l.js";
|
|
5
5
|
import "../../transformations-CsPUHppB.js";
|
|
6
|
-
import { a as springKernel, i as outputKernel, n as componentDefinition, r as liquifyOffsetUV, t as Liquify_default } from "../../Liquify-
|
|
6
|
+
import { a as springKernel, i as outputKernel, n as componentDefinition, r as liquifyOffsetUV, t as Liquify_default } from "../../Liquify-BVzmuY6D.js";
|
|
7
7
|
export { componentDefinition, Liquify_default as default, liquifyOffsetUV, outputKernel, springKernel };
|