@3driseai/3drise-viewer 0.1.1
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/components/AnimatedObject.d.ts +22 -0
- package/dist/components/AnimatedObject.d.ts.map +1 -0
- package/dist/components/AnimatedObject.js +65 -0
- package/dist/components/Bubbles.d.ts +9 -0
- package/dist/components/Bubbles.d.ts.map +1 -0
- package/dist/components/Bubbles.js +105 -0
- package/dist/components/CameraController.d.ts +10 -0
- package/dist/components/CameraController.d.ts.map +1 -0
- package/dist/components/CameraController.js +158 -0
- package/dist/components/Clouds.d.ts +9 -0
- package/dist/components/Clouds.d.ts.map +1 -0
- package/dist/components/Clouds.js +278 -0
- package/dist/components/Corona.d.ts +18 -0
- package/dist/components/Corona.d.ts.map +1 -0
- package/dist/components/Corona.js +12 -0
- package/dist/components/CreatedObject.d.ts +14 -0
- package/dist/components/CreatedObject.d.ts.map +1 -0
- package/dist/components/CreatedObject.js +103 -0
- package/dist/components/CustomPrimitive.d.ts +12 -0
- package/dist/components/CustomPrimitive.d.ts.map +1 -0
- package/dist/components/CustomPrimitive.js +87 -0
- package/dist/components/Earth.d.ts +8 -0
- package/dist/components/Earth.d.ts.map +1 -0
- package/dist/components/Earth.js +38 -0
- package/dist/components/EffectsGenerator.d.ts +10 -0
- package/dist/components/EffectsGenerator.d.ts.map +1 -0
- package/dist/components/EffectsGenerator.js +71 -0
- package/dist/components/EffectsGroup.d.ts +8 -0
- package/dist/components/EffectsGroup.d.ts.map +1 -0
- package/dist/components/EffectsGroup.js +11 -0
- package/dist/components/EnvironmentManager.d.ts +9 -0
- package/dist/components/EnvironmentManager.d.ts.map +1 -0
- package/dist/components/EnvironmentManager.js +74 -0
- package/dist/components/EnvironmentObject.d.ts +8 -0
- package/dist/components/EnvironmentObject.d.ts.map +1 -0
- package/dist/components/EnvironmentObject.js +14 -0
- package/dist/components/Flares.d.ts +24 -0
- package/dist/components/Flares.d.ts.map +1 -0
- package/dist/components/Flares.js +134 -0
- package/dist/components/Frame.d.ts +23 -0
- package/dist/components/Frame.d.ts.map +1 -0
- package/dist/components/Frame.js +55 -0
- package/dist/components/FrameGeometry.d.ts +10 -0
- package/dist/components/FrameGeometry.d.ts.map +1 -0
- package/dist/components/FrameGeometry.js +17 -0
- package/dist/components/FrameImage.d.ts +2 -0
- package/dist/components/FrameImage.d.ts.map +1 -0
- package/dist/components/FrameImage.js +15 -0
- package/dist/components/Galaxy.d.ts +10 -0
- package/dist/components/Galaxy.d.ts.map +1 -0
- package/dist/components/Galaxy.js +29 -0
- package/dist/components/GalleryLayout.d.ts +12 -0
- package/dist/components/GalleryLayout.d.ts.map +1 -0
- package/dist/components/GalleryLayout.js +20 -0
- package/dist/components/GeometryShape.d.ts +54 -0
- package/dist/components/GeometryShape.d.ts.map +1 -0
- package/dist/components/GeometryShape.js +318 -0
- package/dist/components/Glyphs.d.ts +9 -0
- package/dist/components/Glyphs.d.ts.map +1 -0
- package/dist/components/Glyphs.js +58 -0
- package/dist/components/GridHelper.d.ts +23 -0
- package/dist/components/GridHelper.d.ts.map +1 -0
- package/dist/components/GridHelper.js +36 -0
- package/dist/components/GridsGenerator.d.ts +10 -0
- package/dist/components/GridsGenerator.d.ts.map +1 -0
- package/dist/components/GridsGenerator.js +14 -0
- package/dist/components/HdrPlaylistRenderer.d.ts +10 -0
- package/dist/components/HdrPlaylistRenderer.d.ts.map +1 -0
- package/dist/components/HdrPlaylistRenderer.js +364 -0
- package/dist/components/ImageGeometry.d.ts +13 -0
- package/dist/components/ImageGeometry.d.ts.map +1 -0
- package/dist/components/ImageGeometry.js +62 -0
- package/dist/components/Lensflare.d.ts +12 -0
- package/dist/components/Lensflare.d.ts.map +1 -0
- package/dist/components/Lensflare.js +66 -0
- package/dist/components/Letter.d.ts +19 -0
- package/dist/components/Letter.d.ts.map +1 -0
- package/dist/components/Letter.js +83 -0
- package/dist/components/Letters.d.ts +16 -0
- package/dist/components/Letters.d.ts.map +1 -0
- package/dist/components/Letters.js +18 -0
- package/dist/components/LightObject.d.ts +8 -0
- package/dist/components/LightObject.d.ts.map +1 -0
- package/dist/components/LightObject.js +65 -0
- package/dist/components/LightsManager.d.ts +8 -0
- package/dist/components/LightsManager.d.ts.map +1 -0
- package/dist/components/LightsManager.js +104 -0
- package/dist/components/Lines.d.ts +9 -0
- package/dist/components/Lines.d.ts.map +1 -0
- package/dist/components/Lines.js +19 -0
- package/dist/components/LoadingIndicator.d.ts +10 -0
- package/dist/components/LoadingIndicator.d.ts.map +1 -0
- package/dist/components/LoadingIndicator.js +6 -0
- package/dist/components/MaterialLibrary.d.ts +9 -0
- package/dist/components/MaterialLibrary.d.ts.map +1 -0
- package/dist/components/MaterialLibrary.js +57 -0
- package/dist/components/Moon.d.ts +13 -0
- package/dist/components/Moon.d.ts.map +1 -0
- package/dist/components/Moon.js +66 -0
- package/dist/components/MyGrid.d.ts +15 -0
- package/dist/components/MyGrid.d.ts.map +1 -0
- package/dist/components/MyGrid.js +72 -0
- package/dist/components/ObjectNode.d.ts +13 -0
- package/dist/components/ObjectNode.d.ts.map +1 -0
- package/dist/components/ObjectNode.js +139 -0
- package/dist/components/ObjectNodeApi.d.ts +13 -0
- package/dist/components/ObjectNodeApi.d.ts.map +1 -0
- package/dist/components/ObjectNodeApi.js +18 -0
- package/dist/components/ObjectsRenderer.d.ts +15 -0
- package/dist/components/ObjectsRenderer.d.ts.map +1 -0
- package/dist/components/ObjectsRenderer.js +40 -0
- package/dist/components/ObjectsRendererApi.d.ts +31 -0
- package/dist/components/ObjectsRendererApi.d.ts.map +1 -0
- package/dist/components/ObjectsRendererApi.js +76 -0
- package/dist/components/Ocean.d.ts +8 -0
- package/dist/components/Ocean.d.ts.map +1 -0
- package/dist/components/Ocean.js +169 -0
- package/dist/components/Outline.d.ts +21 -0
- package/dist/components/Outline.d.ts.map +1 -0
- package/dist/components/Outline.js +14 -0
- package/dist/components/ParticlesR3f.d.ts +11 -0
- package/dist/components/ParticlesR3f.d.ts.map +1 -0
- package/dist/components/ParticlesR3f.js +110 -0
- package/dist/components/Path.d.ts +13 -0
- package/dist/components/Path.d.ts.map +1 -0
- package/dist/components/Path.js +41 -0
- package/dist/components/PathGeometry.d.ts +11 -0
- package/dist/components/PathGeometry.d.ts.map +1 -0
- package/dist/components/PathGeometry.js +109 -0
- package/dist/components/PathRenderer.d.ts +12 -0
- package/dist/components/PathRenderer.d.ts.map +1 -0
- package/dist/components/PathRenderer.js +36 -0
- package/dist/components/Planet.d.ts +16 -0
- package/dist/components/Planet.d.ts.map +1 -0
- package/dist/components/Planet.js +60 -0
- package/dist/components/PointCloud.d.ts +10 -0
- package/dist/components/PointCloud.d.ts.map +1 -0
- package/dist/components/PointCloud.js +113 -0
- package/dist/components/ProductionScene.d.ts +5 -0
- package/dist/components/ProductionScene.d.ts.map +1 -0
- package/dist/components/ProductionScene.js +7 -0
- package/dist/components/ProjectLoader.d.ts +16 -0
- package/dist/components/ProjectLoader.d.ts.map +1 -0
- package/dist/components/ProjectLoader.js +85 -0
- package/dist/components/Rain.d.ts +8 -0
- package/dist/components/Rain.d.ts.map +1 -0
- package/dist/components/Rain.js +259 -0
- package/dist/components/RiseLogo.d.ts +19 -0
- package/dist/components/RiseLogo.d.ts.map +1 -0
- package/dist/components/RiseLogo.js +75 -0
- package/dist/components/SceneBuilder.d.ts +5 -0
- package/dist/components/SceneBuilder.d.ts.map +1 -0
- package/dist/components/SceneBuilder.js +133 -0
- package/dist/components/SceneFog.d.ts +8 -0
- package/dist/components/SceneFog.d.ts.map +1 -0
- package/dist/components/SceneFog.js +19 -0
- package/dist/components/Shape.d.ts +5 -0
- package/dist/components/Shape.d.ts.map +1 -0
- package/dist/components/Shape.js +11 -0
- package/dist/components/ShootingStar.d.ts +16 -0
- package/dist/components/ShootingStar.d.ts.map +1 -0
- package/dist/components/ShootingStar.js +92 -0
- package/dist/components/ShootingStars.d.ts +8 -0
- package/dist/components/ShootingStars.d.ts.map +1 -0
- package/dist/components/ShootingStars.js +41 -0
- package/dist/components/SkyController.d.ts +10 -0
- package/dist/components/SkyController.d.ts.map +1 -0
- package/dist/components/SkyController.js +208 -0
- package/dist/components/SkyMesh.d.ts +10 -0
- package/dist/components/SkyMesh.d.ts.map +1 -0
- package/dist/components/SkyMesh.js +36 -0
- package/dist/components/SkySystem.d.ts +32 -0
- package/dist/components/SkySystem.d.ts.map +1 -0
- package/dist/components/SkySystem.js +46 -0
- package/dist/components/Skybox.d.ts +12 -0
- package/dist/components/Skybox.d.ts.map +1 -0
- package/dist/components/Skybox.js +92 -0
- package/dist/components/SolarSystem.d.ts +8 -0
- package/dist/components/SolarSystem.d.ts.map +1 -0
- package/dist/components/SolarSystem.js +77 -0
- package/dist/components/SparklesBurst.d.ts +9 -0
- package/dist/components/SparklesBurst.d.ts.map +1 -0
- package/dist/components/SparklesBurst.js +62 -0
- package/dist/components/Stars.d.ts +15 -0
- package/dist/components/Stars.d.ts.map +1 -0
- package/dist/components/Stars.js +250 -0
- package/dist/components/Sun.d.ts +15 -0
- package/dist/components/Sun.d.ts.map +1 -0
- package/dist/components/Sun.js +7 -0
- package/dist/components/SunCore.d.ts +18 -0
- package/dist/components/SunCore.d.ts.map +1 -0
- package/dist/components/SunCore.js +14 -0
- package/dist/components/SunLight.d.ts +15 -0
- package/dist/components/SunLight.d.ts.map +1 -0
- package/dist/components/SunLight.js +57 -0
- package/dist/components/Text2D.d.ts +9 -0
- package/dist/components/Text2D.d.ts.map +1 -0
- package/dist/components/Text2D.js +56 -0
- package/dist/components/Text3D.d.ts +10 -0
- package/dist/components/Text3D.d.ts.map +1 -0
- package/dist/components/Text3D.js +8 -0
- package/dist/components/VolumePoints.d.ts +19 -0
- package/dist/components/VolumePoints.d.ts.map +1 -0
- package/dist/components/VolumePoints.js +8 -0
- package/dist/components/cursor/AuraCursor.d.ts +6 -0
- package/dist/components/cursor/AuraCursor.d.ts.map +1 -0
- package/dist/components/cursor/AuraCursor.js +30 -0
- package/dist/components/cursor/AuroraCursor.d.ts +6 -0
- package/dist/components/cursor/AuroraCursor.d.ts.map +1 -0
- package/dist/components/cursor/AuroraCursor.js +207 -0
- package/dist/components/cursor/BubblesCursor.d.ts +6 -0
- package/dist/components/cursor/BubblesCursor.d.ts.map +1 -0
- package/dist/components/cursor/BubblesCursor.js +184 -0
- package/dist/components/cursor/CometCursor.d.ts +6 -0
- package/dist/components/cursor/CometCursor.d.ts.map +1 -0
- package/dist/components/cursor/CometCursor.js +191 -0
- package/dist/components/cursor/CrosshairCursor.d.ts +6 -0
- package/dist/components/cursor/CrosshairCursor.d.ts.map +1 -0
- package/dist/components/cursor/CrosshairCursor.js +142 -0
- package/dist/components/cursor/CursorActions.d.ts +8 -0
- package/dist/components/cursor/CursorActions.d.ts.map +1 -0
- package/dist/components/cursor/CursorActions.js +124 -0
- package/dist/components/cursor/CursorController.d.ts +10 -0
- package/dist/components/cursor/CursorController.d.ts.map +1 -0
- package/dist/components/cursor/CursorController.js +5 -0
- package/dist/components/cursor/CursorEffects.d.ts +16 -0
- package/dist/components/cursor/CursorEffects.d.ts.map +1 -0
- package/dist/components/cursor/CursorEffects.js +110 -0
- package/dist/components/cursor/FerrofluidCursor.d.ts +6 -0
- package/dist/components/cursor/FerrofluidCursor.d.ts.map +1 -0
- package/dist/components/cursor/FerrofluidCursor.js +102 -0
- package/dist/components/cursor/GlyphRingCursor.d.ts +6 -0
- package/dist/components/cursor/GlyphRingCursor.d.ts.map +1 -0
- package/dist/components/cursor/GlyphRingCursor.js +123 -0
- package/dist/components/cursor/LightningCursor.d.ts +6 -0
- package/dist/components/cursor/LightningCursor.d.ts.map +1 -0
- package/dist/components/cursor/LightningCursor.js +28 -0
- package/dist/components/cursor/LiquidMetalCursor.d.ts +6 -0
- package/dist/components/cursor/LiquidMetalCursor.d.ts.map +1 -0
- package/dist/components/cursor/LiquidMetalCursor.js +61 -0
- package/dist/components/cursor/OrbCursor.d.ts +6 -0
- package/dist/components/cursor/OrbCursor.d.ts.map +1 -0
- package/dist/components/cursor/OrbCursor.js +32 -0
- package/dist/components/cursor/PlasmaWhipCursor.d.ts +6 -0
- package/dist/components/cursor/PlasmaWhipCursor.d.ts.map +1 -0
- package/dist/components/cursor/PlasmaWhipCursor.js +134 -0
- package/dist/components/cursor/SparklesCursor.d.ts +6 -0
- package/dist/components/cursor/SparklesCursor.d.ts.map +1 -0
- package/dist/components/cursor/SparklesCursor.js +151 -0
- package/dist/components/cursor/TeslaCursor.d.ts +6 -0
- package/dist/components/cursor/TeslaCursor.d.ts.map +1 -0
- package/dist/components/cursor/TeslaCursor.js +223 -0
- package/dist/components/cursor/clickActions/BoltFlashAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/BoltFlashAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/BoltFlashAction.js +62 -0
- package/dist/components/cursor/clickActions/GlyphInscriptionAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/GlyphInscriptionAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/GlyphInscriptionAction.js +114 -0
- package/dist/components/cursor/clickActions/ImplosionAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/ImplosionAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/ImplosionAction.js +93 -0
- package/dist/components/cursor/clickActions/PhaseShiftAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/PhaseShiftAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/PhaseShiftAction.js +71 -0
- package/dist/components/cursor/clickActions/PlasmaBombAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/PlasmaBombAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/PlasmaBombAction.js +98 -0
- package/dist/components/cursor/clickActions/RealityTearAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/RealityTearAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/RealityTearAction.js +92 -0
- package/dist/components/cursor/clickActions/ShockwaveAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/ShockwaveAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/ShockwaveAction.js +55 -0
- package/dist/components/cursor/clickActions/SparklesBurstAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/SparklesBurstAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/SparklesBurstAction.js +99 -0
- package/dist/components/cursor/clickActions/VoronoiFractureAction.d.ts +11 -0
- package/dist/components/cursor/clickActions/VoronoiFractureAction.d.ts.map +1 -0
- package/dist/components/cursor/clickActions/VoronoiFractureAction.js +149 -0
- package/dist/components/effects/AuraEffect.d.ts +10 -0
- package/dist/components/effects/AuraEffect.d.ts.map +1 -0
- package/dist/components/effects/AuraEffect.js +127 -0
- package/dist/components/effects/AuroraEffect.d.ts +10 -0
- package/dist/components/effects/AuroraEffect.d.ts.map +1 -0
- package/dist/components/effects/AuroraEffect.js +112 -0
- package/dist/components/effects/BlackHoleEffect.d.ts +10 -0
- package/dist/components/effects/BlackHoleEffect.d.ts.map +1 -0
- package/dist/components/effects/BlackHoleEffect.js +193 -0
- package/dist/components/effects/ConstellationEffect.d.ts +10 -0
- package/dist/components/effects/ConstellationEffect.d.ts.map +1 -0
- package/dist/components/effects/ConstellationEffect.js +189 -0
- package/dist/components/effects/DataStreamEffect.d.ts +10 -0
- package/dist/components/effects/DataStreamEffect.d.ts.map +1 -0
- package/dist/components/effects/DataStreamEffect.js +138 -0
- package/dist/components/effects/DnaHelixEffect.d.ts +10 -0
- package/dist/components/effects/DnaHelixEffect.d.ts.map +1 -0
- package/dist/components/effects/DnaHelixEffect.js +311 -0
- package/dist/components/effects/Fire.d.ts +20 -0
- package/dist/components/effects/Fire.d.ts.map +1 -0
- package/dist/components/effects/Fire.js +208 -0
- package/dist/components/effects/FireEffect.d.ts +10 -0
- package/dist/components/effects/FireEffect.d.ts.map +1 -0
- package/dist/components/effects/FireEffect.js +194 -0
- package/dist/components/effects/ForcefieldEffect.d.ts +10 -0
- package/dist/components/effects/ForcefieldEffect.d.ts.map +1 -0
- package/dist/components/effects/ForcefieldEffect.js +132 -0
- package/dist/components/effects/HologramEffect.d.ts +10 -0
- package/dist/components/effects/HologramEffect.d.ts.map +1 -0
- package/dist/components/effects/HologramEffect.js +143 -0
- package/dist/components/effects/IceCrystalsEffect.d.ts +10 -0
- package/dist/components/effects/IceCrystalsEffect.d.ts.map +1 -0
- package/dist/components/effects/IceCrystalsEffect.js +190 -0
- package/dist/components/effects/LightningEffect.d.ts +10 -0
- package/dist/components/effects/LightningEffect.d.ts.map +1 -0
- package/dist/components/effects/LightningEffect.js +240 -0
- package/dist/components/effects/MoleculesEffect.d.ts +10 -0
- package/dist/components/effects/MoleculesEffect.d.ts.map +1 -0
- package/dist/components/effects/MoleculesEffect.js +173 -0
- package/dist/components/effects/NeuralNetworkEffect.d.ts +10 -0
- package/dist/components/effects/NeuralNetworkEffect.d.ts.map +1 -0
- package/dist/components/effects/NeuralNetworkEffect.js +188 -0
- package/dist/components/effects/OrbEffect.d.ts +10 -0
- package/dist/components/effects/OrbEffect.d.ts.map +1 -0
- package/dist/components/effects/OrbEffect.js +291 -0
- package/dist/components/effects/PortalEffect.d.ts +10 -0
- package/dist/components/effects/PortalEffect.d.ts.map +1 -0
- package/dist/components/effects/PortalEffect.js +191 -0
- package/dist/components/effects/ShockwaveEffect.d.ts +10 -0
- package/dist/components/effects/ShockwaveEffect.d.ts.map +1 -0
- package/dist/components/effects/ShockwaveEffect.js +160 -0
- package/dist/components/effects/SmokePlumeEffect.d.ts +10 -0
- package/dist/components/effects/SmokePlumeEffect.d.ts.map +1 -0
- package/dist/components/effects/SmokePlumeEffect.js +141 -0
- package/dist/components/effects/SmokeRibbon.d.ts +13 -0
- package/dist/components/effects/SmokeRibbon.d.ts.map +1 -0
- package/dist/components/effects/SmokeRibbon.js +69 -0
- package/dist/components/effects/SmokeRingEffect.d.ts +10 -0
- package/dist/components/effects/SmokeRingEffect.d.ts.map +1 -0
- package/dist/components/effects/SmokeRingEffect.js +158 -0
- package/dist/components/effects/VolumetricFogEffect.d.ts +10 -0
- package/dist/components/effects/VolumetricFogEffect.d.ts.map +1 -0
- package/dist/components/effects/VolumetricFogEffect.js +111 -0
- package/dist/components/extractOutline.d.ts +18 -0
- package/dist/components/extractOutline.d.ts.map +1 -0
- package/dist/components/extractOutline.js +47 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +5 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/use3driseShader.d.ts +17 -0
- package/dist/hooks/use3driseShader.d.ts.map +1 -0
- package/dist/hooks/use3driseShader.js +100 -0
- package/dist/hooks/useAnimationEvents.d.ts +10 -0
- package/dist/hooks/useAnimationEvents.d.ts.map +1 -0
- package/dist/hooks/useAnimationEvents.js +49 -0
- package/dist/hooks/useCameraAnimation.d.ts +35 -0
- package/dist/hooks/useCameraAnimation.d.ts.map +1 -0
- package/dist/hooks/useCameraAnimation.js +277 -0
- package/dist/hooks/useContinuousEffects.d.ts +15 -0
- package/dist/hooks/useContinuousEffects.d.ts.map +1 -0
- package/dist/hooks/useContinuousEffects.js +177 -0
- package/dist/hooks/useCubeCamera.d.ts +18 -0
- package/dist/hooks/useCubeCamera.d.ts.map +1 -0
- package/dist/hooks/useCubeCamera.js +73 -0
- package/dist/hooks/useEnvironmentEffects.d.ts +12 -0
- package/dist/hooks/useEnvironmentEffects.d.ts.map +1 -0
- package/dist/hooks/useEnvironmentEffects.js +22 -0
- package/dist/hooks/useFrameAnimations.d.ts +24 -0
- package/dist/hooks/useFrameAnimations.d.ts.map +1 -0
- package/dist/hooks/useFrameAnimations.js +217 -0
- package/dist/hooks/useFrameEffects.d.ts +6 -0
- package/dist/hooks/useFrameEffects.d.ts.map +1 -0
- package/dist/hooks/useFrameEffects.js +19 -0
- package/dist/hooks/useGsapAnimation.d.ts +122 -0
- package/dist/hooks/useGsapAnimation.d.ts.map +1 -0
- package/dist/hooks/useGsapAnimation.js +316 -0
- package/dist/hooks/useInteraction.d.ts +12 -0
- package/dist/hooks/useInteraction.d.ts.map +1 -0
- package/dist/hooks/useInteraction.js +273 -0
- package/dist/hooks/useInteractionEffects.d.ts +11 -0
- package/dist/hooks/useInteractionEffects.d.ts.map +1 -0
- package/dist/hooks/useInteractionEffects.js +74 -0
- package/dist/hooks/useKey.d.ts +26 -0
- package/dist/hooks/useKey.d.ts.map +1 -0
- package/dist/hooks/useKey.js +73 -0
- package/dist/hooks/useLightAnimation.d.ts +10 -0
- package/dist/hooks/useLightAnimation.d.ts.map +1 -0
- package/dist/hooks/useLightAnimation.js +34 -0
- package/dist/hooks/useLightHandlers.d.ts +14 -0
- package/dist/hooks/useLightHandlers.d.ts.map +1 -0
- package/dist/hooks/useLightHandlers.js +116 -0
- package/dist/hooks/useLightMouseMove.d.ts +11 -0
- package/dist/hooks/useLightMouseMove.d.ts.map +1 -0
- package/dist/hooks/useLightMouseMove.js +27 -0
- package/dist/hooks/useLightShadow.d.ts +6 -0
- package/dist/hooks/useLightShadow.d.ts.map +1 -0
- package/dist/hooks/useLightShadow.js +63 -0
- package/dist/hooks/useMaterialApplication.d.ts +4 -0
- package/dist/hooks/useMaterialApplication.d.ts.map +1 -0
- package/dist/hooks/useMaterialApplication.js +157 -0
- package/dist/hooks/useMaterialOptions.d.ts +14 -0
- package/dist/hooks/useMaterialOptions.d.ts.map +1 -0
- package/dist/hooks/useMaterialOptions.js +118 -0
- package/dist/hooks/useMaterialUniforms.d.ts +18 -0
- package/dist/hooks/useMaterialUniforms.d.ts.map +1 -0
- package/dist/hooks/useMaterialUniforms.js +96 -0
- package/dist/hooks/useMeshController.d.ts +3 -0
- package/dist/hooks/useMeshController.d.ts.map +1 -0
- package/dist/hooks/useMeshController.js +168 -0
- package/dist/hooks/useMouseHandlers.d.ts +8 -0
- package/dist/hooks/useMouseHandlers.d.ts.map +1 -0
- package/dist/hooks/useMouseHandlers.js +47 -0
- package/dist/hooks/useNumericAnimation.d.ts +5 -0
- package/dist/hooks/useNumericAnimation.d.ts.map +1 -0
- package/dist/hooks/useNumericAnimation.js +42 -0
- package/dist/hooks/useObjectAnimation.d.ts +13 -0
- package/dist/hooks/useObjectAnimation.d.ts.map +1 -0
- package/dist/hooks/useObjectAnimation.js +35 -0
- package/dist/hooks/useObjectEdges.d.ts +3 -0
- package/dist/hooks/useObjectEdges.d.ts.map +1 -0
- package/dist/hooks/useObjectEdges.js +199 -0
- package/dist/hooks/useObjectEffects.d.ts +23 -0
- package/dist/hooks/useObjectEffects.d.ts.map +1 -0
- package/dist/hooks/useObjectEffects.js +162 -0
- package/dist/hooks/useOrbitControls.d.ts +7 -0
- package/dist/hooks/useOrbitControls.d.ts.map +1 -0
- package/dist/hooks/useOrbitControls.js +9 -0
- package/dist/hooks/useOutline.d.ts +9 -0
- package/dist/hooks/useOutline.d.ts.map +1 -0
- package/dist/hooks/useOutline.js +14 -0
- package/dist/hooks/useParticlePositions.d.ts +19 -0
- package/dist/hooks/useParticlePositions.d.ts.map +1 -0
- package/dist/hooks/useParticlePositions.js +56 -0
- package/dist/hooks/useParticlesColors.d.ts +14 -0
- package/dist/hooks/useParticlesColors.d.ts.map +1 -0
- package/dist/hooks/useParticlesColors.js +27 -0
- package/dist/hooks/useParticlesTextures.d.ts +10 -0
- package/dist/hooks/useParticlesTextures.d.ts.map +1 -0
- package/dist/hooks/useParticlesTextures.js +23 -0
- package/dist/hooks/usePathAnimation.d.ts +26 -0
- package/dist/hooks/usePathAnimation.d.ts.map +1 -0
- package/dist/hooks/usePathAnimation.js +130 -0
- package/dist/hooks/useSequenceAnimation.d.ts +14 -0
- package/dist/hooks/useSequenceAnimation.d.ts.map +1 -0
- package/dist/hooks/useSequenceAnimation.js +260 -0
- package/dist/hooks/useShadowApplication.d.ts +3 -0
- package/dist/hooks/useShadowApplication.d.ts.map +1 -0
- package/dist/hooks/useShadowApplication.js +31 -0
- package/dist/hooks/useShapeGeometry.d.ts +8 -0
- package/dist/hooks/useShapeGeometry.d.ts.map +1 -0
- package/dist/hooks/useShapeGeometry.js +12 -0
- package/dist/hooks/useSkyAnimation.d.ts +13 -0
- package/dist/hooks/useSkyAnimation.d.ts.map +1 -0
- package/dist/hooks/useSkyAnimation.js +36 -0
- package/dist/hooks/useSkySystem.d.ts +25 -0
- package/dist/hooks/useSkySystem.d.ts.map +1 -0
- package/dist/hooks/useSkySystem.js +59 -0
- package/dist/hooks/useSkyUniforms.d.ts +18 -0
- package/dist/hooks/useSkyUniforms.d.ts.map +1 -0
- package/dist/hooks/useSkyUniforms.js +71 -0
- package/dist/hooks/useTransformControls.d.ts +6 -0
- package/dist/hooks/useTransformControls.d.ts.map +1 -0
- package/dist/hooks/useTransformControls.js +111 -0
- package/dist/hooks/useVolumePoints.d.ts +9 -0
- package/dist/hooks/useVolumePoints.d.ts.map +1 -0
- package/dist/hooks/useVolumePoints.js +22 -0
- package/dist/hooks/useWaterEnvironment.d.ts +5 -0
- package/dist/hooks/useWaterEnvironment.d.ts.map +1 -0
- package/dist/hooks/useWaterEnvironment.js +27 -0
- package/dist/hooks/useWaterReflections.d.ts +18 -0
- package/dist/hooks/useWaterReflections.d.ts.map +1 -0
- package/dist/hooks/useWaterReflections.js +84 -0
- package/dist/index.d.ts +146 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +119 -0
- package/dist/services/AnimationsManager.d.ts +33 -0
- package/dist/services/AnimationsManager.d.ts.map +1 -0
- package/dist/services/AnimationsManager.js +58 -0
- package/dist/services/FontManager.d.ts +32 -0
- package/dist/services/FontManager.d.ts.map +1 -0
- package/dist/services/FontManager.js +76 -0
- package/dist/services/TexturesManager.d.ts +17 -0
- package/dist/services/TexturesManager.d.ts.map +1 -0
- package/dist/services/TexturesManager.js +48 -0
- package/dist/shaders/RainMaterial.d.ts +34 -0
- package/dist/shaders/RainMaterial.d.ts.map +1 -0
- package/dist/shaders/RainMaterial.js +56 -0
- package/dist/shaders/ShaderEffectsMaterial.d.ts +228 -0
- package/dist/shaders/ShaderEffectsMaterial.d.ts.map +1 -0
- package/dist/shaders/ShaderEffectsMaterial.js +233 -0
- package/dist/shaders/ShootingStarMaterial.d.ts +14 -0
- package/dist/shaders/ShootingStarMaterial.d.ts.map +1 -0
- package/dist/shaders/ShootingStarMaterial.js +33 -0
- package/dist/shaders/SkyboxMaterial.d.ts +38 -0
- package/dist/shaders/SkyboxMaterial.d.ts.map +1 -0
- package/dist/shaders/SkyboxMaterial.js +57 -0
- package/dist/shaders/effects/EffectsVertexFunctions.glsl.d.ts +2 -0
- package/dist/shaders/effects/EffectsVertexFunctions.glsl.d.ts.map +1 -0
- package/dist/shaders/effects/EffectsVertexFunctions.glsl.js +115 -0
- package/dist/utils/CameraSingleton.d.ts +43 -0
- package/dist/utils/CameraSingleton.d.ts.map +1 -0
- package/dist/utils/CameraSingleton.js +199 -0
- package/dist/utils/anchorUtils.d.ts +10 -0
- package/dist/utils/anchorUtils.d.ts.map +1 -0
- package/dist/utils/anchorUtils.js +13 -0
- package/dist/utils/cursorPicking.d.ts +8 -0
- package/dist/utils/cursorPicking.d.ts.map +1 -0
- package/dist/utils/cursorPicking.js +35 -0
- package/dist/utils/extractOutline.d.ts +18 -0
- package/dist/utils/extractOutline.d.ts.map +1 -0
- package/dist/utils/extractOutline.js +47 -0
- package/dist/utils/frameAnimations.d.ts +49 -0
- package/dist/utils/frameAnimations.d.ts.map +1 -0
- package/dist/utils/frameAnimations.js +213 -0
- package/dist/utils/handleGenerativeEffectsAnimations.d.ts +5 -0
- package/dist/utils/handleGenerativeEffectsAnimations.d.ts.map +1 -0
- package/dist/utils/handleGenerativeEffectsAnimations.js +268 -0
- package/dist/utils/hasHoverAnimation.d.ts +3 -0
- package/dist/utils/hasHoverAnimation.d.ts.map +1 -0
- package/dist/utils/hasHoverAnimation.js +15 -0
- package/dist/utils/materialUtils.d.ts +23 -0
- package/dist/utils/materialUtils.d.ts.map +1 -0
- package/dist/utils/materialUtils.js +81 -0
- package/dist/utils/particleAnimations.d.ts +3 -0
- package/dist/utils/particleAnimations.d.ts.map +1 -0
- package/dist/utils/particleAnimations.js +17 -0
- package/dist/utils/sampleVolume.d.ts +21 -0
- package/dist/utils/sampleVolume.d.ts.map +1 -0
- package/dist/utils/sampleVolume.js +44 -0
- package/dist/utils/sceneQuery.d.ts +9 -0
- package/dist/utils/sceneQuery.d.ts.map +1 -0
- package/dist/utils/sceneQuery.js +22 -0
- package/dist/utils/shaderUtils.d.ts +6 -0
- package/dist/utils/shaderUtils.d.ts.map +1 -0
- package/dist/utils/shaderUtils.js +151 -0
- package/dist/utils/shapes.d.ts +74 -0
- package/dist/utils/shapes.d.ts.map +1 -0
- package/dist/utils/shapes.js +443 -0
- package/dist/utils/textEffects.d.ts +31 -0
- package/dist/utils/textEffects.d.ts.map +1 -0
- package/dist/utils/textEffects.js +61 -0
- package/dist/utils/utils3d.d.ts +7 -0
- package/dist/utils/utils3d.d.ts.map +1 -0
- package/dist/utils/utils3d.js +34 -0
- package/package.json +44 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import { useFrame } from '@react-three/fiber';
|
|
4
|
+
import * as THREE from 'three';
|
|
5
|
+
const FerrofluidCursor = ({ config, worldPosRef, velocityRef, hoverRef, idleMsRef, }) => {
|
|
6
|
+
const groupRef = useRef(null);
|
|
7
|
+
// Base sphere geometry (kept for original vertex positions)
|
|
8
|
+
const { geometry, basePositions } = useMemo(() => {
|
|
9
|
+
const baseRadius = 0.15 * config.scale;
|
|
10
|
+
const g = new THREE.IcosahedronGeometry(baseRadius, 3);
|
|
11
|
+
const base = new Float32Array(g.attributes.position.array.slice());
|
|
12
|
+
return { geometry: g, basePositions: base };
|
|
13
|
+
}, [config.scale]);
|
|
14
|
+
const material = useMemo(() => new THREE.MeshPhysicalMaterial({
|
|
15
|
+
color: new THREE.Color(config.color),
|
|
16
|
+
metalness: config.metalness,
|
|
17
|
+
roughness: 0.08,
|
|
18
|
+
clearcoat: 1,
|
|
19
|
+
clearcoatRoughness: 0.05,
|
|
20
|
+
envMapIntensity: 1.5,
|
|
21
|
+
}), []);
|
|
22
|
+
useEffect(() => {
|
|
23
|
+
material.color.set(config.color);
|
|
24
|
+
material.metalness = config.metalness;
|
|
25
|
+
}, [config.color, config.metalness, material]);
|
|
26
|
+
useEffect(() => () => { geometry.dispose(); material.dispose(); }, [geometry, material]);
|
|
27
|
+
// Pre-compute fixed per-vertex random offsets and pick `spikeCount` spike vertices
|
|
28
|
+
const { spikeIndices, vertNoise } = useMemo(() => {
|
|
29
|
+
const totalVerts = basePositions.length / 3;
|
|
30
|
+
const indices = [];
|
|
31
|
+
const used = new Set();
|
|
32
|
+
const spikes = Math.min(config.spikeCount, totalVerts);
|
|
33
|
+
while (indices.length < spikes) {
|
|
34
|
+
const i = Math.floor(Math.random() * totalVerts);
|
|
35
|
+
if (!used.has(i)) {
|
|
36
|
+
used.add(i);
|
|
37
|
+
indices.push(i);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
const noise = new Float32Array(totalVerts);
|
|
41
|
+
for (let i = 0; i < totalVerts; i++)
|
|
42
|
+
noise[i] = Math.random() * 100;
|
|
43
|
+
return { spikeIndices: indices, vertNoise: noise };
|
|
44
|
+
}, [basePositions, config.spikeCount]);
|
|
45
|
+
const tmpVert = useMemo(() => new THREE.Vector3(), []);
|
|
46
|
+
const tmpDir = useMemo(() => new THREE.Vector3(), []);
|
|
47
|
+
const tmpTarget = useMemo(() => new THREE.Vector3(), []);
|
|
48
|
+
useFrame((state, delta) => {
|
|
49
|
+
if (groupRef.current)
|
|
50
|
+
groupRef.current.position.copy(worldPosRef.current);
|
|
51
|
+
const hover = hoverRef.current;
|
|
52
|
+
const idleFactor = Math.max(0.2, 1 - idleMsRef.current / Math.max(config.idleFadeMs * 2, 1));
|
|
53
|
+
const speed = velocityRef.current.length();
|
|
54
|
+
const wobbleAmp = Math.min(0.4, 0.05 + speed * 0.02);
|
|
55
|
+
// Target direction in local space (relative to cursor world pos)
|
|
56
|
+
if (hover) {
|
|
57
|
+
tmpTarget.copy(hover.point).sub(worldPosRef.current).normalize();
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
// No target: spike along velocity direction (if any)
|
|
61
|
+
tmpTarget.copy(velocityRef.current).normalize();
|
|
62
|
+
if (!Number.isFinite(tmpTarget.x) || tmpTarget.lengthSq() < 1e-6)
|
|
63
|
+
tmpTarget.set(0, 1, 0);
|
|
64
|
+
}
|
|
65
|
+
const positions = geometry.attributes.position.array;
|
|
66
|
+
const t = state.clock.getElapsedTime();
|
|
67
|
+
const totalVerts = basePositions.length / 3;
|
|
68
|
+
const reach = config.reach * config.scale;
|
|
69
|
+
// Reset to base positions plus wobble
|
|
70
|
+
for (let i = 0; i < totalVerts; i++) {
|
|
71
|
+
const bx = basePositions[i * 3 + 0];
|
|
72
|
+
const by = basePositions[i * 3 + 1];
|
|
73
|
+
const bz = basePositions[i * 3 + 2];
|
|
74
|
+
const wob = 1 + Math.sin(t * 3 + vertNoise[i]) * wobbleAmp * 0.5;
|
|
75
|
+
positions[i * 3 + 0] = bx * wob;
|
|
76
|
+
positions[i * 3 + 1] = by * wob;
|
|
77
|
+
positions[i * 3 + 2] = bz * wob;
|
|
78
|
+
}
|
|
79
|
+
// Add spike displacement for each chosen spike vertex along the target dir
|
|
80
|
+
// weighted by alignment of that vertex's base direction with the target.
|
|
81
|
+
for (let k = 0; k < spikeIndices.length; k++) {
|
|
82
|
+
const i = spikeIndices[k];
|
|
83
|
+
tmpVert.set(basePositions[i * 3 + 0], basePositions[i * 3 + 1], basePositions[i * 3 + 2]);
|
|
84
|
+
const len = tmpVert.length();
|
|
85
|
+
if (len < 1e-6)
|
|
86
|
+
continue;
|
|
87
|
+
tmpDir.copy(tmpVert).divideScalar(len);
|
|
88
|
+
// Only spike vertices that face the target
|
|
89
|
+
const align = Math.max(0, tmpDir.dot(tmpTarget));
|
|
90
|
+
const spikeAmp = Math.pow(align, 4) * reach * idleFactor;
|
|
91
|
+
if (spikeAmp < 0.001)
|
|
92
|
+
continue;
|
|
93
|
+
positions[i * 3 + 0] += tmpDir.x * spikeAmp;
|
|
94
|
+
positions[i * 3 + 1] += tmpDir.y * spikeAmp;
|
|
95
|
+
positions[i * 3 + 2] += tmpDir.z * spikeAmp;
|
|
96
|
+
}
|
|
97
|
+
geometry.attributes.position.needsUpdate = true;
|
|
98
|
+
geometry.computeVertexNormals();
|
|
99
|
+
});
|
|
100
|
+
return (_jsx("group", { ref: groupRef, children: _jsx("mesh", { geometry: geometry, material: material }) }));
|
|
101
|
+
};
|
|
102
|
+
export default FerrofluidCursor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { GlyphRingCursorConfig } from "@3driseai/3drise-core";
|
|
3
|
+
import type { CursorTypeProps } from "./CursorController";
|
|
4
|
+
declare const GlyphRingCursor: React.FC<CursorTypeProps<GlyphRingCursorConfig>>;
|
|
5
|
+
export default GlyphRingCursor;
|
|
6
|
+
//# sourceMappingURL=GlyphRingCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlyphRingCursor.d.ts","sourceRoot":"","sources":["../../../src/components/cursor/GlyphRingCursor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAyE1D,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,qBAAqB,CAAC,CA8CrE,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import { useFrame, useThree } from '@react-three/fiber';
|
|
4
|
+
import * as THREE from 'three';
|
|
5
|
+
const vertexShader = /* glsl */ `
|
|
6
|
+
varying vec2 vUv;
|
|
7
|
+
void main() {
|
|
8
|
+
vUv = uv;
|
|
9
|
+
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
12
|
+
const fragmentShader = /* glsl */ `
|
|
13
|
+
uniform float uTime;
|
|
14
|
+
uniform float uRotation;
|
|
15
|
+
uniform float uGlyphCount;
|
|
16
|
+
uniform float uHover;
|
|
17
|
+
uniform float uIntensity;
|
|
18
|
+
uniform float uOpacity;
|
|
19
|
+
uniform vec3 uColor;
|
|
20
|
+
varying vec2 vUv;
|
|
21
|
+
|
|
22
|
+
float glyph(vec2 p, float seed) {
|
|
23
|
+
vec2 ap = abs(p);
|
|
24
|
+
float bar = step(ap.x, 0.18) * step(ap.y, 0.78);
|
|
25
|
+
float ring = step(abs(length(p) - 0.55), 0.07);
|
|
26
|
+
float diag = step(abs(p.x - p.y * sign(seed * 7.0 - 1.0)), 0.12);
|
|
27
|
+
float cross = step(ap.y, 0.10) * step(ap.x, 0.78);
|
|
28
|
+
float spoke = step(abs(p.y), 0.10) + step(abs(p.x), 0.10);
|
|
29
|
+
spoke = clamp(spoke, 0.0, 1.0);
|
|
30
|
+
float s1 = fract(sin(seed * 12.9898) * 43758.5453);
|
|
31
|
+
float s2 = fract(sin(seed * 78.233) * 12345.6789);
|
|
32
|
+
float s3 = fract(sin(seed * 4.821) * 91812.234);
|
|
33
|
+
float s4 = fract(sin(seed * 22.1) * 5532.111);
|
|
34
|
+
float g = 0.0;
|
|
35
|
+
g = max(g, bar * step(0.5, s1));
|
|
36
|
+
g = max(g, ring * step(0.4, s2));
|
|
37
|
+
g = max(g, diag * step(0.5, s3));
|
|
38
|
+
g = max(g, cross * step(0.6, s4));
|
|
39
|
+
g = max(g, spoke * step(0.7, s1 * s4));
|
|
40
|
+
return g;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
void main() {
|
|
44
|
+
vec2 p = vUv * 2.0 - 1.0;
|
|
45
|
+
float r = length(p);
|
|
46
|
+
float theta = atan(p.y, p.x); // -PI..PI
|
|
47
|
+
float a = theta / (2.0 * 3.141592653589793) + 0.5 + uRotation;
|
|
48
|
+
a = fract(a);
|
|
49
|
+
|
|
50
|
+
float bandWidth = 0.16;
|
|
51
|
+
float ringR = 0.55;
|
|
52
|
+
float ringMask = smoothstep(ringR - bandWidth, ringR - 0.02, r) * (1.0 - smoothstep(ringR + 0.02, ringR + bandWidth, r));
|
|
53
|
+
if (ringMask < 0.01) discard;
|
|
54
|
+
|
|
55
|
+
float cell = floor(a * uGlyphCount);
|
|
56
|
+
float local = fract(a * uGlyphCount) * 2.0 - 1.0;
|
|
57
|
+
float radial = (r - ringR) / bandWidth;
|
|
58
|
+
|
|
59
|
+
// Morph: hover blends two seeds together so glyphs visibly shift on hover
|
|
60
|
+
float morphSeed = cell + 1.0 + uHover * (5.0 + cell * 0.31);
|
|
61
|
+
float g = glyph(vec2(local, radial * 0.8), morphSeed);
|
|
62
|
+
|
|
63
|
+
// Soft connecting ring beneath glyphs
|
|
64
|
+
float underline = smoothstep(ringR - 0.06, ringR - 0.02, r) * (1.0 - smoothstep(ringR + 0.02, ringR + 0.06, r));
|
|
65
|
+
|
|
66
|
+
float intensity = g + underline * 0.18;
|
|
67
|
+
float alpha = ringMask * intensity * uOpacity;
|
|
68
|
+
if (alpha < 0.005) discard;
|
|
69
|
+
|
|
70
|
+
vec3 col = uColor * (1.0 + intensity * uIntensity);
|
|
71
|
+
// Hover pulse: brighten on hover
|
|
72
|
+
col += uHover * 0.3;
|
|
73
|
+
gl_FragColor = vec4(col, alpha);
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
const GlyphRingCursor = ({ config, worldPosRef, hoverRef, idleMsRef, }) => {
|
|
77
|
+
const meshRef = useRef(null);
|
|
78
|
+
const { camera } = useThree();
|
|
79
|
+
const hoverSmooth = useRef(0);
|
|
80
|
+
const radius = Math.max(0.3, config.ringRadius * config.scale);
|
|
81
|
+
const geometry = useMemo(() => new THREE.PlaneGeometry(2 * radius / 0.55, 2 * radius / 0.55, 1, 1), [radius]);
|
|
82
|
+
const material = useMemo(() => new THREE.ShaderMaterial({
|
|
83
|
+
uniforms: {
|
|
84
|
+
uTime: { value: 0 },
|
|
85
|
+
uRotation: { value: 0 },
|
|
86
|
+
uGlyphCount: { value: Math.max(3, config.glyphCount) },
|
|
87
|
+
uHover: { value: 0 },
|
|
88
|
+
uIntensity: { value: config.intensity },
|
|
89
|
+
uOpacity: { value: config.opacity },
|
|
90
|
+
uColor: { value: new THREE.Color(config.color) },
|
|
91
|
+
},
|
|
92
|
+
vertexShader,
|
|
93
|
+
fragmentShader,
|
|
94
|
+
transparent: true,
|
|
95
|
+
depthWrite: false,
|
|
96
|
+
side: THREE.DoubleSide,
|
|
97
|
+
blending: THREE.AdditiveBlending,
|
|
98
|
+
}), []);
|
|
99
|
+
useEffect(() => {
|
|
100
|
+
material.uniforms.uGlyphCount.value = Math.max(3, config.glyphCount);
|
|
101
|
+
material.uniforms.uIntensity.value = config.intensity;
|
|
102
|
+
material.uniforms.uOpacity.value = config.opacity;
|
|
103
|
+
material.uniforms.uColor.value.set(config.color);
|
|
104
|
+
}, [config.glyphCount, config.intensity, config.opacity, config.color, material]);
|
|
105
|
+
useEffect(() => () => { geometry.dispose(); material.dispose(); }, [geometry, material]);
|
|
106
|
+
useFrame((state, delta) => {
|
|
107
|
+
material.uniforms.uTime.value = state.clock.getElapsedTime();
|
|
108
|
+
material.uniforms.uRotation.value += delta * config.rotationSpeed * 0.15;
|
|
109
|
+
// Smooth hover transition
|
|
110
|
+
const target = hoverRef.current ? 1 : 0;
|
|
111
|
+
hoverSmooth.current = THREE.MathUtils.damp(hoverSmooth.current, target, 6, delta);
|
|
112
|
+
material.uniforms.uHover.value = hoverSmooth.current;
|
|
113
|
+
// Idle fade via opacity uniform
|
|
114
|
+
const idleFactor = Math.max(0.15, 1 - idleMsRef.current / Math.max(config.idleFadeMs * 2, 1));
|
|
115
|
+
material.uniforms.uOpacity.value = config.opacity * idleFactor;
|
|
116
|
+
if (meshRef.current) {
|
|
117
|
+
meshRef.current.position.copy(worldPosRef.current);
|
|
118
|
+
meshRef.current.lookAt(camera.position);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
return _jsx("mesh", { ref: meshRef, geometry: geometry, material: material, frustumCulled: false });
|
|
122
|
+
};
|
|
123
|
+
export default GlyphRingCursor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { LightningCursorConfig } from "@3driseai/3drise-core";
|
|
3
|
+
import type { CursorTypeProps } from "./CursorController";
|
|
4
|
+
declare const LightningCursor: React.FC<CursorTypeProps<LightningCursorConfig>>;
|
|
5
|
+
export default LightningCursor;
|
|
6
|
+
//# sourceMappingURL=LightningCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LightningCursor.d.ts","sourceRoot":"","sources":["../../../src/components/cursor/LightningCursor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAsBrE,CAAC;AACF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo, useRef } from 'react';
|
|
3
|
+
import { useFrame } from '@react-three/fiber';
|
|
4
|
+
import LightningEffect from '../effects/LightningEffect.js';
|
|
5
|
+
const LightningCursor = ({ config, worldPosRef, }) => {
|
|
6
|
+
const groupRef = useRef(null);
|
|
7
|
+
const lightningConfig = useMemo(() => ({
|
|
8
|
+
enabled: true,
|
|
9
|
+
intensity: config.intensity,
|
|
10
|
+
speed: 1,
|
|
11
|
+
color: config.color,
|
|
12
|
+
opacity: config.opacity,
|
|
13
|
+
boltCount: 3,
|
|
14
|
+
branchDepth: Math.max(2, Math.min(5, Math.floor(config.segmentCount / 2))),
|
|
15
|
+
branchProbability: config.jitter,
|
|
16
|
+
glowColor: config.color,
|
|
17
|
+
flickerRate: 14,
|
|
18
|
+
strikeRadius: config.arcRange,
|
|
19
|
+
}), [config]);
|
|
20
|
+
useFrame(() => {
|
|
21
|
+
if (!groupRef.current)
|
|
22
|
+
return;
|
|
23
|
+
groupRef.current.position.copy(worldPosRef.current);
|
|
24
|
+
groupRef.current.scale.setScalar(config.scale);
|
|
25
|
+
});
|
|
26
|
+
return (_jsx("group", { ref: groupRef, children: _jsx(LightningEffect, { boundingRadius: 0.25, config: lightningConfig }) }));
|
|
27
|
+
};
|
|
28
|
+
export default LightningCursor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { LiquidMetalCursorConfig } from "@3driseai/3drise-core";
|
|
3
|
+
import type { CursorTypeProps } from "./CursorController";
|
|
4
|
+
declare const LiquidMetalCursor: React.FC<CursorTypeProps<LiquidMetalCursorConfig>>;
|
|
5
|
+
export default LiquidMetalCursor;
|
|
6
|
+
//# sourceMappingURL=LiquidMetalCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiquidMetalCursor.d.ts","sourceRoot":"","sources":["../../../src/components/cursor/LiquidMetalCursor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,uBAAuB,CAAC,CAuDzE,CAAC;AACF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import { useFrame } from '@react-three/fiber';
|
|
4
|
+
import * as THREE from 'three';
|
|
5
|
+
const LiquidMetalCursor = ({ config, worldPosRef, velocityRef, }) => {
|
|
6
|
+
const groupRef = useRef(null);
|
|
7
|
+
const meshRef = useRef(null);
|
|
8
|
+
const geometry = useMemo(() => new THREE.IcosahedronGeometry(0.18, 4), []);
|
|
9
|
+
const basePositions = useMemo(() => {
|
|
10
|
+
const arr = geometry.attributes.position.array;
|
|
11
|
+
return new Float32Array(arr);
|
|
12
|
+
}, [geometry]);
|
|
13
|
+
const material = useMemo(() => new THREE.MeshPhysicalMaterial({
|
|
14
|
+
color: config.color,
|
|
15
|
+
metalness: config.metalness,
|
|
16
|
+
roughness: config.roughness,
|
|
17
|
+
clearcoat: 1.0,
|
|
18
|
+
clearcoatRoughness: 0.1,
|
|
19
|
+
envMapIntensity: 1.5,
|
|
20
|
+
transparent: true,
|
|
21
|
+
opacity: config.opacity,
|
|
22
|
+
}), []);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
material.color.set(config.color);
|
|
25
|
+
material.metalness = config.metalness;
|
|
26
|
+
material.roughness = config.roughness;
|
|
27
|
+
material.opacity = config.opacity;
|
|
28
|
+
}, [config.color, config.metalness, config.roughness, config.opacity, material]);
|
|
29
|
+
useEffect(() => () => {
|
|
30
|
+
geometry.dispose();
|
|
31
|
+
material.dispose();
|
|
32
|
+
}, [geometry, material]);
|
|
33
|
+
useFrame((state) => {
|
|
34
|
+
if (!groupRef.current)
|
|
35
|
+
return;
|
|
36
|
+
groupRef.current.position.copy(worldPosRef.current);
|
|
37
|
+
const speed = velocityRef.current.length();
|
|
38
|
+
const wobble = Math.min(speed * 0.08, 0.4);
|
|
39
|
+
const t = state.clock.getElapsedTime() * config.morphSpeed;
|
|
40
|
+
// Vertex displacement for the morphing blob look
|
|
41
|
+
const posAttr = geometry.attributes.position;
|
|
42
|
+
const arr = posAttr.array;
|
|
43
|
+
for (let i = 0; i < arr.length; i += 3) {
|
|
44
|
+
const x = basePositions[i];
|
|
45
|
+
const y = basePositions[i + 1];
|
|
46
|
+
const z = basePositions[i + 2];
|
|
47
|
+
const n = Math.sin(x * 3 + t) * Math.cos(y * 3 + t * 1.3) * Math.sin(z * 3 + t * 0.7);
|
|
48
|
+
const k = 1 + (n * 0.15 + wobble * 0.2);
|
|
49
|
+
arr[i] = x * k;
|
|
50
|
+
arr[i + 1] = y * k;
|
|
51
|
+
arr[i + 2] = z * k;
|
|
52
|
+
}
|
|
53
|
+
posAttr.needsUpdate = true;
|
|
54
|
+
geometry.computeVertexNormals();
|
|
55
|
+
if (meshRef.current) {
|
|
56
|
+
meshRef.current.scale.setScalar(config.scale * (1 + wobble * 0.3));
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
return (_jsx("group", { ref: groupRef, children: _jsx("mesh", { ref: meshRef, geometry: geometry, material: material }) }));
|
|
60
|
+
};
|
|
61
|
+
export default LiquidMetalCursor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { OrbCursorConfig } from "@3driseai/3drise-core";
|
|
3
|
+
import type { CursorTypeProps } from "./CursorController";
|
|
4
|
+
declare const OrbCursor: React.FC<CursorTypeProps<OrbCursorConfig>>;
|
|
5
|
+
export default OrbCursor;
|
|
6
|
+
//# sourceMappingURL=OrbCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrbCursor.d.ts","sourceRoot":"","sources":["../../../src/components/cursor/OrbCursor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,eAAe,CAAC,CA0BzD,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo, useRef } from 'react';
|
|
3
|
+
import { useFrame } from '@react-three/fiber';
|
|
4
|
+
import OrbEffect from '../effects/OrbEffect.js';
|
|
5
|
+
const OrbCursor = ({ config, worldPosRef, idleMsRef, }) => {
|
|
6
|
+
const groupRef = useRef(null);
|
|
7
|
+
const orbConfig = useMemo(() => ({
|
|
8
|
+
enabled: true,
|
|
9
|
+
intensity: config.intensity,
|
|
10
|
+
speed: 1,
|
|
11
|
+
color: config.color,
|
|
12
|
+
opacity: config.opacity,
|
|
13
|
+
coreSize: 0.4,
|
|
14
|
+
glowLayers: 2,
|
|
15
|
+
innerColor: config.innerColor,
|
|
16
|
+
outerColor: config.outerColor,
|
|
17
|
+
coronaEnabled: false,
|
|
18
|
+
coronaColor: config.color,
|
|
19
|
+
noiseAmount: 0.5,
|
|
20
|
+
pulseSpeed: config.pulseSpeed,
|
|
21
|
+
}), [config]);
|
|
22
|
+
useFrame(() => {
|
|
23
|
+
if (!groupRef.current)
|
|
24
|
+
return;
|
|
25
|
+
groupRef.current.position.copy(worldPosRef.current);
|
|
26
|
+
const idleFactor = Math.max(0, 1 - idleMsRef.current / Math.max(config.idleFadeMs, 1));
|
|
27
|
+
const s = config.scale * (0.85 + 0.15 * idleFactor);
|
|
28
|
+
groupRef.current.scale.setScalar(s);
|
|
29
|
+
});
|
|
30
|
+
return (_jsx("group", { ref: groupRef, children: _jsx(OrbEffect, { boundingRadius: 0.15, config: orbConfig }) }));
|
|
31
|
+
};
|
|
32
|
+
export default OrbCursor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { PlasmaWhipCursorConfig } from "@3driseai/3drise-core";
|
|
3
|
+
import type { CursorTypeProps } from "./CursorController";
|
|
4
|
+
declare const PlasmaWhipCursor: React.FC<CursorTypeProps<PlasmaWhipCursorConfig>>;
|
|
5
|
+
export default PlasmaWhipCursor;
|
|
6
|
+
//# sourceMappingURL=PlasmaWhipCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlasmaWhipCursor.d.ts","sourceRoot":"","sources":["../../../src/components/cursor/PlasmaWhipCursor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAiE1D,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAiEvE,CAAC;AACF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useRef } from 'react';
|
|
3
|
+
import { useFrame } from '@react-three/fiber';
|
|
4
|
+
import * as THREE from 'three';
|
|
5
|
+
const MAX_POINTS = 64;
|
|
6
|
+
const vertexShader = /* glsl */ `
|
|
7
|
+
varying vec2 vUv;
|
|
8
|
+
void main() {
|
|
9
|
+
vUv = uv;
|
|
10
|
+
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
const fragmentShader = /* glsl */ `
|
|
14
|
+
uniform vec3 uColor;
|
|
15
|
+
uniform float uOpacity;
|
|
16
|
+
uniform float uTime;
|
|
17
|
+
uniform float uFlowSpeed;
|
|
18
|
+
varying vec2 vUv;
|
|
19
|
+
|
|
20
|
+
float hash(vec2 p) { return fract(sin(dot(p, vec2(127.1, 311.7))) * 43758.5453); }
|
|
21
|
+
float noise(vec2 p) {
|
|
22
|
+
vec2 i = floor(p);
|
|
23
|
+
vec2 f = fract(p);
|
|
24
|
+
f = f * f * (3.0 - 2.0 * f);
|
|
25
|
+
return mix(
|
|
26
|
+
mix(hash(i + vec2(0,0)), hash(i + vec2(1,0)), f.x),
|
|
27
|
+
mix(hash(i + vec2(0,1)), hash(i + vec2(1,1)), f.x),
|
|
28
|
+
f.y);
|
|
29
|
+
}
|
|
30
|
+
float fbm(vec2 p) {
|
|
31
|
+
float v = 0.0;
|
|
32
|
+
float a = 0.5;
|
|
33
|
+
for (int i = 0; i < 5; i++) {
|
|
34
|
+
v += a * noise(p);
|
|
35
|
+
p *= 2.13;
|
|
36
|
+
a *= 0.5;
|
|
37
|
+
}
|
|
38
|
+
return v;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
void main() {
|
|
42
|
+
// vUv.x runs along the tube; vUv.y wraps around.
|
|
43
|
+
float t = uTime * uFlowSpeed;
|
|
44
|
+
vec2 p = vec2(vUv.x * 8.0 - t * 1.2, vUv.y * 4.0 + t * 0.6);
|
|
45
|
+
float n = fbm(p);
|
|
46
|
+
|
|
47
|
+
// Hot core + cooler shell
|
|
48
|
+
vec3 hot = vec3(1.0, 0.95, 0.7);
|
|
49
|
+
vec3 mid = uColor;
|
|
50
|
+
vec3 cold = uColor * 0.35 + vec3(0.0, 0.0, 0.05);
|
|
51
|
+
vec3 col = mix(cold, mid, smoothstep(0.2, 0.6, n));
|
|
52
|
+
col = mix(col, hot, smoothstep(0.7, 0.95, n));
|
|
53
|
+
|
|
54
|
+
// Head emphasis (uv.x near 1)
|
|
55
|
+
float head = smoothstep(0.85, 1.0, vUv.x);
|
|
56
|
+
col += head * 0.5;
|
|
57
|
+
|
|
58
|
+
// Tail fade
|
|
59
|
+
float tailFade = smoothstep(0.0, 0.15, vUv.x);
|
|
60
|
+
|
|
61
|
+
// Surface highlight via noise contrast
|
|
62
|
+
float rim = pow(n, 2.0);
|
|
63
|
+
float alpha = (0.45 + rim * 0.65) * uOpacity * tailFade;
|
|
64
|
+
if (alpha < 0.005) discard;
|
|
65
|
+
gl_FragColor = vec4(col, alpha);
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
const PlasmaWhipCursor = ({ config, worldPosRef, hoverRef, idleMsRef, }) => {
|
|
69
|
+
const N = Math.min(MAX_POINTS, Math.max(4, config.pointCount));
|
|
70
|
+
const history = useMemo(() => {
|
|
71
|
+
const arr = [];
|
|
72
|
+
for (let i = 0; i < MAX_POINTS; i++)
|
|
73
|
+
arr.push(new THREE.Vector3());
|
|
74
|
+
return arr;
|
|
75
|
+
}, []);
|
|
76
|
+
const meshRef = useRef(null);
|
|
77
|
+
const geometryRef = useRef(null);
|
|
78
|
+
const firstFrame = useRef(true);
|
|
79
|
+
const material = useMemo(() => new THREE.ShaderMaterial({
|
|
80
|
+
uniforms: {
|
|
81
|
+
uColor: { value: new THREE.Color(config.color) },
|
|
82
|
+
uOpacity: { value: config.opacity },
|
|
83
|
+
uTime: { value: 0 },
|
|
84
|
+
uFlowSpeed: { value: config.flowSpeed },
|
|
85
|
+
},
|
|
86
|
+
vertexShader,
|
|
87
|
+
fragmentShader,
|
|
88
|
+
transparent: true,
|
|
89
|
+
depthWrite: false,
|
|
90
|
+
blending: THREE.AdditiveBlending,
|
|
91
|
+
side: THREE.DoubleSide,
|
|
92
|
+
}), []);
|
|
93
|
+
useEffect(() => {
|
|
94
|
+
material.uniforms.uColor.value.set(config.color);
|
|
95
|
+
material.uniforms.uOpacity.value = config.opacity;
|
|
96
|
+
material.uniforms.uFlowSpeed.value = config.flowSpeed;
|
|
97
|
+
}, [config.color, config.opacity, config.flowSpeed, material]);
|
|
98
|
+
useEffect(() => () => {
|
|
99
|
+
material.dispose();
|
|
100
|
+
geometryRef.current?.dispose();
|
|
101
|
+
}, [material]);
|
|
102
|
+
useFrame((state) => {
|
|
103
|
+
material.uniforms.uTime.value = state.clock.getElapsedTime();
|
|
104
|
+
const wp = worldPosRef.current;
|
|
105
|
+
if (firstFrame.current) {
|
|
106
|
+
for (let i = 0; i < MAX_POINTS; i++)
|
|
107
|
+
history[i].copy(wp);
|
|
108
|
+
firstFrame.current = false;
|
|
109
|
+
}
|
|
110
|
+
// Shift history (newest at index 0)
|
|
111
|
+
for (let i = MAX_POINTS - 1; i > 0; i--)
|
|
112
|
+
history[i].copy(history[i - 1]);
|
|
113
|
+
history[0].copy(wp);
|
|
114
|
+
// Build curve from first N history points (oldest to newest, reversed)
|
|
115
|
+
const pts = [];
|
|
116
|
+
for (let i = N - 1; i >= 0; i--)
|
|
117
|
+
pts.push(history[i]);
|
|
118
|
+
// Skip if all points are identical (e.g. first frame)
|
|
119
|
+
const curve = new THREE.CatmullRomCurve3(pts, false, 'catmullrom', 0.5);
|
|
120
|
+
const hoverBoost = hoverRef.current ? 1.4 : 1.0;
|
|
121
|
+
const idleFactor = Math.max(0, 1 - idleMsRef.current / Math.max(config.idleFadeMs, 1));
|
|
122
|
+
const radius = config.thickness * config.scale * (0.4 + idleFactor * 0.6) * hoverBoost;
|
|
123
|
+
const tubular = Math.max(8, N * 2);
|
|
124
|
+
const newGeo = new THREE.TubeGeometry(curve, tubular, radius, 8, false);
|
|
125
|
+
if (meshRef.current) {
|
|
126
|
+
meshRef.current.geometry = newGeo;
|
|
127
|
+
}
|
|
128
|
+
if (geometryRef.current)
|
|
129
|
+
geometryRef.current.dispose();
|
|
130
|
+
geometryRef.current = newGeo;
|
|
131
|
+
});
|
|
132
|
+
return _jsx("mesh", { ref: meshRef, material: material, frustumCulled: false });
|
|
133
|
+
};
|
|
134
|
+
export default PlasmaWhipCursor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SparklesCursorConfig } from "@3driseai/3drise-core";
|
|
3
|
+
import type { CursorTypeProps } from "./CursorController";
|
|
4
|
+
declare const SparklesCursor: React.FC<CursorTypeProps<SparklesCursorConfig>>;
|
|
5
|
+
export default SparklesCursor;
|
|
6
|
+
//# sourceMappingURL=SparklesCursor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SparklesCursor.d.ts","sourceRoot":"","sources":["../../../src/components/cursor/SparklesCursor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAkC1D,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAiHnE,CAAC;AACF,eAAe,cAAc,CAAC"}
|