shaders 3.0.452 → 3.0.453
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/{AngularBlur-BGPN-q7Q.js → AngularBlur-B0m-LKoD.js} +2 -2
- package/dist/core/{Arc-B3WUGG1Z.js → Arc-DhhcsMqr.js} +3 -3
- package/dist/core/{Ascii-MEJdXy2h.js → Ascii-BiFuRRQ1.js} +2 -2
- package/dist/core/{Aurora-BAafQuBz.js → Aurora-B35I8qRz.js} +4 -4
- package/dist/core/{BarShift-nVtvlHii.js → BarShift-C_waFkRO.js} +3 -3
- package/dist/core/{BarnDoors-D6E5jOl2.js → BarnDoors-Cnyfsla8.js} +2 -2
- package/dist/core/{Beam-D7IyWHAx.js → Beam-BPBmQMGD.js} +2 -2
- package/dist/core/{Bend-RtDgo8kD.js → Bend-Bq1Qlhq4.js} +2 -2
- package/dist/core/{Blob-DH-MnnS6.js → Blob-BtInePsq.js} +3 -3
- package/dist/core/{BlockDissolve-DIGuzCsR.js → BlockDissolve-i8V6gmZw.js} +3 -3
- package/dist/core/{BlockNoise-Drf4_hBO.js → BlockNoise-BfDNfyBP.js} +5 -5
- package/dist/core/{BlueNoise-CEwncn_5.js → BlueNoise-CNLIGPMW.js} +4 -4
- package/dist/core/{Blur-BbEw_oFx.js → Blur-B8NcZJdr.js} +3 -3
- package/dist/core/{Boids-D0-S7SI7.js → Boids-D51ZdvH0.js} +5 -5
- package/dist/core/{BokehBlur-CXBx5wog.js → BokehBlur-DO4V8nZ-.js} +4 -4
- package/dist/core/{BrickPattern-BKuDn_RF.js → BrickPattern-D21Nqxcj.js} +3 -3
- package/dist/core/{BrightnessContrast-ph33aPUw.js → BrightnessContrast-QxVeVMih.js} +1 -1
- package/dist/core/{BrushedMetal-CDtIZKcg.js → BrushedMetal-Xq4jMVz1.js} +142 -35
- package/dist/core/{Bulge-fgRLH3BN.js → Bulge-CdCqTfrp.js} +2 -2
- package/dist/core/{CRTScreen-CSRu7VZT.js → CRTScreen-D7WSk5fJ.js} +1 -1
- package/dist/core/{CarbonFiber-DXa8yomK.js → CarbonFiber-Dg-XleHg.js} +141 -34
- package/dist/core/{Chalkboard-UKLkHrLB.js → Chalkboard-B_YRavSR.js} +2 -2
- package/dist/core/{ChannelBlur-Bfl6C2nt.js → ChannelBlur-BmEILWdn.js} +2 -2
- package/dist/core/{CheckerWipe-DDUBzOJZ.js → CheckerWipe-Dbt7TTDK.js} +2 -2
- package/dist/core/{Checkerboard-CjRqLaQW.js → Checkerboard-BnWdSZLM.js} +2 -2
- package/dist/core/{Chevron-Bc0h2Rzv.js → Chevron-DsJK3THV.js} +3 -3
- package/dist/core/{ChromaFlow-wBzMJ-PA.js → ChromaFlow-Bj4rfeWl.js} +2 -2
- package/dist/core/{ChromaticAberration--78QtyKl.js → ChromaticAberration-C2UtSgN3.js} +2 -2
- package/dist/core/Chrome-CSrC5yk_.js +3692 -0
- package/dist/core/{Circle-sKqyx9pq.js → Circle-CJ4IbgBH.js} +3 -3
- package/dist/core/{ColorWheel-BLgkdEmc.js → ColorWheel-C_YLOL93.js} +3 -3
- package/dist/core/{CompressionArtifacts-C61W9yw2.js → CompressionArtifacts-BXto-pLr.js} +2 -2
- package/dist/core/{ConcentricSpin-BA-pPXA5.js → ConcentricSpin-1tArUXYX.js} +3 -3
- package/dist/core/{ConicGradient-DD2NOoA2.js → ConicGradient-Tw-pg593.js} +3 -3
- package/dist/core/{ContourLines-rxGkKb2q.js → ContourLines-CBFm0hjl.js} +2 -2
- package/dist/core/{CornerPin-CHkM91UE.js → CornerPin-BNgPHIHY.js} +2 -2
- package/dist/core/{Crescent-SDicMQui.js → Crescent-BKcpTzwd.js} +3 -3
- package/dist/core/{Cross-Bv1j7D12.js → Cross-CDUSIOgx.js} +3 -3
- package/dist/core/{Crystal-0oIYL_aS.js → Crystal-DN2WgBrm.js} +6 -6
- package/dist/core/{CurlNoise-BJCULaf9.js → CurlNoise-RsATuC8w.js} +5 -5
- package/dist/core/{CursorRipples-BLDfv2sS.js → CursorRipples-DbtJtDDl.js} +3 -3
- package/dist/core/{CursorTrail-ByRtE4T-.js → CursorTrail-yoPFtwk9.js} +4 -4
- package/dist/core/{DataMosh-zH8BS7dt.js → DataMosh-DabFQ-B5.js} +2 -2
- package/dist/core/{DiamondGradient-D6_jgke5.js → DiamondGradient-DbaUt2tC.js} +3 -3
- package/dist/core/{DiamondWipe-CeJJPxX6.js → DiamondWipe-Jth0vS7V.js} +2 -2
- package/dist/core/{DiffuseBlur-CPniI-42.js → DiffuseBlur-BZxj-iAt.js} +2 -2
- package/dist/core/{DisplacementMap-CCnnAPvB.js → DisplacementMap-31H7QPQl.js} +2 -2
- package/dist/core/{Dither-WIfj4N7O.js → Dither-BN-zSZ0l.js} +2 -2
- package/dist/core/{DotGrid-BhzPWYK4.js → DotGrid-BRDFAkBz.js} +3 -3
- package/dist/core/{DropShadow-D-YFgaHS.js → DropShadow-_lFvglPh.js} +2 -2
- package/dist/core/{Duotone-lXgv9Fip.js → Duotone-BhxXqh0S.js} +2 -2
- package/dist/core/{Ellipse-B1QfTjTA.js → Ellipse-NdZQjjl7.js} +3 -3
- package/dist/core/{Emboss-UmDoGSQF.js → Emboss--yOZdnyf.js} +5 -5
- package/dist/core/{Engraving-CN0OrgUo.js → Engraving-B26NgnCE.js} +3 -3
- package/dist/core/{ErosionNoise-Wu1fxJfJ.js → ErosionNoise-_uC5Hx2q.js} +4 -4
- package/dist/core/{Exposure-B5oEoUk-.js → Exposure-BM3eE3ol.js} +1 -1
- package/dist/core/{FallingLines-CsNVa3dc.js → FallingLines-BuczyepF.js} +3 -3
- package/dist/core/{FilmGrain-Br5EDq0B.js → FilmGrain-Dyy76ena.js} +1 -1
- package/dist/core/{FilmStock-BzaKrJRG.js → FilmStock-mi-H3Ul9.js} +3 -3
- package/dist/core/{Flip-HRnCpBGd.js → Flip-rZzkYscj.js} +2 -2
- package/dist/core/{FloatingParticles-DNGXQrHG.js → FloatingParticles-BbbTJldX.js} +5 -5
- package/dist/core/{FlowField-rJGiwKMI.js → FlowField-u0qYoqV2.js} +4 -4
- package/dist/core/{Flower-DGCyfNeJ.js → Flower--rN6c2HY.js} +3 -3
- package/dist/core/{FlowingGradient-CD6_NVZB.js → FlowingGradient-_zyM9KQn.js} +4 -4
- package/dist/core/{FlutedGlass-CrKD5b4k.js → FlutedGlass-C9-K6UQ7.js} +3 -3
- package/dist/core/{Fog-uK8ECyzk.js → Fog-2iNe3zZl.js} +3 -3
- package/dist/core/{Form3D-DQ7SxWFV.js → Form3D-Dmvpcqp1.js} +3 -3
- package/dist/core/{FractalNoise-DOU_jooR.js → FractalNoise-C8uudMNt.js} +5 -5
- package/dist/core/{Frost-BEnyt-CW.js → Frost-DV2zJSAL.js} +7 -7
- package/dist/core/{GaborNoise-CMt5270_.js → GaborNoise-Bty1hWmn.js} +5 -5
- package/dist/core/{Glass-CSJ1vRoj.js → Glass-CYmFGP1b.js} +6 -6
- package/dist/core/{GlassTiles-C3w1jqsb.js → GlassTiles-B3vyGos-.js} +1 -1
- package/dist/core/{Glitch-BxP1fWwQ.js → Glitch-DcjdwJep.js} +1 -1
- package/dist/core/{Glow-6yyCrCzW.js → Glow-D_nSsYo1.js} +3 -3
- package/dist/core/{Godrays-DsolPk6B.js → Godrays-lPn_O_W-.js} +3 -3
- package/dist/core/{Goo-Db0tOvqs.js → Goo-DxEB8kMF.js} +6 -6
- package/dist/core/{GradientMap-BfpgWnfm.js → GradientMap-7G6EOwy8.js} +2 -2
- package/dist/core/{Grayscale-DTrRYf14.js → Grayscale-BJz0olll.js} +1 -1
- package/dist/core/{Grid-COJiaxy5.js → Grid-D8ewrixy.js} +2 -2
- package/dist/core/{GridDistortion-Du7cRxX_.js → GridDistortion-CSBRousF.js} +3 -3
- package/dist/core/{Group-BKumfLn_.js → Group-BSg6a8Ro.js} +1 -1
- package/dist/core/{HTMLInCanvas-CtKAkjSy.js → HTMLInCanvas-DnQ0ZY38.js} +1 -1
- package/dist/core/{Halftone-CwWlH4Zi.js → Halftone-B2C55h6_.js} +2 -2
- package/dist/core/{Heart-C-BeqQH8.js → Heart-0eDZ50ZK.js} +3 -3
- package/dist/core/{Heatmap-D-61Tysu.js → Heatmap-BdExXQBU.js} +7 -7
- package/dist/core/{HexGrid-BxgXRDm3.js → HexGrid-B6UygS6q.js} +2 -2
- package/dist/core/{Hologram-DIgdhf5F.js → Hologram-D_eqqb8P.js} +7 -7
- package/dist/core/{Holographic-BNMw20mj.js → Holographic-Ctrsya3k.js} +7 -7
- package/dist/core/{HueShift-CiG-leUg.js → HueShift-CFXxhPpm.js} +1 -1
- package/dist/core/{ImageTexture-56vkFGyi.js → ImageTexture-B5oPuXeI.js} +3 -3
- package/dist/core/{InkFlow-DgS686Pl.js → InkFlow-C7l_qlaJ.js} +3 -3
- package/dist/core/{Invert-QtF0OVwG.js → Invert-Bya7lBpK.js} +1 -1
- package/dist/core/{IrisWipe-BEtEyvcI.js → IrisWipe-Dg9iiTjF.js} +2 -2
- package/dist/core/{IsometricCubes-C87okilH.js → IsometricCubes-CC-l8cnR.js} +2 -2
- package/dist/core/{Kaleidoscope-Ue2Atc25.js → Kaleidoscope-DhvQTJdp.js} +2 -2
- package/dist/core/{KeyFrames-Bb_6EmyV.js → KeyFrames-ZTsc7rtN.js} +3 -3
- package/dist/core/{LensDistortion-DxhU8nws.js → LensDistortion-KiZJXFKC.js} +2 -2
- package/dist/core/{LensFlare-YXo4zdAn.js → LensFlare-D5fr8RPA.js} +3 -3
- package/dist/core/{LightEdge-BzESg64B.js → LightEdge-D0NOWDh7.js} +7 -7
- package/dist/core/{LightLeak-BQKAeM6h.js → LightLeak-DdaidQ1D.js} +4 -4
- package/dist/core/Line-B5DIIWBz.js +1428 -0
- package/dist/core/{LinearBlur-DaAraWV3.js → LinearBlur-CyQxSLS2.js} +2 -2
- package/dist/core/{LinearGradient-CL5FnVfT.js → LinearGradient-B8tyawJy.js} +3 -3
- package/dist/core/{LinearWipe-xR6RSzjC.js → LinearWipe-D5UkI1cK.js} +2 -2
- package/dist/core/{LiquidMetal-BRhwukdo.js → LiquidMetal-vARkyRL2.js} +230 -41
- package/dist/core/{Liquify-p_Gz_FHr.js → Liquify-Djnk6ryT.js} +3 -3
- package/dist/core/{MagneticFilings-DOvxWL0a.js → MagneticFilings-BfTe8-Jn.js} +5 -5
- package/dist/core/{Marble-CkYRfCV8.js → Marble-3s7VS-tT.js} +4 -4
- package/dist/core/{Mirror-CxoKC1gR.js → Mirror-Ck4Hzdd8.js} +2 -2
- package/dist/core/{MultiPointGradient-B4qZwcHL.js → MultiPointGradient-CdzqMTN9.js} +2 -2
- package/dist/core/{Neon-C2QmSiyi.js → Neon-B8iSfL5s.js} +5 -5
- package/dist/core/{NoiseDissolve-DaNRO71N.js → NoiseDissolve-Df70NgHI.js} +3 -3
- package/dist/core/{ObjectTracker-e4hHSKMw.js → ObjectTracker-CFpotAyg.js} +3 -3
- package/dist/core/{PagePeel-DT6GI9mV.js → PagePeel-Bmc4hBhO.js} +1 -1
- package/dist/core/{Paper-QrPBpeei.js → Paper-af7JgKOt.js} +2 -2
- package/dist/core/{Parallelogram-C_WrJLLX.js → Parallelogram-D7bW1gMV.js} +3 -3
- package/dist/core/{ParticleField-B1nL_L7A.js → ParticleField-FPUBkJmo.js} +4 -4
- package/dist/core/{ParticleFlow-w2G9pdt5.js → ParticleFlow-DfdDvN-j.js} +5 -5
- package/dist/core/{Particles-BsxM8Kbc.js → Particles-DZaTzOZP.js} +7 -7
- package/dist/core/{PerlinNoise-DqZj-I8R.js → PerlinNoise-DPaPG55C.js} +5 -5
- package/dist/core/{Perspective-BzxylO20.js → Perspective-DBzb7DC9.js} +2 -2
- package/dist/core/{PixelSort-Dm2iMElk.js → PixelSort-sqoLBmqR.js} +2 -2
- package/dist/core/{PixelThrow-gRTKhK8X.js → PixelThrow-arRYRlCO.js} +2 -2
- package/dist/core/{Pixelate-B8ZnTAOo.js → Pixelate-Ba_iNPwv.js} +1 -1
- package/dist/core/{Plasma-BEub5fXm.js → Plasma-zC1y0At6.js} +4 -4
- package/dist/core/{Plastic-DMJ99k56.js → Plastic-C-NBXCG-.js} +7 -7
- package/dist/core/{PolarCoordinates-DOhGjR_6.js → PolarCoordinates-CjV_EFpN.js} +2 -2
- package/dist/core/{Polygon-D0hD4asI.js → Polygon-0kVtkdec.js} +3 -3
- package/dist/core/{Posterize-OvT-UsAO.js → Posterize-BUt2MAqY.js} +1 -1
- package/dist/core/{Prism-DYBxTA6Z.js → Prism-BBSdqnRm.js} +3 -3
- package/dist/core/{ProgressiveBlur-Da5uOM1i.js → ProgressiveBlur-CQhyaOwl.js} +4 -4
- package/dist/core/{RadialGradient-o_6P-7Dn.js → RadialGradient-BXLBHnCC.js} +3 -3
- package/dist/core/{RadialWipe-gmGpyKWI.js → RadialWipe-DfJ3dL7p.js} +2 -2
- package/dist/core/{RandomBars-CrDa3Bam.js → RandomBars-B-EaAz9c.js} +3 -3
- package/dist/core/{ReactionDiffusion-DWTCvJJu.js → ReactionDiffusion-r1qHYWoB.js} +3 -3
- package/dist/core/{RectangularCoordinates-PM_QP9Cg.js → RectangularCoordinates-CFGiELUv.js} +2 -2
- package/dist/core/{ReflectivePlane-BpXGIShc.js → ReflectivePlane-BbKUjtUs.js} +4 -4
- package/dist/core/{Repeater-CE4LJUbK.js → Repeater-DZhhgwMr.js} +2 -2
- package/dist/core/{Ring-DObEwgX4.js → Ring-DFxV0XzX.js} +3 -3
- package/dist/core/{RippleWipe-DQNw1oen.js → RippleWipe-DFh-8SmT.js} +2 -2
- package/dist/core/{Ripples-DKMqucX3.js → Ripples-BG24IcNH.js} +3 -3
- package/dist/core/{RoundedRect-CFd87T89.js → RoundedRect-B2EDoIqT.js} +3 -3
- package/dist/core/{Saturation-BA0cEqnb.js → Saturation-DKbtxVNf.js} +1 -1
- package/dist/core/{Scratches-CvOYMmEB.js → Scratches-C40D6A1_.js} +5 -5
- package/dist/core/{Sharpness-B25UDMka.js → Sharpness-DygCiVsY.js} +1 -1
- package/dist/core/{Shatter-BSaxWBf3.js → Shatter-eVP3Mt9W.js} +3 -3
- package/dist/core/{SimplexNoise-X8ctCpRm.js → SimplexNoise-HorjLzId.js} +5 -5
- package/dist/core/{SineWave-BZpbJLxE.js → SineWave-CTIhqhO-.js} +3 -3
- package/dist/core/{SliceWipe-CgUPHf9K.js → SliceWipe-D3yX3CAm.js} +1 -1
- package/dist/core/{Smoke-B7xEP6sH.js → Smoke-CFr-A3JD.js} +4 -4
- package/dist/core/{SmokeFill-B0nTuWPV.js → SmokeFill-DglhxF4x.js} +6 -6
- package/dist/core/{SmokeFlow-B0Li2heA.js → SmokeFlow-CC1tfLRh.js} +4 -4
- package/dist/core/{Solarize-BFDNOt5j.js → Solarize-wvgIpPSb.js} +1 -1
- package/dist/core/{SolidColor-dYxjV0YF.js → SolidColor-CQ9bQ-k6.js} +1 -1
- package/dist/core/{Spherize-B6SvuqQJ.js → Spherize-N33ACzeM.js} +2 -2
- package/dist/core/{Spiral-CPZP_vQa.js → Spiral-NeLWfZ6k.js} +3 -3
- package/dist/core/{Star-CcfONMfP.js → Star-DqkPHXlP.js} +3 -3
- package/dist/core/{Stone-4agvCnSU.js → Stone-mVzuC5SK.js} +2 -2
- package/dist/core/{Strands-CmapxVwQ.js → Strands-C19HsqO_.js} +3 -3
- package/dist/core/{Stretch-C1LWL_wK.js → Stretch-CAGlZjVf.js} +2 -2
- package/dist/core/{Stripes-EOLd6RRs.js → Stripes-DH9wZV3F.js} +3 -3
- package/dist/core/{StudioBackground-C7jsxhTF.js → StudioBackground-DPsj_N10.js} +2 -2
- package/dist/core/{SunBurst-CW8v2t1A.js → SunBurst-D5p0QAnh.js} +3 -3
- package/dist/core/{Surface3D-GduOaT4l.js → Surface3D-HSAAGomd.js} +4 -4
- package/dist/core/{Swirl-DOWMWPUy.js → Swirl-C1lH2gAk.js} +3 -3
- package/dist/core/{Teardrop-D4g6UQ84.js → Teardrop-b8XQR6NO.js} +3 -3
- package/dist/core/{Text-BcmS8Qpt.js → Text-DPjLa6Eh.js} +3 -3
- package/dist/core/{ThinFilm-CA62fdTo.js → ThinFilm-DhpK-SoR.js} +5 -5
- package/dist/core/{TiltShift-CYsneEnY.js → TiltShift-e57KIilk.js} +4 -4
- package/dist/core/{TimeTrail-UGRKixHj.js → TimeTrail-CYofyeeE.js} +3 -3
- package/dist/core/{Tint-DjGTug2D.js → Tint-DBM82OkZ.js} +2 -2
- package/dist/core/{Trapezoid-bgyR835g.js → Trapezoid-DaIBhsop.js} +3 -3
- package/dist/core/{TriangularGrid-CUSkwEhh.js → TriangularGrid-CBOVJOcR.js} +3 -3
- package/dist/core/{Tritone-0AbzRJ53.js → Tritone-D6Dur2eo.js} +2 -2
- package/dist/core/{Truchet-C3rl-XiI.js → Truchet-sunCQd_E.js} +2 -2
- package/dist/core/{Twirl-CPZBpUkY.js → Twirl-D3-3HSuS.js} +2 -2
- package/dist/core/{VHS-BIeq0vbY.js → VHS-DtyeGxi8.js} +1 -1
- package/dist/core/{VenetianBlinds-sWQYWM0-.js → VenetianBlinds-H8OVGxhT.js} +2 -2
- package/dist/core/{Vesica-CG1x-_aG.js → Vesica-C8MrL_up.js} +3 -3
- package/dist/core/{Vibrance-gTtCSaNa.js → Vibrance-B8gBhQS7.js} +1 -1
- package/dist/core/{VideoTexture-DqfCv_YE.js → VideoTexture--U8aiyP1.js} +2 -2
- package/dist/core/{Vignette-y7R3ujxN.js → Vignette-yIXlpfCE.js} +2 -2
- package/dist/core/{Voronoi--B90OaVd.js → Voronoi-BW4RE3MQ.js} +3 -3
- package/dist/core/{Water-BvymB3Av.js → Water-uLbQQrt-.js} +7 -7
- package/dist/core/{Watercolor-C7vDF39A.js → Watercolor-CcZ0fVEu.js} +3 -3
- package/dist/core/{WaveDistortion-DMfhW-zm.js → WaveDistortion-DasSsVxv.js} +3 -3
- package/dist/core/{WaveletNoise-CqnpQKOm.js → WaveletNoise-DpRWc5Qw.js} +5 -5
- package/dist/core/{Weave-CcYi9PzL.js → Weave-CLGYIcmf.js} +2 -2
- package/dist/core/{WebcamTexture-C_tF_65y.js → WebcamTexture--GTVU-Bm.js} +3 -3
- package/dist/core/{Wool-CpI-Xd6P.js → Wool-uy61uieK.js} +2 -2
- package/dist/core/{WorleyNoise-DqYFie3m.js → WorleyNoise-i7i0azT8.js} +3 -3
- package/dist/core/{ZoomBlur-CSFf3Q4x.js → ZoomBlur-OQP2jw3F.js} +2 -2
- package/dist/core/{agents-BuYW06Wk.js → agents-BVhq_Z2T.js} +1 -1
- package/dist/core/bevel-BGAb1fb2.js +121 -0
- package/dist/core/{blur-BAqURXkj.js → blur-cLcFzL4x.js} +2 -2
- package/dist/core/{compute-DYJOCqJI.js → compute-Ax-p6Ubc.js} +1 -1
- package/dist/core/{edges-Dm0I-Ud7.js → edges-B7Yet3LV.js} +1 -1
- package/dist/core/{glass-ClmiwTb0.js → glass-CNFJB2On.js} +1 -1
- package/dist/core/gpu/kit/effects/bevel.d.ts +5 -0
- package/dist/core/gpu/kit/effects/bevel.d.ts.map +1 -0
- package/dist/core/gpu/kit/effects/index.d.ts +1 -0
- package/dist/core/gpu/kit/effects/index.d.ts.map +1 -1
- package/dist/core/index.js +210 -207
- package/dist/core/{media-_wFh8vJm.js → media-Y-WxQcQD.js} +1 -1
- package/dist/core/{noise-C_ZfgxTN.js → noise-B-PI7JUx.js} +1 -1
- package/dist/core/{noiseColor-88y7I7KI.js → noiseColor-BQAO-Rjk.js} +2 -2
- package/dist/core/{noiseColor-Buljb-6r.js → noiseColor-Cgx-FS2o.js} +2 -2
- package/dist/core/{noiseStylize-7YW6DiP4.js → noiseStylize-BN5zji1E.js} +2 -2
- package/dist/core/{porters-DnWlc17D.js → porters-D_xmIPz2.js} +2 -2
- package/dist/core/registry.js +210 -207
- package/dist/core/{sdf-B5E-Vv1j.js → sdf-B8rPE1PG.js} +1 -1
- package/dist/core/shaderRegistry-DFRVhoj2.js +431 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/AngularBlur/index.js +5 -5
- package/dist/core/shaders/Arc/index.js +6 -6
- package/dist/core/shaders/Ascii/index.js +5 -5
- package/dist/core/shaders/Aurora/index.js +6 -6
- package/dist/core/shaders/BarShift/index.js +5 -5
- package/dist/core/shaders/BarnDoors/index.js +5 -5
- package/dist/core/shaders/Beam/index.js +5 -5
- package/dist/core/shaders/Bend/index.js +5 -5
- package/dist/core/shaders/Blob/index.js +5 -5
- package/dist/core/shaders/BlockDissolve/index.js +6 -6
- package/dist/core/shaders/BlockNoise/index.js +8 -8
- package/dist/core/shaders/BlueNoise/index.js +8 -8
- package/dist/core/shaders/Blur/index.js +6 -6
- package/dist/core/shaders/Boids/index.js +7 -7
- package/dist/core/shaders/BokehBlur/index.js +6 -6
- package/dist/core/shaders/BrickPattern/index.js +5 -5
- package/dist/core/shaders/BrightnessContrast/index.js +5 -5
- package/dist/core/shaders/BrushedMetal/index.d.ts +13 -1
- package/dist/core/shaders/BrushedMetal/index.d.ts.map +1 -1
- package/dist/core/shaders/BrushedMetal/index.js +10 -9
- package/dist/core/shaders/Bulge/index.js +5 -5
- package/dist/core/shaders/CRTScreen/index.js +5 -5
- package/dist/core/shaders/CarbonFiber/index.d.ts +13 -1
- package/dist/core/shaders/CarbonFiber/index.d.ts.map +1 -1
- package/dist/core/shaders/CarbonFiber/index.js +10 -9
- package/dist/core/shaders/Chalkboard/index.js +5 -5
- package/dist/core/shaders/ChannelBlur/index.js +6 -6
- package/dist/core/shaders/CheckerWipe/index.js +5 -5
- package/dist/core/shaders/Checkerboard/index.js +5 -5
- package/dist/core/shaders/Chevron/index.js +5 -5
- package/dist/core/shaders/ChromaFlow/index.js +5 -5
- package/dist/core/shaders/ChromaticAberration/index.js +5 -5
- package/dist/core/shaders/Chrome/index.d.ts +152 -0
- package/dist/core/shaders/Chrome/index.d.ts.map +1 -0
- package/dist/core/shaders/Chrome/index.js +14 -0
- package/dist/core/shaders/Circle/index.js +6 -6
- package/dist/core/shaders/ColorWheel/index.js +5 -5
- package/dist/core/shaders/CompressionArtifacts/index.js +5 -5
- package/dist/core/shaders/ConcentricSpin/index.js +5 -5
- package/dist/core/shaders/ConicGradient/index.js +5 -5
- package/dist/core/shaders/ContourLines/index.js +5 -5
- package/dist/core/shaders/CornerPin/index.js +5 -5
- package/dist/core/shaders/Crescent/index.js +6 -6
- package/dist/core/shaders/Cross/index.js +6 -6
- package/dist/core/shaders/Crystal/index.js +9 -9
- package/dist/core/shaders/CurlNoise/index.js +8 -8
- package/dist/core/shaders/CursorRipples/index.js +5 -5
- package/dist/core/shaders/CursorTrail/index.js +5 -5
- package/dist/core/shaders/DataMosh/index.js +5 -5
- package/dist/core/shaders/DiamondGradient/index.js +5 -5
- package/dist/core/shaders/DiamondWipe/index.js +5 -5
- package/dist/core/shaders/DiffuseBlur/index.js +5 -5
- package/dist/core/shaders/DisplacementMap/index.js +5 -5
- package/dist/core/shaders/Dither/index.js +5 -5
- package/dist/core/shaders/DotGrid/index.js +5 -5
- package/dist/core/shaders/DropShadow/index.js +5 -5
- package/dist/core/shaders/Duotone/index.js +5 -5
- package/dist/core/shaders/Ellipse/index.js +6 -6
- package/dist/core/shaders/Emboss/index.js +8 -8
- package/dist/core/shaders/Engraving/index.js +6 -6
- package/dist/core/shaders/ErosionNoise/index.js +8 -8
- package/dist/core/shaders/Exposure/index.js +5 -5
- package/dist/core/shaders/FallingLines/index.js +5 -5
- package/dist/core/shaders/FilmGrain/index.js +5 -5
- package/dist/core/shaders/FilmStock/index.js +6 -6
- package/dist/core/shaders/Flip/index.js +5 -5
- package/dist/core/shaders/FloatingParticles/index.js +7 -7
- package/dist/core/shaders/FlowField/index.js +6 -6
- package/dist/core/shaders/Flower/index.js +6 -6
- package/dist/core/shaders/FlowingGradient/index.js +6 -6
- package/dist/core/shaders/FlutedGlass/index.js +5 -5
- package/dist/core/shaders/Fog/index.js +5 -5
- package/dist/core/shaders/Form3D/index.js +5 -5
- package/dist/core/shaders/FractalNoise/index.js +7 -7
- package/dist/core/shaders/Frost/index.js +9 -9
- package/dist/core/shaders/GaborNoise/index.js +8 -8
- package/dist/core/shaders/Glass/index.js +9 -9
- package/dist/core/shaders/GlassTiles/index.js +5 -5
- package/dist/core/shaders/Glitch/index.js +5 -5
- package/dist/core/shaders/Glow/index.js +6 -6
- package/dist/core/shaders/Godrays/index.js +5 -5
- package/dist/core/shaders/Goo/index.js +8 -8
- package/dist/core/shaders/GradientMap/index.js +5 -5
- package/dist/core/shaders/Grayscale/index.js +5 -5
- package/dist/core/shaders/Grid/index.js +5 -5
- package/dist/core/shaders/GridDistortion/index.js +5 -5
- package/dist/core/shaders/Group/index.js +5 -5
- package/dist/core/shaders/HTMLInCanvas/index.js +5 -5
- package/dist/core/shaders/Halftone/index.js +5 -5
- package/dist/core/shaders/Heart/index.js +6 -6
- package/dist/core/shaders/Heatmap/index.js +9 -9
- package/dist/core/shaders/HexGrid/index.js +5 -5
- package/dist/core/shaders/Hologram/index.js +9 -9
- package/dist/core/shaders/Holographic/index.js +9 -9
- package/dist/core/shaders/HueShift/index.js +5 -5
- package/dist/core/shaders/ImageTexture/index.js +7 -7
- package/dist/core/shaders/InkFlow/index.js +5 -5
- package/dist/core/shaders/Invert/index.js +5 -5
- package/dist/core/shaders/IrisWipe/index.js +5 -5
- package/dist/core/shaders/IsometricCubes/index.js +5 -5
- package/dist/core/shaders/Kaleidoscope/index.js +5 -5
- package/dist/core/shaders/KeyFrames/index.js +5 -5
- package/dist/core/shaders/LensDistortion/index.js +5 -5
- package/dist/core/shaders/LensFlare/index.js +5 -5
- package/dist/core/shaders/LightEdge/index.js +9 -9
- package/dist/core/shaders/LightLeak/index.js +6 -6
- package/dist/core/shaders/Line/index.d.ts +72 -0
- package/dist/core/shaders/Line/index.d.ts.map +1 -0
- package/dist/core/shaders/Line/index.js +7 -0
- package/dist/core/shaders/LinearBlur/index.js +5 -5
- package/dist/core/shaders/LinearGradient/index.js +5 -5
- package/dist/core/shaders/LinearWipe/index.js +5 -5
- package/dist/core/shaders/LiquidMetal/index.d.ts +13 -1
- package/dist/core/shaders/LiquidMetal/index.d.ts.map +1 -1
- package/dist/core/shaders/LiquidMetal/index.js +10 -9
- package/dist/core/shaders/Liquify/index.js +5 -5
- package/dist/core/shaders/MagneticFilings/index.js +7 -7
- package/dist/core/shaders/Marble/index.js +6 -6
- package/dist/core/shaders/Mirror/index.js +5 -5
- package/dist/core/shaders/MultiPointGradient/index.js +5 -5
- package/dist/core/shaders/Neon/index.js +7 -7
- package/dist/core/shaders/NoiseDissolve/index.js +6 -6
- package/dist/core/shaders/ObjectTracker/index.js +6 -6
- package/dist/core/shaders/PagePeel/index.js +5 -5
- package/dist/core/shaders/Paper/index.js +6 -6
- package/dist/core/shaders/Parallelogram/index.js +6 -6
- package/dist/core/shaders/ParticleField/index.js +7 -7
- package/dist/core/shaders/ParticleFlow/index.js +7 -7
- package/dist/core/shaders/Particles/index.js +9 -9
- package/dist/core/shaders/PerlinNoise/index.js +8 -8
- package/dist/core/shaders/Perspective/index.js +5 -5
- package/dist/core/shaders/PixelSort/index.js +5 -5
- package/dist/core/shaders/PixelThrow/index.js +5 -5
- package/dist/core/shaders/Pixelate/index.js +5 -5
- package/dist/core/shaders/Plasma/index.js +6 -6
- package/dist/core/shaders/Plastic/index.js +9 -9
- package/dist/core/shaders/PolarCoordinates/index.js +5 -5
- package/dist/core/shaders/Polygon/index.js +6 -6
- package/dist/core/shaders/Posterize/index.js +5 -5
- package/dist/core/shaders/Prism/index.js +5 -5
- package/dist/core/shaders/ProgressiveBlur/index.js +6 -6
- package/dist/core/shaders/RadialGradient/index.js +5 -5
- package/dist/core/shaders/RadialWipe/index.js +5 -5
- package/dist/core/shaders/RandomBars/index.js +6 -6
- package/dist/core/shaders/ReactionDiffusion/index.js +5 -5
- package/dist/core/shaders/RectangularCoordinates/index.js +5 -5
- package/dist/core/shaders/ReflectivePlane/index.js +6 -6
- package/dist/core/shaders/Repeater/index.js +5 -5
- package/dist/core/shaders/Ring/index.js +6 -6
- package/dist/core/shaders/RippleWipe/index.js +5 -5
- package/dist/core/shaders/Ripples/index.js +5 -5
- package/dist/core/shaders/RoundedRect/index.js +6 -6
- package/dist/core/shaders/Saturation/index.js +5 -5
- package/dist/core/shaders/Scratches/index.js +8 -8
- package/dist/core/shaders/Sharpness/index.js +5 -5
- package/dist/core/shaders/Shatter/index.js +5 -5
- package/dist/core/shaders/SimplexNoise/index.js +7 -7
- package/dist/core/shaders/SineWave/index.js +5 -5
- package/dist/core/shaders/SliceWipe/index.js +5 -5
- package/dist/core/shaders/Smoke/index.js +5 -5
- package/dist/core/shaders/SmokeFill/index.js +8 -8
- package/dist/core/shaders/SmokeFlow/index.js +5 -5
- package/dist/core/shaders/Solarize/index.js +5 -5
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +5 -5
- package/dist/core/shaders/Spiral/index.js +5 -5
- package/dist/core/shaders/Star/index.js +6 -6
- package/dist/core/shaders/Stone/index.js +4 -4
- package/dist/core/shaders/Strands/index.js +5 -5
- package/dist/core/shaders/Stretch/index.js +5 -5
- package/dist/core/shaders/Stripes/index.js +5 -5
- package/dist/core/shaders/StudioBackground/index.js +5 -5
- package/dist/core/shaders/SunBurst/index.js +5 -5
- package/dist/core/shaders/Surface3D/index.js +6 -6
- package/dist/core/shaders/Swirl/index.js +5 -5
- package/dist/core/shaders/Teardrop/index.js +6 -6
- package/dist/core/shaders/Text/index.js +6 -6
- package/dist/core/shaders/ThinFilm/index.js +7 -7
- package/dist/core/shaders/TiltShift/index.js +6 -6
- package/dist/core/shaders/TimeTrail/index.js +5 -5
- package/dist/core/shaders/Tint/index.js +5 -5
- package/dist/core/shaders/Trapezoid/index.js +6 -6
- package/dist/core/shaders/TriangularGrid/index.js +5 -5
- package/dist/core/shaders/Tritone/index.js +5 -5
- package/dist/core/shaders/Truchet/index.js +5 -5
- package/dist/core/shaders/Twirl/index.js +5 -5
- package/dist/core/shaders/VHS/index.js +5 -5
- package/dist/core/shaders/VenetianBlinds/index.js +5 -5
- package/dist/core/shaders/Vesica/index.js +6 -6
- package/dist/core/shaders/Vibrance/index.js +5 -5
- package/dist/core/shaders/VideoTexture/index.js +6 -6
- package/dist/core/shaders/Vignette/index.js +5 -5
- package/dist/core/shaders/Voronoi/index.js +5 -5
- package/dist/core/shaders/Water/index.js +9 -9
- package/dist/core/shaders/Watercolor/index.js +6 -6
- package/dist/core/shaders/WaveDistortion/index.js +5 -5
- package/dist/core/shaders/WaveletNoise/index.js +8 -8
- package/dist/core/shaders/Weave/index.js +5 -5
- package/dist/core/shaders/WebcamTexture/index.js +7 -7
- package/dist/core/shaders/Wool/index.js +4 -4
- package/dist/core/shaders/WorleyNoise/index.js +5 -5
- package/dist/core/shaders/ZoomBlur/index.js +5 -5
- package/dist/core/{shapeEffectBounds-CjOvQ3n3.js → shapeEffectBounds-Svfd_R5a.js} +3 -3
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +88 -88
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +54 -0
- package/dist/react/Chrome.js +226 -0
- package/dist/react/Line.js +226 -0
- package/dist/react/Preview.js +2 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +75 -75
- package/dist/react/components/BrushedMetal.d.ts +3 -1
- package/dist/react/components/BrushedMetal.d.ts.map +1 -1
- package/dist/react/components/CarbonFiber.d.ts +3 -1
- package/dist/react/components/CarbonFiber.d.ts.map +1 -1
- package/dist/react/components/Chrome.d.ts +46 -0
- package/dist/react/components/Chrome.d.ts.map +1 -0
- package/dist/react/components/Line.d.ts +40 -0
- package/dist/react/components/Line.d.ts.map +1 -0
- package/dist/react/components/LiquidMetal.d.ts +3 -1
- package/dist/react/components/LiquidMetal.d.ts.map +1 -1
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +2 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +3 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +54 -0
- package/dist/registry.js +1260 -136
- package/dist/solid/components/BrushedMetal.d.ts +3 -1
- package/dist/solid/components/BrushedMetal.d.ts.map +1 -1
- package/dist/solid/components/CarbonFiber.d.ts +3 -1
- package/dist/solid/components/CarbonFiber.d.ts.map +1 -1
- package/dist/solid/components/Chrome.d.ts +43 -0
- package/dist/solid/components/Chrome.d.ts.map +1 -0
- package/dist/solid/components/Chrome.js +232 -0
- package/dist/solid/components/Line.d.ts +37 -0
- package/dist/solid/components/Line.d.ts.map +1 -0
- package/dist/solid/components/Line.js +232 -0
- package/dist/solid/components/LiquidMetal.d.ts +3 -1
- package/dist/solid/components/LiquidMetal.d.ts.map +1 -1
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +203 -199
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +2 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +333 -329
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +54 -0
- package/dist/svelte/components/BrushedMetal.svelte.d.ts +2 -0
- package/dist/svelte/components/CarbonFiber.svelte.d.ts +2 -0
- package/dist/svelte/components/Chrome.svelte.d.ts +33 -0
- package/dist/svelte/components/Line.svelte.d.ts +27 -0
- package/dist/svelte/components/LiquidMetal.svelte.d.ts +2 -0
- package/dist/svelte/index.d.ts +2 -0
- package/dist/svelte/index.js +2313 -1899
- package/dist/svelte/source/components/BrushedMetal.svelte +2 -0
- package/dist/svelte/source/components/CarbonFiber.svelte +2 -0
- package/dist/svelte/source/components/Chrome.svelte +357 -0
- package/dist/svelte/source/components/Line.svelte +351 -0
- package/dist/svelte/source/components/LiquidMetal.svelte +2 -0
- package/dist/svelte/source/engine/Preview.svelte +4 -0
- package/dist/svelte/source/index.js +2 -0
- package/dist/svelte/utils/generatePresetCode.js +54 -0
- package/dist/vue/BrushedMetal.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/CarbonFiber.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Chrome.js +3 -0
- package/dist/vue/Chrome.vue_vue_type_script_setup_true_lang.js +247 -0
- package/dist/vue/Line.js +3 -0
- package/dist/vue/Line.vue_vue_type_script_setup_true_lang.js +234 -0
- package/dist/vue/LiquidMetal.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +4 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/components/BrushedMetal.vue.d.ts +2 -0
- package/dist/vue/components/BrushedMetal.vue.d.ts.map +1 -1
- package/dist/vue/components/CarbonFiber.vue.d.ts +2 -0
- package/dist/vue/components/CarbonFiber.vue.d.ts.map +1 -1
- package/dist/vue/components/Chrome.vue.d.ts +68 -0
- package/dist/vue/components/Chrome.vue.d.ts.map +1 -0
- package/dist/vue/components/Line.vue.d.ts +62 -0
- package/dist/vue/components/Line.vue.d.ts.map +1 -0
- package/dist/vue/components/LiquidMetal.vue.d.ts +2 -0
- package/dist/vue/components/LiquidMetal.vue.d.ts.map +1 -1
- package/dist/vue/index.d.ts +2 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +3 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +54 -0
- package/package.json +17 -1
- package/dist/core/shaderRegistry-DwraFv9_.js +0 -427
- /package/dist/core/{fonts-DFuXI3Hk.js → fonts-DxVn9e-I.js} +0 -0
- /package/dist/core/{naturalSize-B679wTgN.js → naturalSize-BPCi_I-Z.js} +0 -0
- /package/dist/core/{transformations-CsPUHppB.js → transformations-C7gn_5rF.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../blur-
|
|
6
|
-
import "../../transformations-
|
|
7
|
-
import { a as intensityToRadius, i as componentDefinition, n as INTENSITY_TO_RADIUS, r as buildFillBlurMapGraph, t as Blur_default } from "../../Blur-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../blur-cLcFzL4x.js";
|
|
6
|
+
import "../../transformations-C7gn_5rF.js";
|
|
7
|
+
import { a as intensityToRadius, i as componentDefinition, n as INTENSITY_TO_RADIUS, r as buildFillBlurMapGraph, t as Blur_default } from "../../Blur-B8NcZJdr.js";
|
|
8
8
|
export { INTENSITY_TO_RADIUS, buildFillBlurMapGraph, componentDefinition, Blur_default as default, intensityToRadius };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../noise-
|
|
5
|
-
import "../../compute-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../noise-B-PI7JUx.js";
|
|
5
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
6
6
|
import "../../device-BODv_4aH.js";
|
|
7
|
-
import "../../agents-
|
|
8
|
-
import "../../transformations-
|
|
9
|
-
import { a as boidsUpdateKernel, c as makeBoidsSplatKernel, i as boidsSplatKernel, n as boidsInitKernel, o as componentDefinition, r as boidsResolveKernel, s as makeBoidsResolveKernel, t as Boids_default } from "../../Boids-
|
|
7
|
+
import "../../agents-BVhq_Z2T.js";
|
|
8
|
+
import "../../transformations-C7gn_5rF.js";
|
|
9
|
+
import { a as boidsUpdateKernel, c as makeBoidsSplatKernel, i as boidsSplatKernel, n as boidsInitKernel, o as componentDefinition, r as boidsResolveKernel, s as makeBoidsResolveKernel, t as Boids_default } from "../../Boids-D51ZdvH0.js";
|
|
10
10
|
export { boidsInitKernel, boidsResolveKernel, boidsSplatKernel, boidsUpdateKernel, componentDefinition, Boids_default as default, makeBoidsResolveKernel, makeBoidsSplatKernel };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../blur-
|
|
6
|
-
import "../../transformations-
|
|
7
|
-
import { a as bokehPolygonRadius, c as componentDefinition, i as TAP_COUNT, l as generateBokehTaps, n as BokehBlur_default, o as buildBokehGraph, r as RADIUS_SCALE, s as buildBokehMapGraph, t as BOKEH_SHAPES, u as radiusToPixels } from "../../BokehBlur-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../blur-cLcFzL4x.js";
|
|
6
|
+
import "../../transformations-C7gn_5rF.js";
|
|
7
|
+
import { a as bokehPolygonRadius, c as componentDefinition, i as TAP_COUNT, l as generateBokehTaps, n as BokehBlur_default, o as buildBokehGraph, r as RADIUS_SCALE, s as buildBokehMapGraph, t as BOKEH_SHAPES, u as radiusToPixels } from "../../BokehBlur-DO4V8nZ-.js";
|
|
8
8
|
export { BOKEH_SHAPES, RADIUS_SCALE, TAP_COUNT, bokehPolygonRadius, buildBokehGraph, buildBokehMapGraph, componentDefinition, BokehBlur_default as default, generateBokehTaps, radiusToPixels };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as brickField, r as componentDefinition, t as BrickPattern_default } from "../../BrickPattern-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as brickField, r as componentDefinition, t as BrickPattern_default } from "../../BrickPattern-D21Nqxcj.js";
|
|
7
7
|
export { brickField, componentDefinition, BrickPattern_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as brightnessContrastColor, r as componentDefinition, t as BrightnessContrast_default } from "../../BrightnessContrast-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as brightnessContrastColor, r as componentDefinition, t as BrightnessContrast_default } from "../../BrightnessContrast-QxVeVMih.js";
|
|
7
7
|
export { brightnessContrastColor, componentDefinition, BrightnessContrast_default as default };
|
|
@@ -4,7 +4,7 @@ import { transformPosition, transformColor } from '../../utilities/transformatio
|
|
|
4
4
|
import { BoundingBoxOrigin } from '../../types';
|
|
5
5
|
|
|
6
6
|
export declare const brushedStudio: import('typegpu').TgpuFn<(rx: d.F32, ry: d.F32, envC: d.F32, envS: d.F32, keyRad: d.F32, drift: d.F32, envStr: d.F32) => d.F32>;
|
|
7
|
-
export declare const brushedMetalComposite: import('typegpu').TgpuFn<(surf0: d.Vec4f, surfX: d.Vec4f, surfY: d.Vec4f, sdfUV: d.Vec2f, uv: d.Vec2f, viewportSize: d.Vec2f, lightColor: d.Vec3f, darkColor: d.Vec3f, p0: d.Vec4f, p1: d.Vec4f, p2: d.Vec4f) => d.Vec4f>;
|
|
7
|
+
export declare const brushedMetalComposite: import('typegpu').TgpuFn<(surf0: d.Vec4f, surfX: d.Vec4f, surfY: d.Vec4f, sdfUV: d.Vec2f, uv: d.Vec2f, viewportSize: d.Vec2f, lightColor: d.Vec3f, darkColor: d.Vec3f, p0: d.Vec4f, p1: d.Vec4f, p2: d.Vec4f, p3: d.Vec4f) => d.Vec4f>;
|
|
8
8
|
export interface ComponentProps {
|
|
9
9
|
/**
|
|
10
10
|
* Reference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
|
|
@@ -110,6 +110,18 @@ export interface ComponentProps {
|
|
|
110
110
|
* @default 0.4
|
|
111
111
|
*/
|
|
112
112
|
speed: number;
|
|
113
|
+
/**
|
|
114
|
+
* Width of the edge bevel, relative to the shape — thin for machined jewellery edges, wide for soft pillowed metal
|
|
115
|
+
*
|
|
116
|
+
* @default 0.05
|
|
117
|
+
*/
|
|
118
|
+
bevelWidth: number;
|
|
119
|
+
/**
|
|
120
|
+
* Bevel profile — 0 = one smooth round fillet, 1 = machined: a steep outer fillet, a chamfer plateau and an inner knee, each catching its own line of light
|
|
121
|
+
*
|
|
122
|
+
* @default 0
|
|
123
|
+
*/
|
|
124
|
+
bevelShape: number;
|
|
113
125
|
/**
|
|
114
126
|
* Softness of the shape boundary edge
|
|
115
127
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/BrushedMetal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAkC,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/BrushedMetal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAkC,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAwBtD,eAAO,MAAM,aAAa,iIAwBpB,CAAA;AAaN,eAAO,MAAM,qBAAqB,wOAsH5B,CAAA;AAIN,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAChD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA8KnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../noise-
|
|
5
|
-
import "../../compute-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../noise-B-PI7JUx.js";
|
|
5
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
6
6
|
import "../../dataEncoding-CEmpiitu.js";
|
|
7
|
-
import "../../sdf-
|
|
7
|
+
import "../../sdf-B8rPE1PG.js";
|
|
8
8
|
import "../../device-BODv_4aH.js";
|
|
9
|
-
import "../../shapeEffectBounds-
|
|
10
|
-
import "../../
|
|
11
|
-
import "../../
|
|
12
|
-
import
|
|
9
|
+
import "../../shapeEffectBounds-Svfd_R5a.js";
|
|
10
|
+
import "../../bevel-BGAb1fb2.js";
|
|
11
|
+
import "../../glass-CNFJB2On.js";
|
|
12
|
+
import "../../transformations-C7gn_5rF.js";
|
|
13
|
+
import { i as componentDefinition, n as brushedMetalComposite, r as brushedStudio, t as BrushedMetal_default } from "../../BrushedMetal-Xq4jMVz1.js";
|
|
13
14
|
export { brushedMetalComposite, brushedStudio, componentDefinition, BrushedMetal_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as bulgeUV, r as componentDefinition, t as Bulge_default } from "../../Bulge-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as bulgeUV, r as componentDefinition, t as Bulge_default } from "../../Bulge-CdCqTfrp.js";
|
|
7
7
|
export { bulgeUV, componentDefinition, Bulge_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { i as crtSampleUV, n as componentDefinition, r as crtCompose, t as CRTScreen_default } from "../../CRTScreen-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { i as crtSampleUV, n as componentDefinition, r as crtCompose, t as CRTScreen_default } from "../../CRTScreen-D7WSk5fJ.js";
|
|
7
7
|
export { componentDefinition, crtCompose, crtSampleUV, CRTScreen_default as default };
|
|
@@ -3,7 +3,7 @@ import { d } from '../../gpu/kit';
|
|
|
3
3
|
import { transformPosition, transformColor } from '../../utilities/transformations';
|
|
4
4
|
import { BoundingBoxOrigin } from '../../types';
|
|
5
5
|
|
|
6
|
-
export declare function buildCarbonFiberComposite(weaveStyle: string): import('typegpu').TgpuFn<(surf0: d.Vec4f, surfX: d.Vec4f, surfY: d.Vec4f, sdfUV: d.Vec2f, uv: d.Vec2f, viewportSize: d.Vec2f, lightColor: d.Vec3f, darkColor: d.Vec3f, p0: d.Vec4f, p1: d.Vec4f, p2: d.Vec4f) => d.Vec4f>;
|
|
6
|
+
export declare function buildCarbonFiberComposite(weaveStyle: string): import('typegpu').TgpuFn<(surf0: d.Vec4f, surfX: d.Vec4f, surfY: d.Vec4f, sdfUV: d.Vec2f, uv: d.Vec2f, viewportSize: d.Vec2f, lightColor: d.Vec3f, darkColor: d.Vec3f, p0: d.Vec4f, p1: d.Vec4f, p2: d.Vec4f, p3: d.Vec4f) => d.Vec4f>;
|
|
7
7
|
export interface ComponentProps {
|
|
8
8
|
/**
|
|
9
9
|
* Reference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
|
|
@@ -116,6 +116,18 @@ export interface ComponentProps {
|
|
|
116
116
|
* @default 215
|
|
117
117
|
*/
|
|
118
118
|
lightAngle: number;
|
|
119
|
+
/**
|
|
120
|
+
* Width of the edge bevel, relative to the shape — thin for machined jewellery edges, wide for soft pillowed metal
|
|
121
|
+
*
|
|
122
|
+
* @default 0.05
|
|
123
|
+
*/
|
|
124
|
+
bevelWidth: number;
|
|
125
|
+
/**
|
|
126
|
+
* Bevel profile — 0 = one smooth round fillet, 1 = machined: a steep outer fillet, a chamfer plateau and an inner knee, each catching its own line of light
|
|
127
|
+
*
|
|
128
|
+
* @default 0
|
|
129
|
+
*/
|
|
130
|
+
bevelShape: number;
|
|
119
131
|
/**
|
|
120
132
|
* Softness of the shape boundary edge
|
|
121
133
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CarbonFiber/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAkC,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/CarbonFiber/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAAkC,MAAM,mBAAmB,CAAA;AAC1E,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AA2BtD,wBAAgB,yBAAyB,CAAC,UAAU,EAAE,MAAM,0OA6J3D;AAID,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAChD,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CA2LnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../noise-
|
|
5
|
-
import "../../compute-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../noise-B-PI7JUx.js";
|
|
5
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
6
6
|
import "../../dataEncoding-CEmpiitu.js";
|
|
7
|
-
import "../../sdf-
|
|
7
|
+
import "../../sdf-B8rPE1PG.js";
|
|
8
8
|
import "../../device-BODv_4aH.js";
|
|
9
|
-
import "../../shapeEffectBounds-
|
|
10
|
-
import "../../
|
|
11
|
-
import "../../
|
|
12
|
-
import
|
|
9
|
+
import "../../shapeEffectBounds-Svfd_R5a.js";
|
|
10
|
+
import "../../bevel-BGAb1fb2.js";
|
|
11
|
+
import "../../glass-CNFJB2On.js";
|
|
12
|
+
import "../../transformations-C7gn_5rF.js";
|
|
13
|
+
import { n as buildCarbonFiberComposite, r as componentDefinition, t as CarbonFiber_default } from "../../CarbonFiber-Dg-XleHg.js";
|
|
13
14
|
export { buildCarbonFiberComposite, componentDefinition, CarbonFiber_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { i as componentDefinition, n as chalkOffsetUV, r as chalkboardCompose, t as Chalkboard_default } from "../../Chalkboard-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { i as componentDefinition, n as chalkOffsetUV, r as chalkboardCompose, t as Chalkboard_default } from "../../Chalkboard-B_YRavSR.js";
|
|
7
7
|
export { chalkOffsetUV, chalkboardCompose, componentDefinition, Chalkboard_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../blur-
|
|
6
|
-
import "../../transformations-
|
|
7
|
-
import { a as componentDefinition, i as channelIntensityToRadius, n as INTENSITY_TO_RADIUS, r as channelBlurCompose, t as ChannelBlur_default } from "../../ChannelBlur-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../blur-cLcFzL4x.js";
|
|
6
|
+
import "../../transformations-C7gn_5rF.js";
|
|
7
|
+
import { a as componentDefinition, i as channelIntensityToRadius, n as INTENSITY_TO_RADIUS, r as channelBlurCompose, t as ChannelBlur_default } from "../../ChannelBlur-BmEILWdn.js";
|
|
8
8
|
export { INTENSITY_TO_RADIUS, channelBlurCompose, channelIntensityToRadius, componentDefinition, ChannelBlur_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as checkerWipeMask, r as componentDefinition, t as CheckerWipe_default } from "../../CheckerWipe-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as checkerWipeMask, r as componentDefinition, t as CheckerWipe_default } from "../../CheckerWipe-Dbt7TTDK.js";
|
|
7
7
|
export { checkerWipeMask, componentDefinition, CheckerWipe_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { a as componentDefinition, i as checkerFilterValue, n as checkerBlend, r as checkerCoord, t as Checkerboard_default } from "../../Checkerboard-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { a as componentDefinition, i as checkerFilterValue, n as checkerBlend, r as checkerCoord, t as Checkerboard_default } from "../../Checkerboard-BnWdSZLM.js";
|
|
7
7
|
export { checkerBlend, checkerCoord, checkerFilterValue, componentDefinition, Checkerboard_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as chevronMask, r as componentDefinition, t as Chevron_default } from "../../Chevron-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as chevronMask, r as componentDefinition, t as Chevron_default } from "../../Chevron-DsJK3THV.js";
|
|
7
7
|
export { chevronMask, componentDefinition, Chevron_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
5
|
import "../../dataEncoding-CEmpiitu.js";
|
|
6
|
-
import "../../transformations-
|
|
7
|
-
import { i as componentDefinition, n as chromaFlowColor, r as chromaFlowTapUV, t as ChromaFlow_default } from "../../ChromaFlow-
|
|
6
|
+
import "../../transformations-C7gn_5rF.js";
|
|
7
|
+
import { i as componentDefinition, n as chromaFlowColor, r as chromaFlowTapUV, t as ChromaFlow_default } from "../../ChromaFlow-Bj4rfeWl.js";
|
|
8
8
|
export { chromaFlowColor, chromaFlowTapUV, componentDefinition, ChromaFlow_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as chromaticOffsetUV, r as componentDefinition, t as ChromaticAberration_default } from "../../ChromaticAberration
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as chromaticOffsetUV, r as componentDefinition, t as ChromaticAberration_default } from "../../ChromaticAberration-C2UtSgN3.js";
|
|
7
7
|
export { chromaticOffsetUV, componentDefinition, ChromaticAberration_default as default };
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { GpuShaderDefinition } from '../../gpu/porters';
|
|
2
|
+
import { d } from '../../gpu/kit';
|
|
3
|
+
import { transformPosition, transformColor } from '../../utilities/transformations';
|
|
4
|
+
import { BoundingBoxOrigin } from '../../types';
|
|
5
|
+
|
|
6
|
+
export declare const chromeStudio: import('typegpu').TgpuFn<(dir: d.Vec3f, boxSoftIn: d.F32, stripSoft: d.F32, spectral: d.F32, shadows: d.F32, warmC: d.Vec3f, coolC: d.Vec3f) => d.Vec3f>;
|
|
7
|
+
export declare const chromeComposite: import('typegpu').TgpuFn<(surf0: d.Vec4f, surfX: d.Vec4f, surfY: d.Vec4f, sdfUV: d.Vec2f, uv: d.Vec2f, viewportSize: d.Vec2f, tint: d.Vec3f, warmC: d.Vec3f, coolC: d.Vec3f, p0: d.Vec4f, p1: d.Vec4f, p2: d.Vec4f, p3: d.Vec4f) => d.Vec4f>;
|
|
8
|
+
export interface ComponentProps {
|
|
9
|
+
/**
|
|
10
|
+
* Reference edge the center position is measured from (center default). Lets you pin the shape relative to a corner or the canvas centre.
|
|
11
|
+
*
|
|
12
|
+
* @default "center"
|
|
13
|
+
*/
|
|
14
|
+
origin: BoundingBoxOrigin;
|
|
15
|
+
/**
|
|
16
|
+
* Center position of the chrome shape
|
|
17
|
+
*
|
|
18
|
+
* Accepts `{ x, y }` objects with values from 0 to 1, or CSS positions like `top center`.
|
|
19
|
+
* @default {"x":0.5,"y":0.5}
|
|
20
|
+
*/
|
|
21
|
+
center: Parameters<typeof transformPosition>[0];
|
|
22
|
+
/**
|
|
23
|
+
* Scale of the chrome shape (1 = default size)
|
|
24
|
+
*
|
|
25
|
+
* Accepts a number between 0.1 and 3.
|
|
26
|
+
* @default 1
|
|
27
|
+
*/
|
|
28
|
+
scale: number;
|
|
29
|
+
/**
|
|
30
|
+
* Rotation of the chrome shape in degrees
|
|
31
|
+
*
|
|
32
|
+
* Accepts a number between 0 and 360.
|
|
33
|
+
* @default 0
|
|
34
|
+
*/
|
|
35
|
+
rotation: number;
|
|
36
|
+
/**
|
|
37
|
+
* Metal tint multiplied into the reflection — white for silver chrome, warm ivory for gold, dusky rose for copper
|
|
38
|
+
*
|
|
39
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
40
|
+
* @default "#ffffff"
|
|
41
|
+
*/
|
|
42
|
+
tint: Parameters<typeof transformColor>[0];
|
|
43
|
+
/**
|
|
44
|
+
* Color of the warm strip light hugging the studio horizon — the amber band that fringes the reflections
|
|
45
|
+
*
|
|
46
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
47
|
+
* @default "#ffa94d"
|
|
48
|
+
*/
|
|
49
|
+
warmColor: Parameters<typeof transformColor>[0];
|
|
50
|
+
/**
|
|
51
|
+
* Color of the cool wash below the horizon — the steel-blue zone the darker reflections fall into
|
|
52
|
+
*
|
|
53
|
+
* Accepts hex strings (`#ff0000`), RGB objects (`{ r, g, b }`), or CSS color names (`limegreen`).
|
|
54
|
+
* @default "#82a7e6"
|
|
55
|
+
*/
|
|
56
|
+
coolColor: Parameters<typeof transformColor>[0];
|
|
57
|
+
/**
|
|
58
|
+
* Width of the polished edge bevel, relative to the shape — thin for machined jewellery edges, wide for soft pillowed metal
|
|
59
|
+
*
|
|
60
|
+
* @default 0.028
|
|
61
|
+
*/
|
|
62
|
+
bevelWidth: number;
|
|
63
|
+
/**
|
|
64
|
+
* Bevel profile — 0 = one smooth round fillet, 1 = machined: a steep outer fillet, a chamfer plateau and an inner knee, each catching its own line of light
|
|
65
|
+
*
|
|
66
|
+
* @default 0.55
|
|
67
|
+
*/
|
|
68
|
+
bevelShape: number;
|
|
69
|
+
/**
|
|
70
|
+
* Convex doming of the faces — sweeps the big soft studio gradients across otherwise flat metal
|
|
71
|
+
*
|
|
72
|
+
* @default 0.5
|
|
73
|
+
*/
|
|
74
|
+
curvature: number;
|
|
75
|
+
/**
|
|
76
|
+
* Pressed-metal imperfection — gently bends the face reflections and wobbles the bevel light lines so the surface reads as real
|
|
77
|
+
*
|
|
78
|
+
* @default 0.15
|
|
79
|
+
*/
|
|
80
|
+
waviness: number;
|
|
81
|
+
/**
|
|
82
|
+
* Exposure of the reflected studio — the overall brilliance of the chrome
|
|
83
|
+
*
|
|
84
|
+
* @default 1
|
|
85
|
+
*/
|
|
86
|
+
environment: number;
|
|
87
|
+
/**
|
|
88
|
+
* Rotates the whole reflected studio — spins where the softbox, flags and strips fall
|
|
89
|
+
*
|
|
90
|
+
* @default 0
|
|
91
|
+
*/
|
|
92
|
+
envRotation: number;
|
|
93
|
+
/**
|
|
94
|
+
* Softness of the studio edges — 0 = razor polished reflections, 1 = satin diffusion
|
|
95
|
+
*
|
|
96
|
+
* @default 0.3
|
|
97
|
+
*/
|
|
98
|
+
softness: number;
|
|
99
|
+
/**
|
|
100
|
+
* The coloured accent lights: an amber glow hugging the softbox edge and an ice-blue wash below it. 0 = a fully achromatic black-and-white studio.
|
|
101
|
+
*
|
|
102
|
+
* @default 0.9
|
|
103
|
+
*/
|
|
104
|
+
spectral: number;
|
|
105
|
+
/**
|
|
106
|
+
* Prismatic RGB splitting concentrated on the fast-curving bevel — thin rainbow micro-fringes along the edge highlights, distinct from the broad accent lights
|
|
107
|
+
*
|
|
108
|
+
* @default 0.3
|
|
109
|
+
*/
|
|
110
|
+
dispersion: number;
|
|
111
|
+
/**
|
|
112
|
+
* Depth of the dark studio reflections — how hard the black side flags and floor crush toward graphite. 0 lifts them to a soft gray studio.
|
|
113
|
+
*
|
|
114
|
+
* @default 0.7
|
|
115
|
+
*/
|
|
116
|
+
shadows: number;
|
|
117
|
+
/**
|
|
118
|
+
* Speed of the studio orbit — the whole lighting environment slowly wanders around the piece, sliding the reflections across faces and edges. 0 freezes it.
|
|
119
|
+
*
|
|
120
|
+
* Accepts a number between 0 and 4.
|
|
121
|
+
* @default 0.5
|
|
122
|
+
*/
|
|
123
|
+
speed: number;
|
|
124
|
+
/**
|
|
125
|
+
* Softness of the shape boundary edge
|
|
126
|
+
*
|
|
127
|
+
* Accepts a number between 0 and 1.
|
|
128
|
+
* @default 0.05
|
|
129
|
+
*/
|
|
130
|
+
edgeSoftness: number;
|
|
131
|
+
/**
|
|
132
|
+
* Serialized shape configuration (JSON)
|
|
133
|
+
*
|
|
134
|
+
* @default "DEFAULT_SHAPE_CONFIG"
|
|
135
|
+
*/
|
|
136
|
+
shape: string | Record<string, unknown>;
|
|
137
|
+
/**
|
|
138
|
+
* URL to a pre-generated SDF .bin file
|
|
139
|
+
*
|
|
140
|
+
* @default ""
|
|
141
|
+
*/
|
|
142
|
+
shapeSdfUrl: string;
|
|
143
|
+
/**
|
|
144
|
+
* Active SDF shape type
|
|
145
|
+
*
|
|
146
|
+
* @default ""
|
|
147
|
+
*/
|
|
148
|
+
shapeType: string;
|
|
149
|
+
}
|
|
150
|
+
export declare const componentDefinition: GpuShaderDefinition<ComponentProps>;
|
|
151
|
+
export default componentDefinition;
|
|
152
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shaders/Chrome/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAsC,MAAM,uBAAuB,CAAA;AAEnG,OAAO,EAAO,CAAC,EAA2C,MAAM,mBAAmB,CAAA;AACnF,OAAO,EAAC,iBAAiB,EAAE,cAAc,EAAC,MAAM,qCAAqC,CAAA;AAErF,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAA;AAyBtD,eAAO,MAAM,YAAY,0JAiEnB,CAAA;AAgBN,eAAO,MAAM,eAAe,8OAwItB,CAAA;AAIN,MAAM,WAAW,cAAc;IAC3B,MAAM,EAAE,iBAAiB,CAAA;IACzB,MAAM,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC1C,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,SAAS,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAC/C,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,mBAAmB,CAAC,cAAc,CAyLnE,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
|
+
import "../../support-6QRFK3xB.js";
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../noise-B-PI7JUx.js";
|
|
5
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
6
|
+
import "../../dataEncoding-CEmpiitu.js";
|
|
7
|
+
import "../../sdf-B8rPE1PG.js";
|
|
8
|
+
import "../../device-BODv_4aH.js";
|
|
9
|
+
import "../../shapeEffectBounds-Svfd_R5a.js";
|
|
10
|
+
import "../../bevel-BGAb1fb2.js";
|
|
11
|
+
import "../../glass-CNFJB2On.js";
|
|
12
|
+
import "../../transformations-C7gn_5rF.js";
|
|
13
|
+
import { i as componentDefinition, n as chromeComposite, r as chromeStudio, t as Chrome_default } from "../../Chrome-CSrC5yk_.js";
|
|
14
|
+
export { chromeComposite, chromeStudio, componentDefinition, Chrome_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
5
|
import "../../dataEncoding-CEmpiitu.js";
|
|
6
|
-
import "../../sdf-
|
|
7
|
-
import "../../transformations-
|
|
8
|
-
import { n as circleShape, r as componentDefinition, t as Circle_default } from "../../Circle-
|
|
6
|
+
import "../../sdf-B8rPE1PG.js";
|
|
7
|
+
import "../../transformations-C7gn_5rF.js";
|
|
8
|
+
import { n as circleShape, r as componentDefinition, t as Circle_default } from "../../Circle-CJ4IbgBH.js";
|
|
9
9
|
export { circleShape, componentDefinition, Circle_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { a as colorWheelT, i as colorWheelSelect, n as colorWheelPhase, o as componentDefinition, r as colorWheelRainbow, t as ColorWheel_default } from "../../ColorWheel-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { a as colorWheelT, i as colorWheelSelect, n as colorWheelPhase, o as componentDefinition, r as colorWheelRainbow, t as ColorWheel_default } from "../../ColorWheel-C_YLOL93.js";
|
|
7
7
|
export { colorWheelPhase, colorWheelRainbow, colorWheelSelect, colorWheelT, componentDefinition, ColorWheel_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { a as jpegBlockRgb, i as compressionCellUV, n as buildCompressionGraph, r as componentDefinition, t as CompressionArtifacts_default } from "../../CompressionArtifacts-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { a as jpegBlockRgb, i as compressionCellUV, n as buildCompressionGraph, r as componentDefinition, t as CompressionArtifacts_default } from "../../CompressionArtifacts-BXto-pLr.js";
|
|
7
7
|
export { buildCompressionGraph, componentDefinition, compressionCellUV, CompressionArtifacts_default as default, jpegBlockRgb };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { a as csRotateUV, i as csHash, n as componentDefinition, r as concentricSpinUV, t as ConcentricSpin_default } from "../../ConcentricSpin-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { a as csRotateUV, i as csHash, n as componentDefinition, r as concentricSpinUV, t as ConcentricSpin_default } from "../../ConcentricSpin-1tArUXYX.js";
|
|
7
7
|
export { componentDefinition, concentricSpinUV, csHash, csRotateUV, ConcentricSpin_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { n as componentDefinition, r as conicFinalT, t as ConicGradient_default } from "../../ConicGradient-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { n as componentDefinition, r as conicFinalT, t as ConicGradient_default } from "../../ConicGradient-Tw-pg593.js";
|
|
7
7
|
export { componentDefinition, conicFinalT, ConicGradient_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { a as contourLuma, i as contourLineMask, n as componentDefinition, r as contourCompose, t as ContourLines_default } from "../../ContourLines-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { a as contourLuma, i as contourLineMask, n as componentDefinition, r as contourCompose, t as ContourLines_default } from "../../ContourLines-CBFm0hjl.js";
|
|
7
7
|
export { componentDefinition, contourCompose, contourLineMask, contourLuma, ContourLines_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "../../edges-
|
|
1
|
+
import "../../edges-B7Yet3LV.js";
|
|
2
2
|
import "../../support-6QRFK3xB.js";
|
|
3
|
-
import "../../porters-
|
|
4
|
-
import "../../compute-
|
|
5
|
-
import "../../transformations-
|
|
6
|
-
import { a as cornerPinSafeDiv, c as cornerSideOf, i as cornerInsideTri, n as componentDefinition, o as cornerPinSample, r as cornerConvexify, s as cornerProjectToDiagonal, t as CornerPin_default } from "../../CornerPin-
|
|
3
|
+
import "../../porters-D_xmIPz2.js";
|
|
4
|
+
import "../../compute-Ax-p6Ubc.js";
|
|
5
|
+
import "../../transformations-C7gn_5rF.js";
|
|
6
|
+
import { a as cornerPinSafeDiv, c as cornerSideOf, i as cornerInsideTri, n as componentDefinition, o as cornerPinSample, r as cornerConvexify, s as cornerProjectToDiagonal, t as CornerPin_default } from "../../CornerPin-BNgPHIHY.js";
|
|
7
7
|
export { componentDefinition, cornerConvexify, cornerInsideTri, cornerPinSafeDiv, cornerPinSample, cornerProjectToDiagonal, cornerSideOf, CornerPin_default as default };
|