shaders 2.5.103 → 2.5.105
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/{Blur-CXXttTb1.js → Blur-Cxx3ZuHi.js} +1 -1
- package/dist/core/{ChannelBlur-gzP71FWd.js → ChannelBlur-Cth0biwG.js} +1 -1
- package/dist/core/Crystal-COGiLVvV.js +402 -0
- package/dist/core/{Emboss-ClQV27Mt.js → Emboss-LU-6cckT.js} +50 -42
- package/dist/core/Fog-DhFHErOx.js +674 -0
- package/dist/core/{Glass-C04tCmBL.js → Glass-TRSXbuE6.js} +99 -91
- package/dist/core/{Glow-BwaPYDRZ.js → Glow-8bKkyehK.js} +1 -1
- package/dist/core/{Neon-Dg8UfC7P.js → Neon-CMmGJzPy.js} +72 -61
- package/dist/core/{ProgressiveBlur-B8xwWyTM.js → ProgressiveBlur-B_z0pZ1V.js} +1 -1
- package/dist/core/Smoke-LIDjCv7f.js +629 -0
- package/dist/core/SmokeFill-ChSIfTxW.js +641 -0
- package/dist/core/{TiltShift-CI3FlfYk.js → TiltShift-GqDjHvmk.js} +1 -1
- package/dist/core/{VideoTexture-DnHIs4pp.js → VideoTexture-SWLe5c3m.js} +1 -1
- package/dist/core/{WebcamTexture-XBDo2kgN.js → WebcamTexture-cXPyEumA.js} +1 -1
- package/dist/core/{computeBlur-C3oX720H.js → computeBlur-DeXZ99YL.js} +30 -21
- package/dist/core/effects/emboss.d.ts.map +1 -1
- package/dist/core/effects/glass.d.ts.map +1 -1
- package/dist/core/effects/neon.d.ts.map +1 -1
- package/dist/core/index.js +78 -75
- package/dist/core/registry.js +77 -74
- package/dist/core/renderer.d.ts.map +1 -1
- package/dist/core/shaderRegistry-AbMwztl7.js +252 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/Blur/index.js +2 -2
- package/dist/core/shaders/ChannelBlur/index.js +2 -2
- package/dist/core/shaders/Crystal/index.d.ts.map +1 -1
- package/dist/core/shaders/Crystal/index.js +1 -1
- package/dist/core/shaders/Emboss/index.js +1 -1
- package/dist/core/shaders/Fog/index.d.ts +78 -0
- package/dist/core/shaders/Fog/index.d.ts.map +1 -0
- package/dist/core/shaders/Fog/index.js +4 -0
- package/dist/core/shaders/Form3D/index.js +1 -1
- package/dist/core/shaders/Glass/index.d.ts.map +1 -1
- package/dist/core/shaders/Glass/index.js +2 -2
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glitch/index.js +1 -1
- package/dist/core/shaders/Glow/index.js +2 -2
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/Grayscale/index.js +1 -1
- package/dist/core/shaders/Grid/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.js +1 -1
- package/dist/core/shaders/Group/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/HexGrid/index.js +1 -1
- package/dist/core/shaders/HueShift/index.js +1 -1
- package/dist/core/shaders/ImageTexture/index.js +1 -1
- package/dist/core/shaders/Invert/index.js +1 -1
- package/dist/core/shaders/Kaleidoscope/index.js +1 -1
- package/dist/core/shaders/LensFlare/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/Liquify/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/Neon/index.js +1 -1
- package/dist/core/shaders/Paper/index.js +1 -1
- package/dist/core/shaders/Perspective/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/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/ProgressiveBlur/index.js +2 -2
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ring/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/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/Smoke/index.d.ts +113 -0
- package/dist/core/shaders/Smoke/index.d.ts.map +1 -0
- package/dist/core/shaders/Smoke/index.js +4 -0
- package/dist/core/shaders/SmokeFill/index.d.ts +145 -0
- package/dist/core/shaders/SmokeFill/index.d.ts.map +1 -0
- package/dist/core/shaders/SmokeFill/index.js +5 -0
- 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/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/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +2 -2
- package/dist/core/shaders/Tint/index.js +1 -1
- package/dist/core/shaders/Trapezoid/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/Vesica/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/VideoTexture/index.js +2 -2
- package/dist/core/shaders/Vignette/index.js +1 -1
- package/dist/core/shaders/Voronoi/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/Weave/index.js +1 -1
- package/dist/core/shaders/WebcamTexture/index.js +2 -2
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/core/utilities/computeBlur.d.ts +1 -1
- package/dist/core/utilities/computeBlur.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 +67 -0
- package/dist/react/Fog.js +223 -0
- package/dist/react/Preview.js +3 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/Smoke.js +223 -0
- package/dist/react/SmokeFill.js +223 -0
- package/dist/react/components/Fog.d.ts +31 -0
- package/dist/react/components/Fog.d.ts.map +1 -0
- package/dist/react/components/Smoke.d.ts +33 -0
- package/dist/react/components/Smoke.d.ts.map +1 -0
- package/dist/react/components/SmokeFill.d.ts +34 -0
- package/dist/react/components/SmokeFill.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +3 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +4 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +67 -0
- package/dist/registry.js +1189 -0
- package/dist/solid/components/Fog.d.ts +28 -0
- package/dist/solid/components/Fog.d.ts.map +1 -0
- package/dist/solid/components/Fog.js +228 -0
- package/dist/solid/components/Smoke.d.ts +30 -0
- package/dist/solid/components/Smoke.d.ts.map +1 -0
- package/dist/solid/components/Smoke.js +228 -0
- package/dist/solid/components/SmokeFill.d.ts +31 -0
- package/dist/solid/components/SmokeFill.d.ts.map +1 -0
- package/dist/solid/components/SmokeFill.js +228 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +162 -156
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +3 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +144 -138
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +67 -0
- package/dist/svelte/components/Fog.svelte.d.ts +19 -0
- package/dist/svelte/components/Smoke.svelte.d.ts +20 -0
- package/dist/svelte/components/SmokeFill.svelte.d.ts +21 -0
- package/dist/svelte/{generatePresetCode-psTzYsW3.js → generatePresetCode-DR_OAIL7.js} +67 -0
- package/dist/svelte/index.d.ts +3 -0
- package/dist/svelte/index.js +1151 -551
- package/dist/svelte/source/components/Fog.svelte +325 -0
- package/dist/svelte/source/components/Smoke.svelte +326 -0
- package/dist/svelte/source/components/SmokeFill.svelte +327 -0
- package/dist/svelte/source/engine/Preview.svelte +6 -0
- package/dist/svelte/source/index.js +3 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/Fog.js +3 -0
- package/dist/vue/Fog.vue_vue_type_script_setup_true_lang.js +222 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +6 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/Smoke.js +3 -0
- package/dist/vue/Smoke.vue_vue_type_script_setup_true_lang.js +227 -0
- package/dist/vue/SmokeFill.js +3 -0
- package/dist/vue/SmokeFill.vue_vue_type_script_setup_true_lang.js +232 -0
- package/dist/vue/components/Fog.vue.d.ts +54 -0
- package/dist/vue/components/Fog.vue.d.ts.map +1 -0
- package/dist/vue/components/Smoke.vue.d.ts +55 -0
- package/dist/vue/components/Smoke.vue.d.ts.map +1 -0
- package/dist/vue/components/SmokeFill.vue.d.ts +56 -0
- package/dist/vue/components/SmokeFill.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +3 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +4 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +67 -0
- package/package.json +25 -1
- package/dist/core/Crystal-xVyUhVD-.js +0 -394
- package/dist/core/shaderRegistry-BWuH2me2.js +0 -246
- /package/dist/core/{Form3D-rKpxb9t3.js → Form3D-DaPbLGUi.js} +0 -0
- /package/dist/core/{GlassTiles-k1C4a4u8.js → GlassTiles-Dgh6nOaE.js} +0 -0
- /package/dist/core/{Glitch-DzPMkBu4.js → Glitch-BsbzLahF.js} +0 -0
- /package/dist/core/{Godrays-DAYmq-BP.js → Godrays-D1LINbut.js} +0 -0
- /package/dist/core/{Grayscale-lYKBBkGY.js → Grayscale-Ri-695Uh.js} +0 -0
- /package/dist/core/{Grid-BJ-nxN3i.js → Grid-BYSsAIEv.js} +0 -0
- /package/dist/core/{GridDistortion-DtaRNrTZ.js → GridDistortion-DWFGD8ya.js} +0 -0
- /package/dist/core/{Group-DpozigtX.js → Group-CkhjTW59.js} +0 -0
- /package/dist/core/{Halftone-XFa7by1s.js → Halftone-BUCDTTAU.js} +0 -0
- /package/dist/core/{HexGrid-D-EmQ4kI.js → HexGrid-BUiDrehv.js} +0 -0
- /package/dist/core/{HueShift-D9K0ynaS.js → HueShift-BtGVMu7q.js} +0 -0
- /package/dist/core/{ImageTexture-CArkZMfh.js → ImageTexture-CrX_9-f0.js} +0 -0
- /package/dist/core/{Invert-DCnwo_Xq.js → Invert-azYrcDMi.js} +0 -0
- /package/dist/core/{Kaleidoscope-BytHro3k.js → Kaleidoscope-CFWtKisp.js} +0 -0
- /package/dist/core/{LensFlare-B0vv4x97.js → LensFlare-ttrXgfea.js} +0 -0
- /package/dist/core/{LinearBlur-BFewxPjV.js → LinearBlur-By2aD8OO.js} +0 -0
- /package/dist/core/{LinearGradient-BKUf_u7r.js → LinearGradient-CM02z32l.js} +0 -0
- /package/dist/core/{Liquify-cE5dxrfh.js → Liquify-CyXo6vAH.js} +0 -0
- /package/dist/core/{Mirror-DIle92J8.js → Mirror-B7XmfGdw.js} +0 -0
- /package/dist/core/{MultiPointGradient-DDwac_mm.js → MultiPointGradient-8zGSIM4U.js} +0 -0
- /package/dist/core/{Paper-bMSMCeYK.js → Paper-B08rxNys.js} +0 -0
- /package/dist/core/{Perspective-BmfvQV6W.js → Perspective-BN_OpTZq.js} +0 -0
- /package/dist/core/{Pixelate-Dl26r6IT.js → Pixelate-dxPAFCRu.js} +0 -0
- /package/dist/core/{Plasma-CJWS1TvX.js → Plasma-DGCw0cd7.js} +0 -0
- /package/dist/core/{PolarCoordinates-lq6K4WBm.js → PolarCoordinates-CMYCFT4S.js} +0 -0
- /package/dist/core/{Polygon-DRCs3CYs.js → Polygon-CsCOt5YE.js} +0 -0
- /package/dist/core/{Posterize-BjH7Zscm.js → Posterize-Blv9pzPT.js} +0 -0
- /package/dist/core/{RadialGradient-DiGFPgrn.js → RadialGradient-De0gtdh3.js} +0 -0
- /package/dist/core/{RectangularCoordinates-COkNDxi0.js → RectangularCoordinates-8Sa2GaDy.js} +0 -0
- /package/dist/core/{Ring-QApyKPzE.js → Ring-kHH-DIDQ.js} +0 -0
- /package/dist/core/{Ripples-C8Q17Hvz.js → Ripples-Bf6Zwg6X.js} +0 -0
- /package/dist/core/{RoundedRect-Ca9af9xe.js → RoundedRect-B0sWh2BN.js} +0 -0
- /package/dist/core/{Saturation-CgDaiq6n.js → Saturation-CB19kOXg.js} +0 -0
- /package/dist/core/{Sharpness-CRXT0D30.js → Sharpness-CQOboeqy.js} +0 -0
- /package/dist/core/{Shatter-BssZTRYJ.js → Shatter-BhK75BiG.js} +0 -0
- /package/dist/core/{SimplexNoise-KfTCAfpL.js → SimplexNoise-BcSgytjc.js} +0 -0
- /package/dist/core/{SineWave-Ckeap_YM.js → SineWave-VTNDSK_g.js} +0 -0
- /package/dist/core/{Solarize-DhtQYYpW.js → Solarize-CWDgSBiv.js} +0 -0
- /package/dist/core/{SolidColor-6yUkGybH.js → SolidColor-DhMdM3bE.js} +0 -0
- /package/dist/core/{Spherize-8LXrGGG_.js → Spherize-BZxwopX8.js} +0 -0
- /package/dist/core/{Spiral-Bs7uZrBr.js → Spiral-gpkw37l1.js} +0 -0
- /package/dist/core/{Star-DiXwnPGP.js → Star-WJAOZ5P5.js} +0 -0
- /package/dist/core/{Strands-DsAAVemq.js → Strands-DOthZNHt.js} +0 -0
- /package/dist/core/{Stretch-D7P2R5lV.js → Stretch--GV6hbru.js} +0 -0
- /package/dist/core/{Stripes-DF8agIiJ.js → Stripes-CFCXw1_N.js} +0 -0
- /package/dist/core/{StudioBackground-BFeNfwEu.js → StudioBackground-DJr-cxOL.js} +0 -0
- /package/dist/core/{Swirl-BwezrSAA.js → Swirl-By5FadQK.js} +0 -0
- /package/dist/core/{Tint-BdXlqlzz.js → Tint-DaTx2HII.js} +0 -0
- /package/dist/core/{Trapezoid-BX_hmeZJ.js → Trapezoid-Co0sIA73.js} +0 -0
- /package/dist/core/{Tritone-BlJ7cchN.js → Tritone-C9Yx69Tw.js} +0 -0
- /package/dist/core/{Truchet-Bnn0fwbF.js → Truchet-CkFSkniR.js} +0 -0
- /package/dist/core/{Twirl-C5ijhqz1.js → Twirl-v8pLqUTN.js} +0 -0
- /package/dist/core/{VHS-CQJ1hV_D.js → VHS-mKd1QBBj.js} +0 -0
- /package/dist/core/{Vesica-DU0f85NG.js → Vesica-CxP7UD0a.js} +0 -0
- /package/dist/core/{Vibrance-CGvYDeds.js → Vibrance-WR5yQv_9.js} +0 -0
- /package/dist/core/{Vignette-BJaonUVL.js → Vignette-hAIKTi35.js} +0 -0
- /package/dist/core/{Voronoi-DZemzWA4.js → Voronoi-DOGmwUSK.js} +0 -0
- /package/dist/core/{WaveDistortion--Y-m667K.js → WaveDistortion-BGdgj3Iz.js} +0 -0
- /package/dist/core/{Weave-CtyohvHz.js → Weave-CIP_EUPa.js} +0 -0
- /package/dist/core/{ZoomBlur-BwkhsFRE.js → ZoomBlur-BuIVpHGG.js} +0 -0
- /package/dist/core/{browser-DTNngPey.js → browser-D8zonASQ.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as RectangularCoordinates_default } from "../../RectangularCoordinates-
|
|
4
|
+
import { n as componentDefinition, t as RectangularCoordinates_default } from "../../RectangularCoordinates-8Sa2GaDy.js";
|
|
5
5
|
export { componentDefinition, RectangularCoordinates_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../sdf-DyC2H_qS.js";
|
|
4
|
-
import { n as componentDefinition, t as Ring_default } from "../../Ring-
|
|
4
|
+
import { n as componentDefinition, t as Ring_default } from "../../Ring-kHH-DIDQ.js";
|
|
5
5
|
export { componentDefinition, Ring_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../time-DUqSFWvT.js";
|
|
4
|
-
import { n as componentDefinition, t as Ripples_default } from "../../Ripples-
|
|
4
|
+
import { n as componentDefinition, t as Ripples_default } from "../../Ripples-Bf6Zwg6X.js";
|
|
5
5
|
export { componentDefinition, Ripples_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../sdf-DyC2H_qS.js";
|
|
4
|
-
import { n as componentDefinition, t as RoundedRect_default } from "../../RoundedRect-
|
|
4
|
+
import { n as componentDefinition, t as RoundedRect_default } from "../../RoundedRect-B0sWh2BN.js";
|
|
5
5
|
export { componentDefinition, RoundedRect_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Saturation_default } from "../../Saturation-
|
|
1
|
+
import { n as componentDefinition, t as Saturation_default } from "../../Saturation-CB19kOXg.js";
|
|
2
2
|
export { componentDefinition, Saturation_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../alpha-C4ptedXe.js";
|
|
2
|
-
import { n as componentDefinition, t as Sharpness_default } from "../../Sharpness-
|
|
2
|
+
import { n as componentDefinition, t as Sharpness_default } from "../../Sharpness-CQOboeqy.js";
|
|
3
3
|
export { componentDefinition, Sharpness_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as Shatter_default } from "../../Shatter-
|
|
4
|
+
import { n as componentDefinition, t as Shatter_default } from "../../Shatter-BhK75BiG.js";
|
|
5
5
|
export { componentDefinition, Shatter_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../time-DUqSFWvT.js";
|
|
4
|
-
import { n as componentDefinition, t as SimplexNoise_default } from "../../SimplexNoise-
|
|
4
|
+
import { n as componentDefinition, t as SimplexNoise_default } from "../../SimplexNoise-BcSgytjc.js";
|
|
5
5
|
export { componentDefinition, SimplexNoise_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../time-DUqSFWvT.js";
|
|
3
|
-
import { n as componentDefinition, t as SineWave_default } from "../../SineWave-
|
|
3
|
+
import { n as componentDefinition, t as SineWave_default } from "../../SineWave-VTNDSK_g.js";
|
|
4
4
|
export { componentDefinition, SineWave_default as default };
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ComponentDefinition } from '../../types';
|
|
2
|
+
import { transformColor, transformPosition } from '../../utilities/transformations';
|
|
3
|
+
|
|
4
|
+
export interface ComponentProps {
|
|
5
|
+
/**
|
|
6
|
+
* Color of fresh smoke
|
|
7
|
+
*
|
|
8
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
9
|
+
* @default "#fc83f9"
|
|
10
|
+
*/
|
|
11
|
+
colorA: Parameters<typeof transformColor>[0];
|
|
12
|
+
/**
|
|
13
|
+
* Color smoke transitions to as it ages
|
|
14
|
+
*
|
|
15
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
16
|
+
* @default "#c21c79"
|
|
17
|
+
*/
|
|
18
|
+
colorB: Parameters<typeof transformColor>[0];
|
|
19
|
+
/**
|
|
20
|
+
* The emission source point
|
|
21
|
+
*
|
|
22
|
+
* Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`.
|
|
23
|
+
* @default {"x":0.5,"y":1}
|
|
24
|
+
*/
|
|
25
|
+
emitFrom: Parameters<typeof transformPosition>[0];
|
|
26
|
+
/**
|
|
27
|
+
* Emission direction (0 = up, 90 = right, 180 = down, 270 = left)
|
|
28
|
+
*
|
|
29
|
+
* Accepts a number between 0 and 360.
|
|
30
|
+
* @default 0
|
|
31
|
+
*/
|
|
32
|
+
direction: number;
|
|
33
|
+
/**
|
|
34
|
+
* Emission velocity strength
|
|
35
|
+
*
|
|
36
|
+
* Accepts a number between 0.1 and 50.
|
|
37
|
+
* @default 20
|
|
38
|
+
*/
|
|
39
|
+
speed: number;
|
|
40
|
+
/**
|
|
41
|
+
* Emission cone angle in degrees
|
|
42
|
+
*
|
|
43
|
+
* Accepts a number between 0 and 180.
|
|
44
|
+
* @default 60
|
|
45
|
+
*/
|
|
46
|
+
spread: number;
|
|
47
|
+
/**
|
|
48
|
+
* Size of the emission area
|
|
49
|
+
*
|
|
50
|
+
* Accepts a number between 0.01 and 0.3.
|
|
51
|
+
* @default 0.08
|
|
52
|
+
*/
|
|
53
|
+
emitRadius: number;
|
|
54
|
+
/**
|
|
55
|
+
* Smoke emission density
|
|
56
|
+
*
|
|
57
|
+
* Accepts a number between 0.1 and 1.
|
|
58
|
+
* @default 1
|
|
59
|
+
*/
|
|
60
|
+
intensity: number;
|
|
61
|
+
/**
|
|
62
|
+
* How fast smoke fades over time
|
|
63
|
+
*
|
|
64
|
+
* Accepts a number between 0.1 and 3.
|
|
65
|
+
* @default 0.2
|
|
66
|
+
*/
|
|
67
|
+
dissipation: number;
|
|
68
|
+
/**
|
|
69
|
+
* Fine-scale swirling detail
|
|
70
|
+
*
|
|
71
|
+
* Accepts a number between 0 and 50.
|
|
72
|
+
* @default 25
|
|
73
|
+
*/
|
|
74
|
+
detail: number;
|
|
75
|
+
/**
|
|
76
|
+
* Downward gravitational pull on smoke
|
|
77
|
+
*
|
|
78
|
+
* Accepts a number between -2 and 2.
|
|
79
|
+
* @default 0.5
|
|
80
|
+
*/
|
|
81
|
+
gravity: number;
|
|
82
|
+
/**
|
|
83
|
+
* How quickly smoke shifts from Color A to Color B
|
|
84
|
+
*
|
|
85
|
+
* Accepts a number between 0 and 3.
|
|
86
|
+
* @default 0.4
|
|
87
|
+
*/
|
|
88
|
+
colorDecay: number;
|
|
89
|
+
/**
|
|
90
|
+
* Strength of cursor influence
|
|
91
|
+
*
|
|
92
|
+
* Accepts a number between 0 and 2.
|
|
93
|
+
* @default 0.1
|
|
94
|
+
*/
|
|
95
|
+
mouseInfluence: number;
|
|
96
|
+
/**
|
|
97
|
+
* Radius of cursor influence area
|
|
98
|
+
*
|
|
99
|
+
* Accepts a number between 0.02 and 0.5.
|
|
100
|
+
* @default 0.1
|
|
101
|
+
*/
|
|
102
|
+
mouseRadius: number;
|
|
103
|
+
/**
|
|
104
|
+
* Color space for color interpolation
|
|
105
|
+
*
|
|
106
|
+
* Accepts one of the predefined option values.
|
|
107
|
+
* @default "linear"
|
|
108
|
+
*/
|
|
109
|
+
colorSpace: string;
|
|
110
|
+
}
|
|
111
|
+
export declare const componentDefinition: ComponentDefinition<ComponentProps>;
|
|
112
|
+
export default componentDefinition;
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Smoke/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAwC,MAAM,iBAAiB,CAAA;AAQ1F,OAAO,EAAC,cAAc,EAAE,iBAAiB,EAAyC,MAAM,qCAAqC,CAAA;AAI7H,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,QAAQ,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IACjD,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;CACrB;AAQD,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAkoBnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { ComponentDefinition } from '../../types';
|
|
2
|
+
import { transformColor, transformPosition } from '../../utilities/transformations';
|
|
3
|
+
|
|
4
|
+
export interface ComponentProps {
|
|
5
|
+
/**
|
|
6
|
+
* Color of fresh smoke
|
|
7
|
+
*
|
|
8
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
9
|
+
* @default "#8cf3ff"
|
|
10
|
+
*/
|
|
11
|
+
colorA: Parameters<typeof transformColor>[0];
|
|
12
|
+
/**
|
|
13
|
+
* Color smoke transitions to as it ages
|
|
14
|
+
*
|
|
15
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
16
|
+
* @default "#04a0d6"
|
|
17
|
+
*/
|
|
18
|
+
colorB: Parameters<typeof transformColor>[0];
|
|
19
|
+
/**
|
|
20
|
+
* Center position of the shape
|
|
21
|
+
*
|
|
22
|
+
* Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`.
|
|
23
|
+
* @default {"x":0.5,"y":0.5}
|
|
24
|
+
*/
|
|
25
|
+
center: Parameters<typeof transformPosition>[0];
|
|
26
|
+
/**
|
|
27
|
+
* Scale of the shape (1 = default size)
|
|
28
|
+
*
|
|
29
|
+
* Accepts a number between 0.1 and 3.
|
|
30
|
+
* @default 1
|
|
31
|
+
*/
|
|
32
|
+
scale: number;
|
|
33
|
+
/**
|
|
34
|
+
* Emission source point within the shape
|
|
35
|
+
*
|
|
36
|
+
* Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`.
|
|
37
|
+
* @default {"x":0.5,"y":0.5}
|
|
38
|
+
*/
|
|
39
|
+
emitFrom: Parameters<typeof transformPosition>[0];
|
|
40
|
+
/**
|
|
41
|
+
* Emission direction (0 = up, 90 = right, 180 = down, 270 = left)
|
|
42
|
+
*
|
|
43
|
+
* Accepts a number between 0 and 360.
|
|
44
|
+
* @default 0
|
|
45
|
+
*/
|
|
46
|
+
direction: number;
|
|
47
|
+
/**
|
|
48
|
+
* Emission velocity strength
|
|
49
|
+
*
|
|
50
|
+
* Accepts a number between 0.1 and 30.
|
|
51
|
+
* @default 10
|
|
52
|
+
*/
|
|
53
|
+
speed: number;
|
|
54
|
+
/**
|
|
55
|
+
* Emission cone angle in degrees
|
|
56
|
+
*
|
|
57
|
+
* Accepts a number between 0 and 180.
|
|
58
|
+
* @default 60
|
|
59
|
+
*/
|
|
60
|
+
spread: number;
|
|
61
|
+
/**
|
|
62
|
+
* Size of the emission area
|
|
63
|
+
*
|
|
64
|
+
* Accepts a number between 0.01 and 0.3.
|
|
65
|
+
* @default 0.03
|
|
66
|
+
*/
|
|
67
|
+
emitRadius: number;
|
|
68
|
+
/**
|
|
69
|
+
* Smoke emission density
|
|
70
|
+
*
|
|
71
|
+
* Accepts a number between 0.1 and 1.
|
|
72
|
+
* @default 1
|
|
73
|
+
*/
|
|
74
|
+
intensity: number;
|
|
75
|
+
/**
|
|
76
|
+
* How fast smoke fades over time
|
|
77
|
+
*
|
|
78
|
+
* Accepts a number between 0.1 and 5.
|
|
79
|
+
* @default 0.3
|
|
80
|
+
*/
|
|
81
|
+
dissipation: number;
|
|
82
|
+
/**
|
|
83
|
+
* Fine-scale swirling detail
|
|
84
|
+
*
|
|
85
|
+
* Accepts a number between 0 and 50.
|
|
86
|
+
* @default 25
|
|
87
|
+
*/
|
|
88
|
+
detail: number;
|
|
89
|
+
/**
|
|
90
|
+
* Downward gravitational pull on smoke — 0 = weightless, negative values = smoke rises
|
|
91
|
+
*
|
|
92
|
+
* Accepts a number between -2 and 2.
|
|
93
|
+
* @default 0.5
|
|
94
|
+
*/
|
|
95
|
+
gravity: number;
|
|
96
|
+
/**
|
|
97
|
+
* How quickly smoke shifts from Color A to Color B
|
|
98
|
+
*
|
|
99
|
+
* Accepts a number between 0 and 3.
|
|
100
|
+
* @default 0.4
|
|
101
|
+
*/
|
|
102
|
+
colorDecay: number;
|
|
103
|
+
/**
|
|
104
|
+
* Strength of cursor influence
|
|
105
|
+
*
|
|
106
|
+
* Accepts a number between 0 and 2.
|
|
107
|
+
* @default 0.1
|
|
108
|
+
*/
|
|
109
|
+
mouseInfluence: number;
|
|
110
|
+
/**
|
|
111
|
+
* Radius of cursor influence area
|
|
112
|
+
*
|
|
113
|
+
* Accepts a number between 0.02 and 0.5.
|
|
114
|
+
* @default 0.1
|
|
115
|
+
*/
|
|
116
|
+
mouseRadius: number;
|
|
117
|
+
/**
|
|
118
|
+
* Color space for color interpolation
|
|
119
|
+
*
|
|
120
|
+
* Accepts one of the predefined option values.
|
|
121
|
+
* @default "linear"
|
|
122
|
+
*/
|
|
123
|
+
colorSpace: string;
|
|
124
|
+
/**
|
|
125
|
+
* Serialized shape configuration (JSON)
|
|
126
|
+
*
|
|
127
|
+
* @default "DEFAULT_SHAPE_CONFIG"
|
|
128
|
+
*/
|
|
129
|
+
shape: string;
|
|
130
|
+
/**
|
|
131
|
+
* URL to a pre-generated SDF .bin file
|
|
132
|
+
*
|
|
133
|
+
* @default ""
|
|
134
|
+
*/
|
|
135
|
+
shapeSdfUrl: string;
|
|
136
|
+
/**
|
|
137
|
+
* Active SDF shape type
|
|
138
|
+
*
|
|
139
|
+
* @default ""
|
|
140
|
+
*/
|
|
141
|
+
shapeType: string;
|
|
142
|
+
}
|
|
143
|
+
export declare const componentDefinition: ComponentDefinition<ComponentProps>;
|
|
144
|
+
export default componentDefinition;
|
|
145
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/SmokeFill/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAwC,MAAM,iBAAiB,CAAA;AAQ1F,OAAO,EAAC,cAAc,EAAE,iBAAiB,EAAyC,MAAM,qCAAqC,CAAA;AAO7H,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IACjD,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,MAAM,CAAA;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAQD,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA2lBnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "../../transformations-B5lM6fYX.js";
|
|
2
|
+
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
+
import "../../sdf-DyC2H_qS.js";
|
|
4
|
+
import { n as componentDefinition, t as SmokeFill_default } from "../../SmokeFill-ChSIfTxW.js";
|
|
5
|
+
export { componentDefinition, SmokeFill_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Solarize_default } from "../../Solarize-
|
|
1
|
+
import { n as componentDefinition, t as Solarize_default } from "../../Solarize-CWDgSBiv.js";
|
|
2
2
|
export { componentDefinition, Solarize_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as componentDefinition, t as SolidColor_default } from "../../SolidColor-
|
|
2
|
+
import { n as componentDefinition, t as SolidColor_default } from "../../SolidColor-DhMdM3bE.js";
|
|
3
3
|
export { componentDefinition, SolidColor_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../alpha-C4ptedXe.js";
|
|
3
|
-
import { n as componentDefinition, t as Spherize_default } from "../../Spherize-
|
|
3
|
+
import { n as componentDefinition, t as Spherize_default } from "../../Spherize-BZxwopX8.js";
|
|
4
4
|
export { componentDefinition, Spherize_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../time-DUqSFWvT.js";
|
|
4
|
-
import { n as componentDefinition, t as Spiral_default } from "../../Spiral-
|
|
4
|
+
import { n as componentDefinition, t as Spiral_default } from "../../Spiral-gpkw37l1.js";
|
|
5
5
|
export { componentDefinition, Spiral_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../sdf-DyC2H_qS.js";
|
|
4
|
-
import { n as componentDefinition, t as Star_default } from "../../Star-
|
|
4
|
+
import { n as componentDefinition, t as Star_default } from "../../Star-WJAOZ5P5.js";
|
|
5
5
|
export { componentDefinition, Star_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../time-DUqSFWvT.js";
|
|
3
|
-
import { n as componentDefinition, t as Strands_default } from "../../Strands-
|
|
3
|
+
import { n as componentDefinition, t as Strands_default } from "../../Strands-DOthZNHt.js";
|
|
4
4
|
export { componentDefinition, Strands_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as Stretch_default } from "../../Stretch
|
|
4
|
+
import { n as componentDefinition, t as Stretch_default } from "../../Stretch--GV6hbru.js";
|
|
5
5
|
export { componentDefinition, Stretch_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../time-DUqSFWvT.js";
|
|
4
|
-
import { n as componentDefinition, t as Stripes_default } from "../../Stripes-
|
|
4
|
+
import { n as componentDefinition, t as Stripes_default } from "../../Stripes-CFCXw1_N.js";
|
|
5
5
|
export { componentDefinition, Stripes_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../time-DUqSFWvT.js";
|
|
3
|
-
import { n as componentDefinition, t as StudioBackground_default } from "../../StudioBackground-
|
|
3
|
+
import { n as componentDefinition, t as StudioBackground_default } from "../../StudioBackground-DJr-cxOL.js";
|
|
4
4
|
export { componentDefinition, StudioBackground_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../time-DUqSFWvT.js";
|
|
4
|
-
import { n as componentDefinition, t as Swirl_default } from "../../Swirl-
|
|
4
|
+
import { n as componentDefinition, t as Swirl_default } from "../../Swirl-By5FadQK.js";
|
|
5
5
|
export { componentDefinition, Swirl_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../alpha-C4ptedXe.js";
|
|
3
|
-
import "../../computeBlur-
|
|
4
|
-
import { n as componentDefinition, t as TiltShift_default } from "../../TiltShift-
|
|
3
|
+
import "../../computeBlur-DeXZ99YL.js";
|
|
4
|
+
import { n as componentDefinition, t as TiltShift_default } from "../../TiltShift-GqDjHvmk.js";
|
|
5
5
|
export { componentDefinition, TiltShift_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as componentDefinition, t as Tint_default } from "../../Tint-
|
|
2
|
+
import { n as componentDefinition, t as Tint_default } from "../../Tint-DaTx2HII.js";
|
|
3
3
|
export { componentDefinition, Tint_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../sdf-DyC2H_qS.js";
|
|
4
|
-
import { n as componentDefinition, t as Trapezoid_default } from "../../Trapezoid-
|
|
4
|
+
import { n as componentDefinition, t as Trapezoid_default } from "../../Trapezoid-Co0sIA73.js";
|
|
5
5
|
export { componentDefinition, Trapezoid_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../alpha-C4ptedXe.js";
|
|
3
3
|
import "../../colorMixing-BPpDnR5I.js";
|
|
4
|
-
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-
|
|
4
|
+
import { n as componentDefinition, t as Tritone_default } from "../../Tritone-C9Yx69Tw.js";
|
|
5
5
|
export { componentDefinition, Tritone_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
|
-
import { n as componentDefinition, t as Truchet_default } from "../../Truchet-
|
|
3
|
+
import { n as componentDefinition, t as Truchet_default } from "../../Truchet-CkFSkniR.js";
|
|
4
4
|
export { componentDefinition, Truchet_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../edges-CfGcQniB.js";
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
|
-
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-
|
|
4
|
+
import { n as componentDefinition, t as Twirl_default } from "../../Twirl-v8pLqUTN.js";
|
|
5
5
|
export { componentDefinition, Twirl_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../sdf-DyC2H_qS.js";
|
|
4
|
-
import { n as componentDefinition, t as Vesica_default } from "../../Vesica-
|
|
4
|
+
import { n as componentDefinition, t as Vesica_default } from "../../Vesica-CxP7UD0a.js";
|
|
5
5
|
export { componentDefinition, Vesica_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-
|
|
1
|
+
import { n as componentDefinition, t as Vibrance_default } from "../../Vibrance-WR5yQv_9.js";
|
|
2
2
|
export { componentDefinition, Vibrance_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../browser-
|
|
2
|
-
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-
|
|
1
|
+
import "../../browser-D8zonASQ.js";
|
|
2
|
+
import { n as componentDefinition, t as VideoTexture_default } from "../../VideoTexture-SWLe5c3m.js";
|
|
3
3
|
export { componentDefinition, VideoTexture_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as componentDefinition, t as Vignette_default } from "../../Vignette-
|
|
2
|
+
import { n as componentDefinition, t as Vignette_default } from "../../Vignette-hAIKTi35.js";
|
|
3
3
|
export { componentDefinition, Vignette_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../colorMixing-BPpDnR5I.js";
|
|
3
3
|
import "../../time-DUqSFWvT.js";
|
|
4
|
-
import { n as componentDefinition, t as Voronoi_default } from "../../Voronoi-
|
|
4
|
+
import { n as componentDefinition, t as Voronoi_default } from "../../Voronoi-DOGmwUSK.js";
|
|
5
5
|
export { componentDefinition, Voronoi_default as default };
|
|
@@ -2,5 +2,5 @@ import "../../edges-CfGcQniB.js";
|
|
|
2
2
|
import "../../transformations-B5lM6fYX.js";
|
|
3
3
|
import "../../alpha-C4ptedXe.js";
|
|
4
4
|
import "../../time-DUqSFWvT.js";
|
|
5
|
-
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion
|
|
5
|
+
import { n as componentDefinition, t as WaveDistortion_default } from "../../WaveDistortion-BGdgj3Iz.js";
|
|
6
6
|
export { componentDefinition, WaveDistortion_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
|
-
import { n as componentDefinition, t as Weave_default } from "../../Weave-
|
|
2
|
+
import { n as componentDefinition, t as Weave_default } from "../../Weave-CIP_EUPa.js";
|
|
3
3
|
export { componentDefinition, Weave_default as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../../browser-
|
|
2
|
-
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-
|
|
1
|
+
import "../../browser-D8zonASQ.js";
|
|
2
|
+
import { n as componentDefinition, t as WebcamTexture_default } from "../../WebcamTexture-cXPyEumA.js";
|
|
3
3
|
export { componentDefinition, WebcamTexture_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../transformations-B5lM6fYX.js";
|
|
2
2
|
import "../../alpha-C4ptedXe.js";
|
|
3
|
-
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-
|
|
3
|
+
import { n as componentDefinition, t as ZoomBlur_default } from "../../ZoomBlur-BuIVpHGG.js";
|
|
4
4
|
export { componentDefinition, ZoomBlur_default as default };
|
|
@@ -29,7 +29,7 @@ export interface VariableBlurComputeResult {
|
|
|
29
29
|
* @param height - Render height in pixels
|
|
30
30
|
* @param onCleanup - Cleanup callback registration
|
|
31
31
|
*/
|
|
32
|
-
export declare function createGaussianBlurCompute(inputTexture: any, width: number, height: number, onCleanup: (cb: () => void) => void): GaussianBlurComputeResult;
|
|
32
|
+
export declare function createGaussianBlurCompute(inputTexture: any, width: number, height: number, onCleanup: (cb: () => void) => void, outputScale?: number): GaussianBlurComputeResult;
|
|
33
33
|
/**
|
|
34
34
|
* Create a 2-pass separable Gaussian blur with per-pixel variable radius.
|
|
35
35
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeBlur.d.ts","sourceRoot":"","sources":["../../src/utilities/computeBlur.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAA;AAyB3C,MAAM,WAAW,yBAAyB;IACtC,0EAA0E;IAC1E,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,wEAAwE;IACxE,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,wFAAwF;IACxF,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,yBAAyB;IACtC,0DAA0D;IAC1D,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,mCAAmC;IACnC,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,uFAAuF;IACvF,cAAc,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IACnD,uFAAuF;IACvF,gBAAgB,EAAE,GAAG,CAAA;CACxB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CACrC,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"computeBlur.d.ts","sourceRoot":"","sources":["../../src/utilities/computeBlur.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAA;AAyB3C,MAAM,WAAW,yBAAyB;IACtC,0EAA0E;IAC1E,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,wEAAwE;IACxE,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,wFAAwF;IACxF,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAED,MAAM,WAAW,yBAAyB;IACtC,0DAA0D;IAC1D,YAAY,EAAE,GAAG,EAAE,CAAA;IACnB,mCAAmC;IACnC,aAAa,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IAClD,uFAAuF;IACvF,cAAc,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC,CAAA;IACnD,uFAAuF;IACvF,gBAAgB,EAAE,GAAG,CAAA;CACxB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CACrC,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,EACnC,WAAW,GAAE,MAAU,GACxB,yBAAyB,CAuH3B;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,iCAAiC,CAC7C,YAAY,EAAE,GAAG,EACjB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,GACpC,yBAAyB,CAqF3B"}
|
package/dist/js/createShader.js
CHANGED
|
@@ -46,7 +46,7 @@ async function createShader(canvas, preset, options) {
|
|
|
46
46
|
if (isExternalUser()) {
|
|
47
47
|
const checkRendering = () => {
|
|
48
48
|
if (renderer.getPerformanceStats().fps > 0) {
|
|
49
|
-
telemetryCollector = startTelemetry(renderer, "2.5.
|
|
49
|
+
telemetryCollector = startTelemetry(renderer, "2.5.105", options?.disableTelemetry || false, false);
|
|
50
50
|
if (telemetryCollector) telemetryCollector.start();
|
|
51
51
|
telemetryStartTimeout = null;
|
|
52
52
|
} else telemetryStartTimeout = setTimeout(checkRendering, 500);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;
|
|
1
|
+
{"version":3,"file":"generatePresetCode.d.ts","sourceRoot":"","sources":["../../src/utils/generatePresetCode.ts"],"names":[],"mappings":"AAAA,UAAU,eAAe;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAA;CAC7B;AAED,UAAU,YAAY;IACpB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B;AA88CD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,MAAM,CAoBlG;AAGD,eAAO,MAAM,mBAAmB,UA6G/B,CAAA"}
|