@backbay/glia 0.2.0-alpha.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/LICENSE +22 -0
- package/README.md +492 -0
- package/dist/audio/hooks/index.d.ts +15 -0
- package/dist/audio/hooks/index.d.ts.map +1 -0
- package/dist/audio/hooks/index.js +7 -0
- package/dist/audio/hooks/useAudioOverlay.d.ts +43 -0
- package/dist/audio/hooks/useAudioOverlay.d.ts.map +1 -0
- package/dist/audio/hooks/useAudioOverlay.js +48 -0
- package/dist/audio/hooks/useAudioPlayer.d.ts +14 -0
- package/dist/audio/hooks/useAudioPlayer.d.ts.map +1 -0
- package/dist/audio/hooks/useAudioPlayer.js +96 -0
- package/dist/audio/hooks/useBargeIn.d.ts +27 -0
- package/dist/audio/hooks/useBargeIn.d.ts.map +1 -0
- package/dist/audio/hooks/useBargeIn.js +65 -0
- package/dist/audio/hooks/useCognitionSpeech.d.ts +52 -0
- package/dist/audio/hooks/useCognitionSpeech.d.ts.map +1 -0
- package/dist/audio/hooks/useCognitionSpeech.js +77 -0
- package/dist/audio/hooks/useHybridSpeech.d.ts +24 -0
- package/dist/audio/hooks/useHybridSpeech.d.ts.map +1 -0
- package/dist/audio/hooks/useHybridSpeech.js +40 -0
- package/dist/audio/hooks/useRunSpeechCues.d.ts +28 -0
- package/dist/audio/hooks/useRunSpeechCues.d.ts.map +1 -0
- package/dist/audio/hooks/useRunSpeechCues.js +47 -0
- package/dist/audio/hooks/useSpeechSynthesis.d.ts +58 -0
- package/dist/audio/hooks/useSpeechSynthesis.d.ts.map +1 -0
- package/dist/audio/hooks/useSpeechSynthesis.js +154 -0
- package/dist/audio/index.d.ts +12 -0
- package/dist/audio/index.d.ts.map +1 -0
- package/dist/audio/index.js +24 -0
- package/dist/audio/overlay.d.ts +9 -0
- package/dist/audio/overlay.d.ts.map +1 -0
- package/dist/audio/overlay.js +15 -0
- package/dist/audio/planner.d.ts +51 -0
- package/dist/audio/planner.d.ts.map +1 -0
- package/dist/audio/planner.js +122 -0
- package/dist/audio/providers/httpSpeechSynthesisProvider.d.ts +33 -0
- package/dist/audio/providers/httpSpeechSynthesisProvider.d.ts.map +1 -0
- package/dist/audio/providers/httpSpeechSynthesisProvider.js +83 -0
- package/dist/audio/schema.d.ts +1741 -0
- package/dist/audio/schema.d.ts.map +1 -0
- package/dist/audio/schema.js +116 -0
- package/dist/audio/types.d.ts +175 -0
- package/dist/audio/types.d.ts.map +1 -0
- package/dist/audio/types.js +18 -0
- package/dist/cognition/controller.d.ts +97 -0
- package/dist/cognition/controller.d.ts.map +1 -0
- package/dist/cognition/controller.js +145 -0
- package/dist/cognition/hooks/index.d.ts +3 -0
- package/dist/cognition/hooks/index.d.ts.map +1 -0
- package/dist/cognition/hooks/index.js +1 -0
- package/dist/cognition/hooks/useCognition.d.ts +36 -0
- package/dist/cognition/hooks/useCognition.d.ts.map +1 -0
- package/dist/cognition/hooks/useCognition.js +88 -0
- package/dist/cognition/index.d.ts +10 -0
- package/dist/cognition/index.d.ts.map +1 -0
- package/dist/cognition/index.js +20 -0
- package/dist/cognition/reducers.d.ts +27 -0
- package/dist/cognition/reducers.d.ts.map +1 -0
- package/dist/cognition/reducers.js +152 -0
- package/dist/cognition/schema.d.ts +594 -0
- package/dist/cognition/schema.d.ts.map +1 -0
- package/dist/cognition/schema.js +102 -0
- package/dist/cognition/types.d.ts +123 -0
- package/dist/cognition/types.d.ts.map +1 -0
- package/dist/cognition/types.js +26 -0
- package/dist/components/AgentPanel.d.ts +71 -0
- package/dist/components/AgentPanel.d.ts.map +1 -0
- package/dist/components/AgentPanel.js +55 -0
- package/dist/components/BBProvider.d.ts +47 -0
- package/dist/components/BBProvider.d.ts.map +1 -0
- package/dist/components/BBProvider.js +80 -0
- package/dist/components/ClusterHero/BriefingPanel.d.ts +15 -0
- package/dist/components/ClusterHero/BriefingPanel.d.ts.map +1 -0
- package/dist/components/ClusterHero/BriefingPanel.js +54 -0
- package/dist/components/ClusterHero/ClusterAtmosphere.d.ts +8 -0
- package/dist/components/ClusterHero/ClusterAtmosphere.d.ts.map +1 -0
- package/dist/components/ClusterHero/ClusterAtmosphere.js +9 -0
- package/dist/components/ClusterHero/ClusterHero.d.ts +22 -0
- package/dist/components/ClusterHero/ClusterHero.d.ts.map +1 -0
- package/dist/components/ClusterHero/ClusterHero.js +42 -0
- package/dist/components/ClusterHero/ClusterHeroPage.d.ts +27 -0
- package/dist/components/ClusterHero/ClusterHeroPage.d.ts.map +1 -0
- package/dist/components/ClusterHero/ClusterHeroPage.js +189 -0
- package/dist/components/ClusterHero/ClusterRail.d.ts +13 -0
- package/dist/components/ClusterHero/ClusterRail.d.ts.map +1 -0
- package/dist/components/ClusterHero/ClusterRail.js +84 -0
- package/dist/components/ClusterHero/GradientVeil.d.ts +11 -0
- package/dist/components/ClusterHero/GradientVeil.d.ts.map +1 -0
- package/dist/components/ClusterHero/GradientVeil.js +22 -0
- package/dist/components/ClusterHero/HeroContent.d.ts +14 -0
- package/dist/components/ClusterHero/HeroContent.d.ts.map +1 -0
- package/dist/components/ClusterHero/HeroContent.js +49 -0
- package/dist/components/ClusterHero/LiveStrip.d.ts +8 -0
- package/dist/components/ClusterHero/LiveStrip.d.ts.map +1 -0
- package/dist/components/ClusterHero/LiveStrip.js +26 -0
- package/dist/components/ClusterHero/ScrollIndicator.d.ts +10 -0
- package/dist/components/ClusterHero/ScrollIndicator.d.ts.map +1 -0
- package/dist/components/ClusterHero/ScrollIndicator.js +18 -0
- package/dist/components/ClusterHero/SigilMonument.d.ts +13 -0
- package/dist/components/ClusterHero/SigilMonument.d.ts.map +1 -0
- package/dist/components/ClusterHero/SigilMonument.js +87 -0
- package/dist/components/ClusterHero/StructuralElements.d.ts +8 -0
- package/dist/components/ClusterHero/StructuralElements.d.ts.map +1 -0
- package/dist/components/ClusterHero/StructuralElements.js +47 -0
- package/dist/components/ClusterHero/VideoBackground.d.ts +37 -0
- package/dist/components/ClusterHero/VideoBackground.d.ts.map +1 -0
- package/dist/components/ClusterHero/VideoBackground.js +135 -0
- package/dist/components/ClusterHero/config.d.ts +20 -0
- package/dist/components/ClusterHero/config.d.ts.map +1 -0
- package/dist/components/ClusterHero/config.js +289 -0
- package/dist/components/ClusterHero/index.d.ts +17 -0
- package/dist/components/ClusterHero/index.d.ts.map +1 -0
- package/dist/components/ClusterHero/index.js +20 -0
- package/dist/components/ClusterHero/sections/CTASection.d.ts +14 -0
- package/dist/components/ClusterHero/sections/CTASection.d.ts.map +1 -0
- package/dist/components/ClusterHero/sections/CTASection.js +105 -0
- package/dist/components/ClusterHero/sections/ClusterStatsSection.d.ts +11 -0
- package/dist/components/ClusterHero/sections/ClusterStatsSection.d.ts.map +1 -0
- package/dist/components/ClusterHero/sections/ClusterStatsSection.js +121 -0
- package/dist/components/ClusterHero/sections/FeatureCardsSection.d.ts +15 -0
- package/dist/components/ClusterHero/sections/FeatureCardsSection.d.ts.map +1 -0
- package/dist/components/ClusterHero/sections/FeatureCardsSection.js +187 -0
- package/dist/components/ClusterHero/sections/index.d.ts +4 -0
- package/dist/components/ClusterHero/sections/index.d.ts.map +1 -0
- package/dist/components/ClusterHero/sections/index.js +3 -0
- package/dist/components/ClusterHero/types.d.ts +111 -0
- package/dist/components/ClusterHero/types.d.ts.map +1 -0
- package/dist/components/ClusterHero/types.js +1 -0
- package/dist/components/ClusterHero/useVideoPreload.d.ts +28 -0
- package/dist/components/ClusterHero/useVideoPreload.d.ts.map +1 -0
- package/dist/components/ClusterHero/useVideoPreload.js +60 -0
- package/dist/components/PlaySession.d.ts +48 -0
- package/dist/components/PlaySession.d.ts.map +1 -0
- package/dist/components/PlaySession.js +51 -0
- package/dist/components/SyncDocument.d.ts +50 -0
- package/dist/components/SyncDocument.d.ts.map +1 -0
- package/dist/components/SyncDocument.js +37 -0
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +8 -0
- package/dist/core.d.ts +19 -0
- package/dist/core.d.ts.map +1 -0
- package/dist/core.js +24 -0
- package/dist/desktop/components/desktop/Desktop.d.ts +49 -0
- package/dist/desktop/components/desktop/Desktop.d.ts.map +1 -0
- package/dist/desktop/components/desktop/Desktop.js +110 -0
- package/dist/desktop/components/desktop/DesktopIcon.d.ts +52 -0
- package/dist/desktop/components/desktop/DesktopIcon.d.ts.map +1 -0
- package/dist/desktop/components/desktop/DesktopIcon.js +185 -0
- package/dist/desktop/components/desktop/SnapZoneOverlay.d.ts +68 -0
- package/dist/desktop/components/desktop/SnapZoneOverlay.d.ts.map +1 -0
- package/dist/desktop/components/desktop/SnapZoneOverlay.js +138 -0
- package/dist/desktop/components/desktop/index.d.ts +9 -0
- package/dist/desktop/components/desktop/index.d.ts.map +1 -0
- package/dist/desktop/components/desktop/index.js +8 -0
- package/dist/desktop/components/index.d.ts +11 -0
- package/dist/desktop/components/index.d.ts.map +1 -0
- package/dist/desktop/components/index.js +13 -0
- package/dist/desktop/components/shell/Clock.d.ts +35 -0
- package/dist/desktop/components/shell/Clock.d.ts.map +1 -0
- package/dist/desktop/components/shell/Clock.js +159 -0
- package/dist/desktop/components/shell/ContextMenu.d.ts +44 -0
- package/dist/desktop/components/shell/ContextMenu.d.ts.map +1 -0
- package/dist/desktop/components/shell/ContextMenu.js +158 -0
- package/dist/desktop/components/shell/Taskbar.d.ts +111 -0
- package/dist/desktop/components/shell/Taskbar.d.ts.map +1 -0
- package/dist/desktop/components/shell/Taskbar.js +182 -0
- package/dist/desktop/components/shell/TaskbarButton.d.ts +54 -0
- package/dist/desktop/components/shell/TaskbarButton.d.ts.map +1 -0
- package/dist/desktop/components/shell/TaskbarButton.js +116 -0
- package/dist/desktop/components/shell/index.d.ts +31 -0
- package/dist/desktop/components/shell/index.d.ts.map +1 -0
- package/dist/desktop/components/shell/index.js +31 -0
- package/dist/desktop/components/window/Window.d.ts +122 -0
- package/dist/desktop/components/window/Window.d.ts.map +1 -0
- package/dist/desktop/components/window/Window.js +416 -0
- package/dist/desktop/components/window/WindowTitlebar.d.ts +71 -0
- package/dist/desktop/components/window/WindowTitlebar.d.ts.map +1 -0
- package/dist/desktop/components/window/WindowTitlebar.js +191 -0
- package/dist/desktop/components/window/index.d.ts +10 -0
- package/dist/desktop/components/window/index.d.ts.map +1 -0
- package/dist/desktop/components/window/index.js +9 -0
- package/dist/desktop/core/desktop/index.d.ts +6 -0
- package/dist/desktop/core/desktop/index.d.ts.map +1 -0
- package/dist/desktop/core/desktop/index.js +5 -0
- package/dist/desktop/core/desktop/types.d.ts +185 -0
- package/dist/desktop/core/desktop/types.d.ts.map +1 -0
- package/dist/desktop/core/desktop/types.js +6 -0
- package/dist/desktop/core/desktop/useSnapZones.d.ts +52 -0
- package/dist/desktop/core/desktop/useSnapZones.d.ts.map +1 -0
- package/dist/desktop/core/desktop/useSnapZones.js +128 -0
- package/dist/desktop/core/index.d.ts +10 -0
- package/dist/desktop/core/index.d.ts.map +1 -0
- package/dist/desktop/core/index.js +9 -0
- package/dist/desktop/core/shell/index.d.ts +6 -0
- package/dist/desktop/core/shell/index.d.ts.map +1 -0
- package/dist/desktop/core/shell/index.js +5 -0
- package/dist/desktop/core/shell/types.d.ts +169 -0
- package/dist/desktop/core/shell/types.d.ts.map +1 -0
- package/dist/desktop/core/shell/types.js +6 -0
- package/dist/desktop/core/shell/useTaskbar.d.ts +65 -0
- package/dist/desktop/core/shell/useTaskbar.d.ts.map +1 -0
- package/dist/desktop/core/shell/useTaskbar.js +221 -0
- package/dist/desktop/core/window/index.d.ts +6 -0
- package/dist/desktop/core/window/index.d.ts.map +1 -0
- package/dist/desktop/core/window/index.js +5 -0
- package/dist/desktop/core/window/types.d.ts +167 -0
- package/dist/desktop/core/window/types.d.ts.map +1 -0
- package/dist/desktop/core/window/types.js +7 -0
- package/dist/desktop/core/window/useWindowManager.d.ts +165 -0
- package/dist/desktop/core/window/useWindowManager.d.ts.map +1 -0
- package/dist/desktop/core/window/useWindowManager.js +953 -0
- package/dist/desktop/index.d.ts +40 -0
- package/dist/desktop/index.d.ts.map +1 -0
- package/dist/desktop/index.js +50 -0
- package/dist/desktop/providers/DesktopOSProvider.d.ts +93 -0
- package/dist/desktop/providers/DesktopOSProvider.d.ts.map +1 -0
- package/dist/desktop/providers/DesktopOSProvider.js +246 -0
- package/dist/desktop/providers/ThemeProvider.d.ts +51 -0
- package/dist/desktop/providers/ThemeProvider.d.ts.map +1 -0
- package/dist/desktop/providers/ThemeProvider.js +93 -0
- package/dist/desktop/providers/index.d.ts +6 -0
- package/dist/desktop/providers/index.d.ts.map +1 -0
- package/dist/desktop/providers/index.js +5 -0
- package/dist/desktop/themes/default.d.ts +18 -0
- package/dist/desktop/themes/default.d.ts.map +1 -0
- package/dist/desktop/themes/default.js +90 -0
- package/dist/desktop/themes/index.d.ts +6 -0
- package/dist/desktop/themes/index.d.ts.map +1 -0
- package/dist/desktop/themes/index.js +5 -0
- package/dist/desktop/themes/types.d.ts +147 -0
- package/dist/desktop/themes/types.d.ts.map +1 -0
- package/dist/desktop/themes/types.js +71 -0
- package/dist/emotion/constants.d.ts +35 -0
- package/dist/emotion/constants.d.ts.map +1 -0
- package/dist/emotion/constants.js +86 -0
- package/dist/emotion/controller.d.ts +97 -0
- package/dist/emotion/controller.d.ts.map +1 -0
- package/dist/emotion/controller.js +203 -0
- package/dist/emotion/hooks/index.d.ts +3 -0
- package/dist/emotion/hooks/index.d.ts.map +1 -0
- package/dist/emotion/hooks/index.js +2 -0
- package/dist/emotion/hooks/useEmotion.d.ts +60 -0
- package/dist/emotion/hooks/useEmotion.d.ts.map +1 -0
- package/dist/emotion/hooks/useEmotion.js +121 -0
- package/dist/emotion/index.d.ts +10 -0
- package/dist/emotion/index.d.ts.map +1 -0
- package/dist/emotion/index.js +13 -0
- package/dist/emotion/mapping.d.ts +55 -0
- package/dist/emotion/mapping.d.ts.map +1 -0
- package/dist/emotion/mapping.js +118 -0
- package/dist/emotion/micro-expressions.d.ts +19 -0
- package/dist/emotion/micro-expressions.d.ts.map +1 -0
- package/dist/emotion/micro-expressions.js +75 -0
- package/dist/emotion/transitions.d.ts +29 -0
- package/dist/emotion/transitions.d.ts.map +1 -0
- package/dist/emotion/transitions.js +74 -0
- package/dist/emotion/types.d.ts +84 -0
- package/dist/emotion/types.d.ts.map +1 -0
- package/dist/emotion/types.js +2 -0
- package/dist/hooks/index.d.ts +9 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +8 -0
- package/dist/hooks/useAgentRun.d.ts +36 -0
- package/dist/hooks/useAgentRun.d.ts.map +1 -0
- package/dist/hooks/useAgentRun.js +140 -0
- package/dist/hooks/useIntensity.d.ts +33 -0
- package/dist/hooks/useIntensity.d.ts.map +1 -0
- package/dist/hooks/useIntensity.js +128 -0
- package/dist/hooks/usePlaySession.d.ts +50 -0
- package/dist/hooks/usePlaySession.d.ts.map +1 -0
- package/dist/hooks/usePlaySession.js +208 -0
- package/dist/hooks/useRunStream.d.ts +39 -0
- package/dist/hooks/useRunStream.d.ts.map +1 -0
- package/dist/hooks/useRunStream.js +230 -0
- package/dist/hooks/useSync.d.ts +50 -0
- package/dist/hooks/useSync.d.ts.map +1 -0
- package/dist/hooks/useSync.js +336 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +52 -0
- package/dist/lib/motion.d.ts +30 -0
- package/dist/lib/motion.d.ts.map +1 -0
- package/dist/lib/motion.js +21 -0
- package/dist/lib/utils.d.ts +35 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +102 -0
- package/dist/primitives/ambient/DustMotesLayer.d.ts +16 -0
- package/dist/primitives/ambient/DustMotesLayer.d.ts.map +1 -0
- package/dist/primitives/ambient/DustMotesLayer.js +93 -0
- package/dist/primitives/ambient/NebulaStarsLayer.d.ts +12 -0
- package/dist/primitives/ambient/NebulaStarsLayer.d.ts.map +1 -0
- package/dist/primitives/ambient/NebulaStarsLayer.js +99 -0
- package/dist/primitives/ambient/ThemedAmbientLayer.d.ts +15 -0
- package/dist/primitives/ambient/ThemedAmbientLayer.d.ts.map +1 -0
- package/dist/primitives/ambient/ThemedAmbientLayer.js +23 -0
- package/dist/primitives/ambient/index.d.ts +4 -0
- package/dist/primitives/ambient/index.d.ts.map +1 -0
- package/dist/primitives/ambient/index.js +3 -0
- package/dist/primitives/atoms/AuroraBackground/AuroraBackground.d.ts +8 -0
- package/dist/primitives/atoms/AuroraBackground/AuroraBackground.d.ts.map +1 -0
- package/dist/primitives/atoms/AuroraBackground/AuroraBackground.js +16 -0
- package/dist/primitives/atoms/AuroraBackground/index.d.ts +2 -0
- package/dist/primitives/atoms/AuroraBackground/index.d.ts.map +1 -0
- package/dist/primitives/atoms/AuroraBackground/index.js +1 -0
- package/dist/primitives/atoms/GlitchText/GlitchText.d.ts +9 -0
- package/dist/primitives/atoms/GlitchText/GlitchText.d.ts.map +1 -0
- package/dist/primitives/atoms/GlitchText/GlitchText.js +46 -0
- package/dist/primitives/atoms/GlitchText/index.d.ts +2 -0
- package/dist/primitives/atoms/GlitchText/index.d.ts.map +1 -0
- package/dist/primitives/atoms/GlitchText/index.js +1 -0
- package/dist/primitives/atoms/GlowButton/GlowButton.d.ts +19 -0
- package/dist/primitives/atoms/GlowButton/GlowButton.d.ts.map +1 -0
- package/dist/primitives/atoms/GlowButton/GlowButton.js +59 -0
- package/dist/primitives/atoms/GlowButton/index.d.ts +2 -0
- package/dist/primitives/atoms/GlowButton/index.d.ts.map +1 -0
- package/dist/primitives/atoms/GlowButton/index.js +1 -0
- package/dist/primitives/atoms/GlowInput/GlowInput.d.ts +25 -0
- package/dist/primitives/atoms/GlowInput/GlowInput.d.ts.map +1 -0
- package/dist/primitives/atoms/GlowInput/GlowInput.js +55 -0
- package/dist/primitives/atoms/GlowInput/index.d.ts +2 -0
- package/dist/primitives/atoms/GlowInput/index.d.ts.map +1 -0
- package/dist/primitives/atoms/GlowInput/index.js +1 -0
- package/dist/primitives/atoms/HUDProgressRing/HUDProgressRing.d.ts +27 -0
- package/dist/primitives/atoms/HUDProgressRing/HUDProgressRing.d.ts.map +1 -0
- package/dist/primitives/atoms/HUDProgressRing/HUDProgressRing.js +71 -0
- package/dist/primitives/atoms/HUDProgressRing/index.d.ts +2 -0
- package/dist/primitives/atoms/HUDProgressRing/index.d.ts.map +1 -0
- package/dist/primitives/atoms/HUDProgressRing/index.js +1 -0
- package/dist/primitives/atoms/IconPulse/IconPulse.d.ts +25 -0
- package/dist/primitives/atoms/IconPulse/IconPulse.d.ts.map +1 -0
- package/dist/primitives/atoms/IconPulse/IconPulse.js +111 -0
- package/dist/primitives/atoms/IconPulse/index.d.ts +2 -0
- package/dist/primitives/atoms/IconPulse/index.d.ts.map +1 -0
- package/dist/primitives/atoms/IconPulse/index.js +1 -0
- package/dist/primitives/atoms/PixelCanvas/PixelCanvas.d.ts +17 -0
- package/dist/primitives/atoms/PixelCanvas/PixelCanvas.d.ts.map +1 -0
- package/dist/primitives/atoms/PixelCanvas/PixelCanvas.js +340 -0
- package/dist/primitives/atoms/PixelCanvas/index.d.ts +2 -0
- package/dist/primitives/atoms/PixelCanvas/index.d.ts.map +1 -0
- package/dist/primitives/atoms/PixelCanvas/index.js +1 -0
- package/dist/primitives/atoms/StatBadge/StatBadge.d.ts +26 -0
- package/dist/primitives/atoms/StatBadge/StatBadge.d.ts.map +1 -0
- package/dist/primitives/atoms/StatBadge/StatBadge.js +73 -0
- package/dist/primitives/atoms/StatBadge/index.d.ts +2 -0
- package/dist/primitives/atoms/StatBadge/index.d.ts.map +1 -0
- package/dist/primitives/atoms/StatBadge/index.js +1 -0
- package/dist/primitives/atoms/TextGenerateEffect/TextGenerateEffect.d.ts +7 -0
- package/dist/primitives/atoms/TextGenerateEffect/TextGenerateEffect.d.ts.map +1 -0
- package/dist/primitives/atoms/TextGenerateEffect/TextGenerateEffect.js +26 -0
- package/dist/primitives/atoms/TextGenerateEffect/index.d.ts +2 -0
- package/dist/primitives/atoms/TextGenerateEffect/index.d.ts.map +1 -0
- package/dist/primitives/atoms/TextGenerateEffect/index.js +1 -0
- package/dist/primitives/atoms/TypingAnimation/TypingAnimation.d.ts +20 -0
- package/dist/primitives/atoms/TypingAnimation/TypingAnimation.d.ts.map +1 -0
- package/dist/primitives/atoms/TypingAnimation/TypingAnimation.js +84 -0
- package/dist/primitives/atoms/TypingAnimation/index.d.ts +2 -0
- package/dist/primitives/atoms/TypingAnimation/index.d.ts.map +1 -0
- package/dist/primitives/atoms/TypingAnimation/index.js +1 -0
- package/dist/primitives/atoms/VoiceCaptions/VoiceCaptions.d.ts +16 -0
- package/dist/primitives/atoms/VoiceCaptions/VoiceCaptions.d.ts.map +1 -0
- package/dist/primitives/atoms/VoiceCaptions/VoiceCaptions.js +192 -0
- package/dist/primitives/atoms/VoiceCaptions/index.d.ts +3 -0
- package/dist/primitives/atoms/VoiceCaptions/index.d.ts.map +1 -0
- package/dist/primitives/atoms/VoiceCaptions/index.js +1 -0
- package/dist/primitives/atoms/index.d.ts +12 -0
- package/dist/primitives/atoms/index.d.ts.map +1 -0
- package/dist/primitives/atoms/index.js +12 -0
- package/dist/primitives/environment/AuroraLayer/AuroraLayer.d.ts +3 -0
- package/dist/primitives/environment/AuroraLayer/AuroraLayer.d.ts.map +1 -0
- package/dist/primitives/environment/AuroraLayer/AuroraLayer.js +158 -0
- package/dist/primitives/environment/AuroraLayer/index.d.ts +3 -0
- package/dist/primitives/environment/AuroraLayer/index.d.ts.map +1 -0
- package/dist/primitives/environment/AuroraLayer/index.js +1 -0
- package/dist/primitives/environment/AuroraLayer/types.d.ts +16 -0
- package/dist/primitives/environment/AuroraLayer/types.d.ts.map +1 -0
- package/dist/primitives/environment/AuroraLayer/types.js +12 -0
- package/dist/primitives/environment/EnvironmentLayer/EnvironmentLayer.d.ts +23 -0
- package/dist/primitives/environment/EnvironmentLayer/EnvironmentLayer.d.ts.map +1 -0
- package/dist/primitives/environment/EnvironmentLayer/EnvironmentLayer.js +25 -0
- package/dist/primitives/environment/EnvironmentLayer/index.d.ts +5 -0
- package/dist/primitives/environment/EnvironmentLayer/index.d.ts.map +1 -0
- package/dist/primitives/environment/EnvironmentLayer/index.js +2 -0
- package/dist/primitives/environment/EnvironmentLayer/presets.d.ts +13 -0
- package/dist/primitives/environment/EnvironmentLayer/presets.d.ts.map +1 -0
- package/dist/primitives/environment/EnvironmentLayer/presets.js +98 -0
- package/dist/primitives/environment/FogLayer/FogLayer.d.ts +3 -0
- package/dist/primitives/environment/FogLayer/FogLayer.d.ts.map +1 -0
- package/dist/primitives/environment/FogLayer/FogLayer.js +77 -0
- package/dist/primitives/environment/FogLayer/index.d.ts +3 -0
- package/dist/primitives/environment/FogLayer/index.d.ts.map +1 -0
- package/dist/primitives/environment/FogLayer/index.js +1 -0
- package/dist/primitives/environment/FogLayer/types.d.ts +17 -0
- package/dist/primitives/environment/FogLayer/types.d.ts.map +1 -0
- package/dist/primitives/environment/FogLayer/types.js +26 -0
- package/dist/primitives/environment/VolumetricLight/VolumetricLight.d.ts +3 -0
- package/dist/primitives/environment/VolumetricLight/VolumetricLight.d.ts.map +1 -0
- package/dist/primitives/environment/VolumetricLight/VolumetricLight.js +145 -0
- package/dist/primitives/environment/VolumetricLight/index.d.ts +3 -0
- package/dist/primitives/environment/VolumetricLight/index.d.ts.map +1 -0
- package/dist/primitives/environment/VolumetricLight/index.js +1 -0
- package/dist/primitives/environment/VolumetricLight/types.d.ts +22 -0
- package/dist/primitives/environment/VolumetricLight/types.d.ts.map +1 -0
- package/dist/primitives/environment/VolumetricLight/types.js +12 -0
- package/dist/primitives/environment/WeatherLayer/WeatherLayer.d.ts +3 -0
- package/dist/primitives/environment/WeatherLayer/WeatherLayer.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/WeatherLayer.js +157 -0
- package/dist/primitives/environment/WeatherLayer/cinematicCanvas.d.ts +6 -0
- package/dist/primitives/environment/WeatherLayer/cinematicCanvas.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/cinematicCanvas.js +625 -0
- package/dist/primitives/environment/WeatherLayer/colors.d.ts +10 -0
- package/dist/primitives/environment/WeatherLayer/colors.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/colors.js +14 -0
- package/dist/primitives/environment/WeatherLayer/index.d.ts +5 -0
- package/dist/primitives/environment/WeatherLayer/index.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/index.js +2 -0
- package/dist/primitives/environment/WeatherLayer/leafPresets.d.ts +11 -0
- package/dist/primitives/environment/WeatherLayer/leafPresets.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/leafPresets.js +9 -0
- package/dist/primitives/environment/WeatherLayer/particles.d.ts +12 -0
- package/dist/primitives/environment/WeatherLayer/particles.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/particles.js +174 -0
- package/dist/primitives/environment/WeatherLayer/types.d.ts +49 -0
- package/dist/primitives/environment/WeatherLayer/types.d.ts.map +1 -0
- package/dist/primitives/environment/WeatherLayer/types.js +92 -0
- package/dist/primitives/environment/index.d.ts +17 -0
- package/dist/primitives/environment/index.d.ts.map +1 -0
- package/dist/primitives/environment/index.js +16 -0
- package/dist/primitives/environment/shared/index.d.ts +3 -0
- package/dist/primitives/environment/shared/index.d.ts.map +1 -0
- package/dist/primitives/environment/shared/index.js +2 -0
- package/dist/primitives/environment/shared/noise.d.ts +2 -0
- package/dist/primitives/environment/shared/noise.d.ts.map +1 -0
- package/dist/primitives/environment/shared/noise.js +8 -0
- package/dist/primitives/environment/shared/performance.d.ts +4 -0
- package/dist/primitives/environment/shared/performance.d.ts.map +1 -0
- package/dist/primitives/environment/shared/performance.js +28 -0
- package/dist/primitives/environment/shared/types.d.ts +18 -0
- package/dist/primitives/environment/shared/types.d.ts.map +1 -0
- package/dist/primitives/environment/shared/types.js +6 -0
- package/dist/primitives/index.d.ts +20 -0
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/primitives/index.js +19 -0
- package/dist/primitives/molecules/KPIStat/KPIStat.d.ts +37 -0
- package/dist/primitives/molecules/KPIStat/KPIStat.d.ts.map +1 -0
- package/dist/primitives/molecules/KPIStat/KPIStat.js +84 -0
- package/dist/primitives/molecules/KPIStat/index.d.ts +2 -0
- package/dist/primitives/molecules/KPIStat/index.d.ts.map +1 -0
- package/dist/primitives/molecules/KPIStat/index.js +1 -0
- package/dist/primitives/molecules/NeonToast/NeonToast.d.ts +84 -0
- package/dist/primitives/molecules/NeonToast/NeonToast.d.ts.map +1 -0
- package/dist/primitives/molecules/NeonToast/NeonToast.js +110 -0
- package/dist/primitives/molecules/NeonToast/index.d.ts +2 -0
- package/dist/primitives/molecules/NeonToast/index.d.ts.map +1 -0
- package/dist/primitives/molecules/NeonToast/index.js +1 -0
- package/dist/primitives/molecules/ThreeDCard/ThreeDCard.d.ts +24 -0
- package/dist/primitives/molecules/ThreeDCard/ThreeDCard.d.ts.map +1 -0
- package/dist/primitives/molecules/ThreeDCard/ThreeDCard.js +67 -0
- package/dist/primitives/molecules/ThreeDCard/index.d.ts +2 -0
- package/dist/primitives/molecules/ThreeDCard/index.d.ts.map +1 -0
- package/dist/primitives/molecules/ThreeDCard/index.js +1 -0
- package/dist/primitives/molecules/index.d.ts +4 -0
- package/dist/primitives/molecules/index.d.ts.map +1 -0
- package/dist/primitives/molecules/index.js +4 -0
- package/dist/primitives/organisms/BentoGrid/BentoGrid.d.ts +13 -0
- package/dist/primitives/organisms/BentoGrid/BentoGrid.d.ts.map +1 -0
- package/dist/primitives/organisms/BentoGrid/BentoGrid.js +9 -0
- package/dist/primitives/organisms/BentoGrid/index.d.ts +2 -0
- package/dist/primitives/organisms/BentoGrid/index.d.ts.map +1 -0
- package/dist/primitives/organisms/BentoGrid/index.js +1 -0
- package/dist/primitives/organisms/CommandPalette/CommandPalette.d.ts +39 -0
- package/dist/primitives/organisms/CommandPalette/CommandPalette.d.ts.map +1 -0
- package/dist/primitives/organisms/CommandPalette/CommandPalette.js +185 -0
- package/dist/primitives/organisms/CommandPalette/index.d.ts +2 -0
- package/dist/primitives/organisms/CommandPalette/index.d.ts.map +1 -0
- package/dist/primitives/organisms/CommandPalette/index.js +1 -0
- package/dist/primitives/organisms/Glass/GlassPanel.d.ts +46 -0
- package/dist/primitives/organisms/Glass/GlassPanel.d.ts.map +1 -0
- package/dist/primitives/organisms/Glass/GlassPanel.js +124 -0
- package/dist/primitives/organisms/Glass/index.d.ts +3 -0
- package/dist/primitives/organisms/Glass/index.d.ts.map +1 -0
- package/dist/primitives/organisms/Glass/index.js +1 -0
- package/dist/primitives/organisms/index.d.ts +4 -0
- package/dist/primitives/organisms/index.d.ts.map +1 -0
- package/dist/primitives/organisms/index.js +4 -0
- package/dist/primitives/three/AgentConsole/AgentConsole.d.ts +3 -0
- package/dist/primitives/three/AgentConsole/AgentConsole.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/AgentConsole.js +40 -0
- package/dist/primitives/three/AgentConsole/ConsoleChat.d.ts +3 -0
- package/dist/primitives/three/AgentConsole/ConsoleChat.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/ConsoleChat.js +74 -0
- package/dist/primitives/three/AgentConsole/FocusConstellation.d.ts +3 -0
- package/dist/primitives/three/AgentConsole/FocusConstellation.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/FocusConstellation.js +111 -0
- package/dist/primitives/three/AgentConsole/GlyphAvatar.d.ts +3 -0
- package/dist/primitives/three/AgentConsole/GlyphAvatar.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/GlyphAvatar.js +80 -0
- package/dist/primitives/three/AgentConsole/QuickActions.d.ts +3 -0
- package/dist/primitives/three/AgentConsole/QuickActions.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/QuickActions.js +43 -0
- package/dist/primitives/three/AgentConsole/index.d.ts +14 -0
- package/dist/primitives/three/AgentConsole/index.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/index.js +15 -0
- package/dist/primitives/three/AgentConsole/types.d.ts +155 -0
- package/dist/primitives/three/AgentConsole/types.d.ts.map +1 -0
- package/dist/primitives/three/AgentConsole/types.js +38 -0
- package/dist/primitives/three/AmbientField/AmbientField.d.ts +32 -0
- package/dist/primitives/three/AmbientField/AmbientField.d.ts.map +1 -0
- package/dist/primitives/three/AmbientField/AmbientField.js +156 -0
- package/dist/primitives/three/AmbientField/BackbayFieldBus.d.ts +10 -0
- package/dist/primitives/three/AmbientField/BackbayFieldBus.d.ts.map +1 -0
- package/dist/primitives/three/AmbientField/BackbayFieldBus.js +264 -0
- package/dist/primitives/three/AmbientField/FieldProvider.d.ts +21 -0
- package/dist/primitives/three/AmbientField/FieldProvider.d.ts.map +1 -0
- package/dist/primitives/three/AmbientField/FieldProvider.js +48 -0
- package/dist/primitives/three/AmbientField/index.d.ts +12 -0
- package/dist/primitives/three/AmbientField/index.d.ts.map +1 -0
- package/dist/primitives/three/AmbientField/index.js +8 -0
- package/dist/primitives/three/AmbientField/shaders/constellation.d.ts +17 -0
- package/dist/primitives/three/AmbientField/shaders/constellation.d.ts.map +1 -0
- package/dist/primitives/three/AmbientField/shaders/constellation.js +359 -0
- package/dist/primitives/three/AmbientField/types.d.ts +157 -0
- package/dist/primitives/three/AmbientField/types.d.ts.map +1 -0
- package/dist/primitives/three/AmbientField/types.js +20 -0
- package/dist/primitives/three/AttackGraph/AttackGraph.d.ts +3 -0
- package/dist/primitives/three/AttackGraph/AttackGraph.d.ts.map +1 -0
- package/dist/primitives/three/AttackGraph/AttackGraph.js +159 -0
- package/dist/primitives/three/AttackGraph/index.d.ts +14 -0
- package/dist/primitives/three/AttackGraph/index.d.ts.map +1 -0
- package/dist/primitives/three/AttackGraph/index.js +12 -0
- package/dist/primitives/three/AttackGraph/types.d.ts +42 -0
- package/dist/primitives/three/AttackGraph/types.d.ts.map +1 -0
- package/dist/primitives/three/AttackGraph/types.js +46 -0
- package/dist/primitives/three/AuditTrail/AuditTrail.d.ts +6 -0
- package/dist/primitives/three/AuditTrail/AuditTrail.d.ts.map +1 -0
- package/dist/primitives/three/AuditTrail/AuditTrail.js +294 -0
- package/dist/primitives/three/AuditTrail/index.d.ts +21 -0
- package/dist/primitives/three/AuditTrail/index.d.ts.map +1 -0
- package/dist/primitives/three/AuditTrail/index.js +19 -0
- package/dist/primitives/three/AuditTrail/types.d.ts +113 -0
- package/dist/primitives/three/AuditTrail/types.d.ts.map +1 -0
- package/dist/primitives/three/AuditTrail/types.js +78 -0
- package/dist/primitives/three/CrystallineOrganism/Breadcrumb.d.ts +8 -0
- package/dist/primitives/three/CrystallineOrganism/Breadcrumb.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/Breadcrumb.js +20 -0
- package/dist/primitives/three/CrystallineOrganism/CrystallineOrganism.d.ts +12 -0
- package/dist/primitives/three/CrystallineOrganism/CrystallineOrganism.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/CrystallineOrganism.js +143 -0
- package/dist/primitives/three/CrystallineOrganism/LatticeEdge.d.ts +8 -0
- package/dist/primitives/three/CrystallineOrganism/LatticeEdge.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/LatticeEdge.js +46 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismLattice.d.ts +8 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismLattice.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismLattice.js +100 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismParticles.d.ts +9 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismParticles.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismParticles.js +97 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismShell.d.ts +9 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismShell.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/OrganismShell.js +110 -0
- package/dist/primitives/three/CrystallineOrganism/constants.d.ts +84 -0
- package/dist/primitives/three/CrystallineOrganism/constants.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/constants.js +128 -0
- package/dist/primitives/three/CrystallineOrganism/index.d.ts +17 -0
- package/dist/primitives/three/CrystallineOrganism/index.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/index.js +16 -0
- package/dist/primitives/three/CrystallineOrganism/layouts/hexGrid.d.ts +19 -0
- package/dist/primitives/three/CrystallineOrganism/layouts/hexGrid.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/layouts/hexGrid.js +71 -0
- package/dist/primitives/three/CrystallineOrganism/layouts/index.d.ts +2 -0
- package/dist/primitives/three/CrystallineOrganism/layouts/index.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/layouts/index.js +1 -0
- package/dist/primitives/three/CrystallineOrganism/types.d.ts +100 -0
- package/dist/primitives/three/CrystallineOrganism/types.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/types.js +18 -0
- package/dist/primitives/three/CrystallineOrganism/useOrganismEmotion.d.ts +31 -0
- package/dist/primitives/three/CrystallineOrganism/useOrganismEmotion.d.ts.map +1 -0
- package/dist/primitives/three/CrystallineOrganism/useOrganismEmotion.js +59 -0
- package/dist/primitives/three/FirewallBarrier/FirewallBarrier.d.ts +3 -0
- package/dist/primitives/three/FirewallBarrier/FirewallBarrier.d.ts.map +1 -0
- package/dist/primitives/three/FirewallBarrier/FirewallBarrier.js +101 -0
- package/dist/primitives/three/FirewallBarrier/index.d.ts +14 -0
- package/dist/primitives/three/FirewallBarrier/index.d.ts.map +1 -0
- package/dist/primitives/three/FirewallBarrier/index.js +12 -0
- package/dist/primitives/three/FirewallBarrier/types.d.ts +41 -0
- package/dist/primitives/three/FirewallBarrier/types.d.ts.map +1 -0
- package/dist/primitives/three/FirewallBarrier/types.js +14 -0
- package/dist/primitives/three/Glyph/GlyphObject.d.ts +3 -0
- package/dist/primitives/three/Glyph/GlyphObject.d.ts.map +1 -0
- package/dist/primitives/three/Glyph/GlyphObject.js +311 -0
- package/dist/primitives/three/Glyph/index.d.ts +10 -0
- package/dist/primitives/three/Glyph/index.d.ts.map +1 -0
- package/dist/primitives/three/Glyph/index.js +9 -0
- package/dist/primitives/three/Glyph/types.d.ts +33 -0
- package/dist/primitives/three/Glyph/types.d.ts.map +1 -0
- package/dist/primitives/three/Glyph/types.js +1 -0
- package/dist/primitives/three/Glyph/useGlyphController.d.ts +24 -0
- package/dist/primitives/three/Glyph/useGlyphController.d.ts.map +1 -0
- package/dist/primitives/three/Glyph/useGlyphController.js +182 -0
- package/dist/primitives/three/Glyph/useGlyphEmotion.d.ts +26 -0
- package/dist/primitives/three/Glyph/useGlyphEmotion.d.ts.map +1 -0
- package/dist/primitives/three/Glyph/useGlyphEmotion.js +44 -0
- package/dist/primitives/three/Graph3D/Graph3D.d.ts +25 -0
- package/dist/primitives/three/Graph3D/Graph3D.d.ts.map +1 -0
- package/dist/primitives/three/Graph3D/Graph3D.js +120 -0
- package/dist/primitives/three/Graph3D/GraphEdge.d.ts +12 -0
- package/dist/primitives/three/Graph3D/GraphEdge.d.ts.map +1 -0
- package/dist/primitives/three/Graph3D/GraphEdge.js +45 -0
- package/dist/primitives/three/Graph3D/GraphNode.d.ts +17 -0
- package/dist/primitives/three/Graph3D/GraphNode.d.ts.map +1 -0
- package/dist/primitives/three/Graph3D/GraphNode.js +104 -0
- package/dist/primitives/three/Graph3D/types.d.ts +62 -0
- package/dist/primitives/three/Graph3D/types.d.ts.map +1 -0
- package/dist/primitives/three/Graph3D/types.js +1 -0
- package/dist/primitives/three/Graph3D/utils.d.ts +10 -0
- package/dist/primitives/three/Graph3D/utils.d.ts.map +1 -0
- package/dist/primitives/three/Graph3D/utils.js +145 -0
- package/dist/primitives/three/IntelFeed/IntelFeed.d.ts +3 -0
- package/dist/primitives/three/IntelFeed/IntelFeed.d.ts.map +1 -0
- package/dist/primitives/three/IntelFeed/IntelFeed.js +130 -0
- package/dist/primitives/three/IntelFeed/index.d.ts +14 -0
- package/dist/primitives/three/IntelFeed/index.d.ts.map +1 -0
- package/dist/primitives/three/IntelFeed/index.js +12 -0
- package/dist/primitives/three/IntelFeed/types.d.ts +42 -0
- package/dist/primitives/three/IntelFeed/types.d.ts.map +1 -0
- package/dist/primitives/three/IntelFeed/types.js +20 -0
- package/dist/primitives/three/NetworkTopology/NetworkTopology.d.ts +3 -0
- package/dist/primitives/three/NetworkTopology/NetworkTopology.d.ts.map +1 -0
- package/dist/primitives/three/NetworkTopology/NetworkTopology.js +208 -0
- package/dist/primitives/three/NetworkTopology/index.d.ts +20 -0
- package/dist/primitives/three/NetworkTopology/index.d.ts.map +1 -0
- package/dist/primitives/three/NetworkTopology/index.js +18 -0
- package/dist/primitives/three/NetworkTopology/types.d.ts +59 -0
- package/dist/primitives/three/NetworkTopology/types.d.ts.map +1 -0
- package/dist/primitives/three/NetworkTopology/types.js +56 -0
- package/dist/primitives/three/ParticleField/ParticleField.d.ts +8 -0
- package/dist/primitives/three/ParticleField/ParticleField.d.ts.map +1 -0
- package/dist/primitives/three/ParticleField/ParticleField.js +44 -0
- package/dist/primitives/three/ParticleField/index.d.ts +2 -0
- package/dist/primitives/three/ParticleField/index.d.ts.map +1 -0
- package/dist/primitives/three/ParticleField/index.js +1 -0
- package/dist/primitives/three/PermissionMatrix/PermissionMatrix.d.ts +14 -0
- package/dist/primitives/three/PermissionMatrix/PermissionMatrix.d.ts.map +1 -0
- package/dist/primitives/three/PermissionMatrix/PermissionMatrix.js +99 -0
- package/dist/primitives/three/PermissionMatrix/index.d.ts +10 -0
- package/dist/primitives/three/PermissionMatrix/index.d.ts.map +1 -0
- package/dist/primitives/three/PermissionMatrix/index.js +8 -0
- package/dist/primitives/three/PermissionMatrix/types.d.ts +44 -0
- package/dist/primitives/three/PermissionMatrix/types.d.ts.map +1 -0
- package/dist/primitives/three/PermissionMatrix/types.js +12 -0
- package/dist/primitives/three/QuantumField/ConstellationField.d.ts +9 -0
- package/dist/primitives/three/QuantumField/ConstellationField.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/ConstellationField.js +185 -0
- package/dist/primitives/three/QuantumField/FieldBus.d.ts +34 -0
- package/dist/primitives/three/QuantumField/FieldBus.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/FieldBus.js +278 -0
- package/dist/primitives/three/QuantumField/FieldLayer.d.ts +22 -0
- package/dist/primitives/three/QuantumField/FieldLayer.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/FieldLayer.js +307 -0
- package/dist/primitives/three/QuantumField/FieldProvider.d.ts +75 -0
- package/dist/primitives/three/QuantumField/FieldProvider.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/FieldProvider.js +313 -0
- package/dist/primitives/three/QuantumField/PcbField.d.ts +18 -0
- package/dist/primitives/three/QuantumField/PcbField.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/PcbField.js +317 -0
- package/dist/primitives/three/QuantumField/TrailRTT.d.ts +54 -0
- package/dist/primitives/three/QuantumField/TrailRTT.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/TrailRTT.js +176 -0
- package/dist/primitives/three/QuantumField/WaterField.d.ts +9 -0
- package/dist/primitives/three/QuantumField/WaterField.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/WaterField.js +179 -0
- package/dist/primitives/three/QuantumField/WaterSimRTT.d.ts +75 -0
- package/dist/primitives/three/QuantumField/WaterSimRTT.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/WaterSimRTT.js +238 -0
- package/dist/primitives/three/QuantumField/domMapping.d.ts +110 -0
- package/dist/primitives/three/QuantumField/domMapping.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/domMapping.js +124 -0
- package/dist/primitives/three/QuantumField/index.d.ts +29 -0
- package/dist/primitives/three/QuantumField/index.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/index.js +26 -0
- package/dist/primitives/three/QuantumField/styles/index.d.ts +9 -0
- package/dist/primitives/three/QuantumField/styles/index.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/styles/index.js +8 -0
- package/dist/primitives/three/QuantumField/styles/styleA.d.ts +56 -0
- package/dist/primitives/three/QuantumField/styles/styleA.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/styles/styleA.js +484 -0
- package/dist/primitives/three/QuantumField/styles/styleB.d.ts +128 -0
- package/dist/primitives/three/QuantumField/styles/styleB.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/styles/styleB.js +1134 -0
- package/dist/primitives/three/QuantumField/styles/styleC.d.ts +42 -0
- package/dist/primitives/three/QuantumField/styles/styleC.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/styles/styleC.js +244 -0
- package/dist/primitives/three/QuantumField/themes.d.ts +60 -0
- package/dist/primitives/three/QuantumField/themes.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/themes.js +182 -0
- package/dist/primitives/three/QuantumField/types.d.ts +261 -0
- package/dist/primitives/three/QuantumField/types.d.ts.map +1 -0
- package/dist/primitives/three/QuantumField/types.js +100 -0
- package/dist/primitives/three/SOCCommandCenter/SOCCommandCenter.d.ts +3 -0
- package/dist/primitives/three/SOCCommandCenter/SOCCommandCenter.d.ts.map +1 -0
- package/dist/primitives/three/SOCCommandCenter/SOCCommandCenter.js +80 -0
- package/dist/primitives/three/SOCCommandCenter/index.d.ts +20 -0
- package/dist/primitives/three/SOCCommandCenter/index.d.ts.map +1 -0
- package/dist/primitives/three/SOCCommandCenter/index.js +18 -0
- package/dist/primitives/three/SOCCommandCenter/types.d.ts +42 -0
- package/dist/primitives/three/SOCCommandCenter/types.d.ts.map +1 -0
- package/dist/primitives/three/SOCCommandCenter/types.js +157 -0
- package/dist/primitives/three/SecurityDashboard/SecurityDashboard.d.ts +6 -0
- package/dist/primitives/three/SecurityDashboard/SecurityDashboard.d.ts.map +1 -0
- package/dist/primitives/three/SecurityDashboard/SecurityDashboard.js +187 -0
- package/dist/primitives/three/SecurityDashboard/index.d.ts +29 -0
- package/dist/primitives/three/SecurityDashboard/index.d.ts.map +1 -0
- package/dist/primitives/three/SecurityDashboard/index.js +27 -0
- package/dist/primitives/three/SecurityDashboard/types.d.ts +110 -0
- package/dist/primitives/three/SecurityDashboard/types.d.ts.map +1 -0
- package/dist/primitives/three/SecurityDashboard/types.js +38 -0
- package/dist/primitives/three/SecurityShield/SecurityShield.d.ts +6 -0
- package/dist/primitives/three/SecurityShield/SecurityShield.d.ts.map +1 -0
- package/dist/primitives/three/SecurityShield/SecurityShield.js +200 -0
- package/dist/primitives/three/SecurityShield/index.d.ts +20 -0
- package/dist/primitives/three/SecurityShield/index.d.ts.map +1 -0
- package/dist/primitives/three/SecurityShield/index.js +18 -0
- package/dist/primitives/three/SecurityShield/types.d.ts +39 -0
- package/dist/primitives/three/SecurityShield/types.d.ts.map +1 -0
- package/dist/primitives/three/SecurityShield/types.js +27 -0
- package/dist/primitives/three/Sentinel/AvatarMode.d.ts +4 -0
- package/dist/primitives/three/Sentinel/AvatarMode.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/AvatarMode.js +443 -0
- package/dist/primitives/three/Sentinel/AvatarRenderer.d.ts +23 -0
- package/dist/primitives/three/Sentinel/AvatarRenderer.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/AvatarRenderer.js +112 -0
- package/dist/primitives/three/Sentinel/CameraPip.d.ts +10 -0
- package/dist/primitives/three/Sentinel/CameraPip.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/CameraPip.js +76 -0
- package/dist/primitives/three/Sentinel/CardinalItem.d.ts +5 -0
- package/dist/primitives/three/Sentinel/CardinalItem.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/CardinalItem.js +52 -0
- package/dist/primitives/three/Sentinel/CardinalMenu.d.ts +5 -0
- package/dist/primitives/three/Sentinel/CardinalMenu.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/CardinalMenu.js +255 -0
- package/dist/primitives/three/Sentinel/DockedMiniOrb.d.ts +4 -0
- package/dist/primitives/three/Sentinel/DockedMiniOrb.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/DockedMiniOrb.js +97 -0
- package/dist/primitives/three/Sentinel/RadialSubmenu.d.ts +5 -0
- package/dist/primitives/three/Sentinel/RadialSubmenu.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/RadialSubmenu.js +187 -0
- package/dist/primitives/three/Sentinel/SentinelConversation.d.ts +4 -0
- package/dist/primitives/three/Sentinel/SentinelConversation.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/SentinelConversation.js +405 -0
- package/dist/primitives/three/Sentinel/SentinelOrb.d.ts +4 -0
- package/dist/primitives/three/Sentinel/SentinelOrb.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/SentinelOrb.js +239 -0
- package/dist/primitives/three/Sentinel/SentinelOverlay.d.ts +4 -0
- package/dist/primitives/three/Sentinel/SentinelOverlay.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/SentinelOverlay.js +90 -0
- package/dist/primitives/three/Sentinel/SentinelProvider.d.ts +12 -0
- package/dist/primitives/three/Sentinel/SentinelProvider.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/SentinelProvider.js +81 -0
- package/dist/primitives/three/Sentinel/SentinelTether.d.ts +4 -0
- package/dist/primitives/three/Sentinel/SentinelTether.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/SentinelTether.js +71 -0
- package/dist/primitives/three/Sentinel/SigilPlaceholder.d.ts +6 -0
- package/dist/primitives/three/Sentinel/SigilPlaceholder.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/SigilPlaceholder.js +65 -0
- package/dist/primitives/three/Sentinel/VerticalSubmenu.d.ts +5 -0
- package/dist/primitives/three/Sentinel/VerticalSubmenu.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/VerticalSubmenu.js +105 -0
- package/dist/primitives/three/Sentinel/index.d.ts +67 -0
- package/dist/primitives/three/Sentinel/index.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/index.js +86 -0
- package/dist/primitives/three/Sentinel/sentinelStore.d.ts +33 -0
- package/dist/primitives/three/Sentinel/sentinelStore.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/sentinelStore.js +125 -0
- package/dist/primitives/three/Sentinel/types.d.ts +337 -0
- package/dist/primitives/three/Sentinel/types.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/types.js +6 -0
- package/dist/primitives/three/Sentinel/useCameraPermission.d.ts +9 -0
- package/dist/primitives/three/Sentinel/useCameraPermission.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/useCameraPermission.js +138 -0
- package/dist/primitives/three/Sentinel/useThrowPhysics.d.ts +9 -0
- package/dist/primitives/three/Sentinel/useThrowPhysics.d.ts.map +1 -0
- package/dist/primitives/three/Sentinel/useThrowPhysics.js +167 -0
- package/dist/primitives/three/SpatialWorkspace/CyntraWorkspace.d.ts +8 -0
- package/dist/primitives/three/SpatialWorkspace/CyntraWorkspace.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/CyntraWorkspace.js +54 -0
- package/dist/primitives/three/SpatialWorkspace/JobCluster.d.ts +3 -0
- package/dist/primitives/three/SpatialWorkspace/JobCluster.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/JobCluster.js +126 -0
- package/dist/primitives/three/SpatialWorkspace/NodeGraph.d.ts +3 -0
- package/dist/primitives/three/SpatialWorkspace/NodeGraph.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/NodeGraph.js +154 -0
- package/dist/primitives/three/SpatialWorkspace/ReceiptOrbit.d.ts +3 -0
- package/dist/primitives/three/SpatialWorkspace/ReceiptOrbit.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/ReceiptOrbit.js +135 -0
- package/dist/primitives/three/SpatialWorkspace/SpatialWorkspace.d.ts +3 -0
- package/dist/primitives/three/SpatialWorkspace/SpatialWorkspace.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/SpatialWorkspace.js +189 -0
- package/dist/primitives/three/SpatialWorkspace/TrustRings.d.ts +3 -0
- package/dist/primitives/three/SpatialWorkspace/TrustRings.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/TrustRings.js +63 -0
- package/dist/primitives/three/SpatialWorkspace/adapters.d.ts +56 -0
- package/dist/primitives/three/SpatialWorkspace/adapters.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/adapters.js +253 -0
- package/dist/primitives/three/SpatialWorkspace/index.d.ts +22 -0
- package/dist/primitives/three/SpatialWorkspace/index.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/index.js +17 -0
- package/dist/primitives/three/SpatialWorkspace/nexusAdapter.d.ts +53 -0
- package/dist/primitives/three/SpatialWorkspace/nexusAdapter.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/nexusAdapter.js +107 -0
- package/dist/primitives/three/SpatialWorkspace/types.d.ts +173 -0
- package/dist/primitives/three/SpatialWorkspace/types.d.ts.map +1 -0
- package/dist/primitives/three/SpatialWorkspace/types.js +170 -0
- package/dist/primitives/three/ThreatRadar/ThreatRadar.d.ts +12 -0
- package/dist/primitives/three/ThreatRadar/ThreatRadar.d.ts.map +1 -0
- package/dist/primitives/three/ThreatRadar/ThreatRadar.js +223 -0
- package/dist/primitives/three/ThreatRadar/index.d.ts +4 -0
- package/dist/primitives/three/ThreatRadar/index.d.ts.map +1 -0
- package/dist/primitives/three/ThreatRadar/index.js +2 -0
- package/dist/primitives/three/ThreatRadar/types.d.ts +74 -0
- package/dist/primitives/three/ThreatRadar/types.d.ts.map +1 -0
- package/dist/primitives/three/ThreatRadar/types.js +20 -0
- package/dist/primitives/three/index.d.ts +22 -0
- package/dist/primitives/three/index.d.ts.map +1 -0
- package/dist/primitives/three/index.js +37 -0
- package/dist/primitives/ui/alert-dialog.d.ts +15 -0
- package/dist/primitives/ui/alert-dialog.d.ts.map +1 -0
- package/dist/primitives/ui/alert-dialog.js +39 -0
- package/dist/primitives/ui/avatar.d.ts +7 -0
- package/dist/primitives/ui/avatar.d.ts.map +1 -0
- package/dist/primitives/ui/avatar.js +14 -0
- package/dist/primitives/ui/badge.d.ts +10 -0
- package/dist/primitives/ui/badge.d.ts.map +1 -0
- package/dist/primitives/ui/badge.js +22 -0
- package/dist/primitives/ui/button.d.ts +11 -0
- package/dist/primitives/ui/button.d.ts.map +1 -0
- package/dist/primitives/ui/button.js +33 -0
- package/dist/primitives/ui/dialog.d.ts +16 -0
- package/dist/primitives/ui/dialog.d.ts.map +1 -0
- package/dist/primitives/ui/dialog.js +36 -0
- package/dist/primitives/ui/dropdown-menu.d.ts +26 -0
- package/dist/primitives/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/primitives/ui/dropdown-menu.js +51 -0
- package/dist/primitives/ui/index.d.ts +19 -0
- package/dist/primitives/ui/index.d.ts.map +1 -0
- package/dist/primitives/ui/index.js +23 -0
- package/dist/primitives/ui/input.d.ts +4 -0
- package/dist/primitives/ui/input.d.ts.map +1 -0
- package/dist/primitives/ui/input.js +6 -0
- package/dist/primitives/ui/label.d.ts +5 -0
- package/dist/primitives/ui/label.d.ts.map +1 -0
- package/dist/primitives/ui/label.js +8 -0
- package/dist/primitives/ui/popover.d.ts +8 -0
- package/dist/primitives/ui/popover.d.ts.map +1 -0
- package/dist/primitives/ui/popover.js +17 -0
- package/dist/primitives/ui/scroll-area.d.ts +6 -0
- package/dist/primitives/ui/scroll-area.d.ts.map +1 -0
- package/dist/primitives/ui/scroll-area.js +11 -0
- package/dist/primitives/ui/select.d.ts +16 -0
- package/dist/primitives/ui/select.d.ts.map +1 -0
- package/dist/primitives/ui/select.js +38 -0
- package/dist/primitives/ui/separator.d.ts +5 -0
- package/dist/primitives/ui/separator.d.ts.map +1 -0
- package/dist/primitives/ui/separator.js +8 -0
- package/dist/primitives/ui/skeleton.d.ts +4 -0
- package/dist/primitives/ui/skeleton.d.ts.map +1 -0
- package/dist/primitives/ui/skeleton.js +6 -0
- package/dist/primitives/ui/switch.d.ts +5 -0
- package/dist/primitives/ui/switch.d.ts.map +1 -0
- package/dist/primitives/ui/switch.js +8 -0
- package/dist/primitives/ui/tabs.d.ts +8 -0
- package/dist/primitives/ui/tabs.d.ts.map +1 -0
- package/dist/primitives/ui/tabs.js +17 -0
- package/dist/primitives/ui/textarea.d.ts +4 -0
- package/dist/primitives/ui/textarea.d.ts.map +1 -0
- package/dist/primitives/ui/textarea.js +6 -0
- package/dist/primitives/ui/toggle.d.ts +10 -0
- package/dist/primitives/ui/toggle.d.ts.map +1 -0
- package/dist/primitives/ui/toggle.js +26 -0
- package/dist/primitives/ui/tooltip.d.ts +8 -0
- package/dist/primitives/ui/tooltip.d.ts.map +1 -0
- package/dist/primitives/ui/tooltip.js +17 -0
- package/dist/protocol/branded.d.ts +131 -0
- package/dist/protocol/branded.d.ts.map +1 -0
- package/dist/protocol/branded.js +133 -0
- package/dist/protocol/dom.d.ts +148 -0
- package/dist/protocol/dom.d.ts.map +1 -0
- package/dist/protocol/dom.js +300 -0
- package/dist/protocol/index.d.ts +9 -0
- package/dist/protocol/index.d.ts.map +1 -0
- package/dist/protocol/index.js +30 -0
- package/dist/protocol/schema.d.ts +854 -0
- package/dist/protocol/schema.d.ts.map +1 -0
- package/dist/protocol/schema.js +155 -0
- package/dist/protocol/types.d.ts +256 -0
- package/dist/protocol/types.d.ts.map +1 -0
- package/dist/protocol/types.js +6 -0
- package/dist/speakeasy/SpeakeasyProvider.d.ts +57 -0
- package/dist/speakeasy/SpeakeasyProvider.d.ts.map +1 -0
- package/dist/speakeasy/SpeakeasyProvider.js +249 -0
- package/dist/speakeasy/auth/CapabilityIssuer.d.ts +22 -0
- package/dist/speakeasy/auth/CapabilityIssuer.d.ts.map +1 -0
- package/dist/speakeasy/auth/CapabilityIssuer.js +70 -0
- package/dist/speakeasy/auth/SpeakeasyAuth.d.ts +43 -0
- package/dist/speakeasy/auth/SpeakeasyAuth.d.ts.map +1 -0
- package/dist/speakeasy/auth/SpeakeasyAuth.js +147 -0
- package/dist/speakeasy/auth/crypto.d.ts +12 -0
- package/dist/speakeasy/auth/crypto.d.ts.map +1 -0
- package/dist/speakeasy/auth/crypto.js +68 -0
- package/dist/speakeasy/auth/deviceSecret.d.ts +17 -0
- package/dist/speakeasy/auth/deviceSecret.d.ts.map +1 -0
- package/dist/speakeasy/auth/deviceSecret.js +62 -0
- package/dist/speakeasy/auth/storage.d.ts +62 -0
- package/dist/speakeasy/auth/storage.d.ts.map +1 -0
- package/dist/speakeasy/auth/storage.js +344 -0
- package/dist/speakeasy/components/SpeakeasyConsentDialog.d.ts +24 -0
- package/dist/speakeasy/components/SpeakeasyConsentDialog.d.ts.map +1 -0
- package/dist/speakeasy/components/SpeakeasyConsentDialog.js +181 -0
- package/dist/speakeasy/components/SpeakeasyOrb.d.ts +14 -0
- package/dist/speakeasy/components/SpeakeasyOrb.d.ts.map +1 -0
- package/dist/speakeasy/components/SpeakeasyOrb.js +128 -0
- package/dist/speakeasy/components/SpeakeasyRegistrationDialog.d.ts +9 -0
- package/dist/speakeasy/components/SpeakeasyRegistrationDialog.d.ts.map +1 -0
- package/dist/speakeasy/components/SpeakeasyRegistrationDialog.js +93 -0
- package/dist/speakeasy/components/SpeakeasyRitualPad.d.ts +18 -0
- package/dist/speakeasy/components/SpeakeasyRitualPad.d.ts.map +1 -0
- package/dist/speakeasy/components/SpeakeasyRitualPad.js +63 -0
- package/dist/speakeasy/doorman/DoormanStateMachine.d.ts +40 -0
- package/dist/speakeasy/doorman/DoormanStateMachine.d.ts.map +1 -0
- package/dist/speakeasy/doorman/DoormanStateMachine.js +393 -0
- package/dist/speakeasy/doorman/panic.d.ts +10 -0
- package/dist/speakeasy/doorman/panic.d.ts.map +1 -0
- package/dist/speakeasy/doorman/panic.js +28 -0
- package/dist/speakeasy/hooks/useGestureRecognizer.d.ts +48 -0
- package/dist/speakeasy/hooks/useGestureRecognizer.d.ts.map +1 -0
- package/dist/speakeasy/hooks/useGestureRecognizer.js +337 -0
- package/dist/speakeasy/index.d.ts +47 -0
- package/dist/speakeasy/index.d.ts.map +1 -0
- package/dist/speakeasy/index.js +53 -0
- package/dist/speakeasy/types.d.ts +203 -0
- package/dist/speakeasy/types.d.ts.map +1 -0
- package/dist/speakeasy/types.js +52 -0
- package/dist/speakeasy/useSpeakeasy.d.ts +2 -0
- package/dist/speakeasy/useSpeakeasy.d.ts.map +1 -0
- package/dist/speakeasy/useSpeakeasy.js +1 -0
- package/dist/styles.css +1 -0
- package/dist/theme/UiThemeProvider.d.ts +42 -0
- package/dist/theme/UiThemeProvider.d.ts.map +1 -0
- package/dist/theme/UiThemeProvider.js +126 -0
- package/dist/theme/index.d.ts +12 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +12 -0
- package/dist/theme/nebula.d.ts +9 -0
- package/dist/theme/nebula.d.ts.map +1 -0
- package/dist/theme/nebula.js +113 -0
- package/dist/theme/registry.d.ts +24 -0
- package/dist/theme/registry.d.ts.map +1 -0
- package/dist/theme/registry.js +250 -0
- package/dist/theme/solarpunk.d.ts +9 -0
- package/dist/theme/solarpunk.d.ts.map +1 -0
- package/dist/theme/solarpunk.js +118 -0
- package/dist/theme/types.d.ts +233 -0
- package/dist/theme/types.d.ts.map +1 -0
- package/dist/theme/types.js +7 -0
- package/dist/vision/adapters/canvasCapture.d.ts +24 -0
- package/dist/vision/adapters/canvasCapture.d.ts.map +1 -0
- package/dist/vision/adapters/canvasCapture.js +64 -0
- package/dist/vision/adapters/raymondAdapter.d.ts +62 -0
- package/dist/vision/adapters/raymondAdapter.d.ts.map +1 -0
- package/dist/vision/adapters/raymondAdapter.js +227 -0
- package/dist/vision/hooks/useVisionCaptureController.d.ts +21 -0
- package/dist/vision/hooks/useVisionCaptureController.d.ts.map +1 -0
- package/dist/vision/hooks/useVisionCaptureController.js +55 -0
- package/dist/vision/index.d.ts +6 -0
- package/dist/vision/index.d.ts.map +1 -0
- package/dist/vision/index.js +5 -0
- package/dist/vision/raymond/camera.d.ts +36 -0
- package/dist/vision/raymond/camera.d.ts.map +1 -0
- package/dist/vision/raymond/camera.js +129 -0
- package/dist/vision/raymond/canvas/Eye.d.ts +12 -0
- package/dist/vision/raymond/canvas/Eye.d.ts.map +1 -0
- package/dist/vision/raymond/canvas/Eye.js +50 -0
- package/dist/vision/raymond/canvas/PointLight.d.ts +12 -0
- package/dist/vision/raymond/canvas/PointLight.d.ts.map +1 -0
- package/dist/vision/raymond/canvas/PointLight.js +20 -0
- package/dist/vision/raymond/canvas/lightingModel.d.ts +26 -0
- package/dist/vision/raymond/canvas/lightingModel.d.ts.map +1 -0
- package/dist/vision/raymond/canvas/lightingModel.js +1 -0
- package/dist/vision/raymond/canvas/lightingModelRegistry.d.ts +12 -0
- package/dist/vision/raymond/canvas/lightingModelRegistry.d.ts.map +1 -0
- package/dist/vision/raymond/canvas/lightingModelRegistry.js +33 -0
- package/dist/vision/raymond/canvas/models/phongTracingModel.d.ts +13 -0
- package/dist/vision/raymond/canvas/models/phongTracingModel.d.ts.map +1 -0
- package/dist/vision/raymond/canvas/models/phongTracingModel.js +72 -0
- package/dist/vision/raymond/canvas/optics.d.ts +37 -0
- package/dist/vision/raymond/canvas/optics.d.ts.map +1 -0
- package/dist/vision/raymond/canvas/optics.js +343 -0
- package/dist/vision/raymond/index.d.ts +15 -0
- package/dist/vision/raymond/index.d.ts.map +1 -0
- package/dist/vision/raymond/index.js +14 -0
- package/dist/vision/raymond/math.d.ts +39 -0
- package/dist/vision/raymond/math.d.ts.map +1 -0
- package/dist/vision/raymond/math.js +162 -0
- package/dist/vision/raymond/shapes.d.ts +37 -0
- package/dist/vision/raymond/shapes.d.ts.map +1 -0
- package/dist/vision/raymond/shapes.js +123 -0
- package/dist/vision/raymond/shared/color.d.ts +18 -0
- package/dist/vision/raymond/shared/color.d.ts.map +1 -0
- package/dist/vision/raymond/shared/color.js +12 -0
- package/dist/vision/raymond/shared/material.d.ts +13 -0
- package/dist/vision/raymond/shared/material.d.ts.map +1 -0
- package/dist/vision/raymond/shared/material.js +12 -0
- package/dist/vision/raymond/shared/util.d.ts +2 -0
- package/dist/vision/raymond/shared/util.d.ts.map +1 -0
- package/dist/vision/raymond/shared/util.js +3 -0
- package/dist/vision/raymond/transform.d.ts +24 -0
- package/dist/vision/raymond/transform.d.ts.map +1 -0
- package/dist/vision/raymond/transform.js +86 -0
- package/dist/vision/raymond/types.d.ts +33 -0
- package/dist/vision/raymond/types.d.ts.map +1 -0
- package/dist/vision/raymond/types.js +1 -0
- package/dist/vision/types.d.ts +72 -0
- package/dist/vision/types.d.ts.map +1 -0
- package/dist/vision/types.js +1 -0
- package/dist/workspace/WorkspaceRenderer.d.ts +34 -0
- package/dist/workspace/WorkspaceRenderer.d.ts.map +1 -0
- package/dist/workspace/WorkspaceRenderer.js +292 -0
- package/dist/workspace/componentBindings.d.ts +26 -0
- package/dist/workspace/componentBindings.d.ts.map +1 -0
- package/dist/workspace/componentBindings.js +260 -0
- package/dist/workspace/index.d.ts +28 -0
- package/dist/workspace/index.d.ts.map +1 -0
- package/dist/workspace/index.js +27 -0
- package/dist/workspace/registry/index.d.ts +24 -0
- package/dist/workspace/registry/index.d.ts.map +1 -0
- package/dist/workspace/registry/index.js +23 -0
- package/dist/workspace/registry/manifests/atoms.d.ts +13 -0
- package/dist/workspace/registry/manifests/atoms.d.ts.map +1 -0
- package/dist/workspace/registry/manifests/atoms.js +462 -0
- package/dist/workspace/registry/manifests/index.d.ts +23 -0
- package/dist/workspace/registry/manifests/index.d.ts.map +1 -0
- package/dist/workspace/registry/manifests/index.js +38 -0
- package/dist/workspace/registry/manifests/layouts.d.ts +10 -0
- package/dist/workspace/registry/manifests/layouts.d.ts.map +1 -0
- package/dist/workspace/registry/manifests/layouts.js +268 -0
- package/dist/workspace/registry/manifests/molecules.d.ts +10 -0
- package/dist/workspace/registry/manifests/molecules.d.ts.map +1 -0
- package/dist/workspace/registry/manifests/molecules.js +276 -0
- package/dist/workspace/registry/manifests/organisms.d.ts +10 -0
- package/dist/workspace/registry/manifests/organisms.d.ts.map +1 -0
- package/dist/workspace/registry/manifests/organisms.js +267 -0
- package/dist/workspace/registry/manifests/three.d.ts +9 -0
- package/dist/workspace/registry/manifests/three.d.ts.map +1 -0
- package/dist/workspace/registry/manifests/three.js +210 -0
- package/dist/workspace/registry/registry.d.ts +22 -0
- package/dist/workspace/registry/registry.d.ts.map +1 -0
- package/dist/workspace/registry/registry.js +232 -0
- package/dist/workspace/registry/types.d.ts +133 -0
- package/dist/workspace/registry/types.d.ts.map +1 -0
- package/dist/workspace/registry/types.js +7 -0
- package/dist/workspace/types.d.ts +263 -0
- package/dist/workspace/types.d.ts.map +1 -0
- package/dist/workspace/types.js +7 -0
- package/dist/workspace/validation.d.ts +19 -0
- package/dist/workspace/validation.d.ts.map +1 -0
- package/dist/workspace/validation.js +331 -0
- package/package.json +172 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { newPoint, vec_sub } from "../math";
|
|
2
|
+
import { apply, inverse, transformObject } from "../transform";
|
|
3
|
+
const MAX_RAYS = 60;
|
|
4
|
+
export class Eye {
|
|
5
|
+
transform;
|
|
6
|
+
numRays = MAX_RAYS;
|
|
7
|
+
fov = Math.PI / 4;
|
|
8
|
+
constructor(transform) {
|
|
9
|
+
this.transform = transform;
|
|
10
|
+
}
|
|
11
|
+
hitTest(worldPoint) {
|
|
12
|
+
const local = apply(inverse(this.transform), worldPoint);
|
|
13
|
+
if (local.x >= -1 &&
|
|
14
|
+
local.x <= 0.2 &&
|
|
15
|
+
local.y >= -0.8 &&
|
|
16
|
+
local.y <= 0.4) {
|
|
17
|
+
return true;
|
|
18
|
+
}
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
// Returns the relative positions in local space of the object's handle
|
|
22
|
+
handlePositions() {
|
|
23
|
+
const rotation = newPoint(0, 1.2);
|
|
24
|
+
// FOV of pi <-> x = 0
|
|
25
|
+
// FOV of 0 <-> x = 1
|
|
26
|
+
const lensX = 1 - this.fov / Math.PI;
|
|
27
|
+
// 1 ray <-> y = 0
|
|
28
|
+
// max rays <-> y = 1
|
|
29
|
+
const lensY = (this.numRays - 1) / MAX_RAYS;
|
|
30
|
+
return [rotation, newPoint(lensX, lensY)];
|
|
31
|
+
}
|
|
32
|
+
// TODO: Would be cleaner for shapes not to know about their handles
|
|
33
|
+
handleMoved(handleIndex, _, newPos) {
|
|
34
|
+
if (handleIndex === 0) {
|
|
35
|
+
// We are rotating the shape. The centre of the shape, top of the shape, and mouse position should be collinear.
|
|
36
|
+
const shapeCentreWorld = apply(this.transform, newPoint(0, 0));
|
|
37
|
+
const d = vec_sub(newPos, shapeCentreWorld);
|
|
38
|
+
const theta = Math.atan2(d.y, d.x);
|
|
39
|
+
this.transform = transformObject(this.transform, (o) => ({
|
|
40
|
+
...o,
|
|
41
|
+
rotation: theta - Math.PI / 2,
|
|
42
|
+
}));
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const posLocal = apply(inverse(this.transform), newPos);
|
|
46
|
+
this.fov = Math.max(0, Math.min(Math.PI, (1 - posLocal.x) * Math.PI));
|
|
47
|
+
this.numRays = Math.max(1, Math.min(MAX_RAYS, 1 + posLocal.y * MAX_RAYS));
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Vec3 } from "../math";
|
|
2
|
+
import type { Color } from "../shared/color";
|
|
3
|
+
import { type Transform } from "../transform";
|
|
4
|
+
export declare class PointLight {
|
|
5
|
+
color: Color;
|
|
6
|
+
transform: Transform;
|
|
7
|
+
constructor(color: Color, transform: Transform);
|
|
8
|
+
hitTest(pointWorld: Vec3): boolean;
|
|
9
|
+
handlePositions(): Vec3[];
|
|
10
|
+
handleMoved(): void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PointLight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PointLight.d.ts","sourceRoot":"","sources":["../../../../src/vision/raymond/canvas/PointLight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9D,qBAAa,UAAU;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,SAAS,CAAC;gBAET,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAK9C,OAAO,CAAC,UAAU,EAAE,IAAI,GAAG,OAAO;IAOlC,eAAe,IAAI,IAAI,EAAE;IAIzB,WAAW;CACd"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { newPoint, vec_magnitude, vec_sub } from "../math";
|
|
2
|
+
import { apply, inverse } from "../transform";
|
|
3
|
+
export class PointLight {
|
|
4
|
+
color;
|
|
5
|
+
transform;
|
|
6
|
+
constructor(color, transform) {
|
|
7
|
+
this.color = color;
|
|
8
|
+
this.transform = transform;
|
|
9
|
+
}
|
|
10
|
+
hitTest(pointWorld) {
|
|
11
|
+
const pointLocal = apply(inverse(this.transform), pointWorld);
|
|
12
|
+
console.log(pointLocal);
|
|
13
|
+
return vec_magnitude(vec_sub(pointLocal, newPoint(0, 0))) < 0.3;
|
|
14
|
+
}
|
|
15
|
+
// Returns the relative positions in local space of the object's handle
|
|
16
|
+
handlePositions() {
|
|
17
|
+
return [];
|
|
18
|
+
}
|
|
19
|
+
handleMoved() { }
|
|
20
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Eye } from "./Eye";
|
|
2
|
+
import type { Shape } from "../shapes";
|
|
3
|
+
import type { PointLight } from "./PointLight";
|
|
4
|
+
import type { OpticsResult } from "./optics";
|
|
5
|
+
export interface LightingModelParameter {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
type: "boolean" | "number" | "select";
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
step?: number;
|
|
12
|
+
default: unknown;
|
|
13
|
+
options?: {
|
|
14
|
+
label: string;
|
|
15
|
+
value: unknown;
|
|
16
|
+
}[];
|
|
17
|
+
}
|
|
18
|
+
export type LightingModelParams = Record<string, unknown>;
|
|
19
|
+
export interface LightingModel {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
parameters: LightingModelParameter[];
|
|
24
|
+
computeSegments(eye: Eye, shapes: Shape[], lights: PointLight[], params: LightingModelParams): OpticsResult;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=lightingModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightingModel.d.ts","sourceRoot":"","sources":["../../../../src/vision/raymond/canvas/lightingModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,EAAE,CAAC;CACjD;AAED,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,sBAAsB,EAAE,CAAC;IACrC,eAAe,CACX,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,KAAK,EAAE,EACf,MAAM,EAAE,UAAU,EAAE,EACpB,MAAM,EAAE,mBAAmB,GAC5B,YAAY,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LightingModel } from "./lightingModel";
|
|
2
|
+
export declare class LightingModelRegistry {
|
|
3
|
+
private models;
|
|
4
|
+
private defaultModelId;
|
|
5
|
+
register(id: string, model: LightingModel, isDefault?: boolean): void;
|
|
6
|
+
get(id: string): LightingModel | undefined;
|
|
7
|
+
getAll(): LightingModel[];
|
|
8
|
+
getDefault(): LightingModel;
|
|
9
|
+
getDefaultId(): string;
|
|
10
|
+
}
|
|
11
|
+
export declare const lightingModelRegistry: LightingModelRegistry;
|
|
12
|
+
//# sourceMappingURL=lightingModelRegistry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightingModelRegistry.d.ts","sourceRoot":"","sources":["../../../../src/vision/raymond/canvas/lightingModelRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,qBAAa,qBAAqB;IAC9B,OAAO,CAAC,MAAM,CAAyC;IACvD,OAAO,CAAC,cAAc,CAAuB;IAE7C,QAAQ,CACJ,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,aAAa,EACpB,SAAS,GAAE,OAAe,GAC3B,IAAI;IAOP,GAAG,CAAC,EAAE,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS;IAI1C,MAAM,IAAI,aAAa,EAAE;IAIzB,UAAU,IAAI,aAAa;IAa3B,YAAY,IAAI,MAAM;CAMzB;AAED,eAAO,MAAM,qBAAqB,uBAA8B,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export class LightingModelRegistry {
|
|
2
|
+
models = new Map();
|
|
3
|
+
defaultModelId = null;
|
|
4
|
+
register(id, model, isDefault = false) {
|
|
5
|
+
this.models.set(id, model);
|
|
6
|
+
if (isDefault || this.defaultModelId === null) {
|
|
7
|
+
this.defaultModelId = id;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
get(id) {
|
|
11
|
+
return this.models.get(id);
|
|
12
|
+
}
|
|
13
|
+
getAll() {
|
|
14
|
+
return Array.from(this.models.values());
|
|
15
|
+
}
|
|
16
|
+
getDefault() {
|
|
17
|
+
if (this.defaultModelId === null) {
|
|
18
|
+
throw new Error("No default lighting model registered");
|
|
19
|
+
}
|
|
20
|
+
const model = this.models.get(this.defaultModelId);
|
|
21
|
+
if (!model) {
|
|
22
|
+
throw new Error(`Default lighting model "${this.defaultModelId}" not found`);
|
|
23
|
+
}
|
|
24
|
+
return model;
|
|
25
|
+
}
|
|
26
|
+
getDefaultId() {
|
|
27
|
+
if (this.defaultModelId === null) {
|
|
28
|
+
throw new Error("No default lighting model registered");
|
|
29
|
+
}
|
|
30
|
+
return this.defaultModelId;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export const lightingModelRegistry = new LightingModelRegistry();
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LightingModel, LightingModelParameter, LightingModelParams } from "../lightingModel";
|
|
2
|
+
import type { OpticsResult } from "../optics";
|
|
3
|
+
import type { Eye } from "../Eye";
|
|
4
|
+
import type { Shape } from "../../shapes";
|
|
5
|
+
import type { PointLight } from "../PointLight";
|
|
6
|
+
export declare class PhongTracingModel implements LightingModel {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
parameters: LightingModelParameter[];
|
|
11
|
+
computeSegments(eye: Eye, shapes: Shape[], lights: PointLight[], params: LightingModelParams): OpticsResult;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=phongTracingModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phongTracingModel.d.ts","sourceRoot":"","sources":["../../../../../src/vision/raymond/canvas/models/phongTracingModel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,qBAAa,iBAAkB,YAAW,aAAa;IACnD,EAAE,SAAmB;IACrB,IAAI,SAAuB;IAC3B,WAAW,SACgE;IAE3E,UAAU,EAAE,sBAAsB,EAAE,CAwDlC;IAEF,eAAe,CACX,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,KAAK,EAAE,EACf,MAAM,EAAE,UAAU,EAAE,EACpB,MAAM,EAAE,mBAAmB,GAC5B,YAAY;CAoBlB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { computeSegments as computeOpticsSegments } from "../optics";
|
|
2
|
+
export class PhongTracingModel {
|
|
3
|
+
id = "phong-tracing";
|
|
4
|
+
name = "Phong Ray Tracing";
|
|
5
|
+
description = "Classic ray tracing with Phong shading, reflections, and refractions";
|
|
6
|
+
parameters = [
|
|
7
|
+
{
|
|
8
|
+
id: "maxDepth",
|
|
9
|
+
name: "Max Recursion Depth",
|
|
10
|
+
type: "number",
|
|
11
|
+
min: 1,
|
|
12
|
+
max: 20,
|
|
13
|
+
step: 1,
|
|
14
|
+
default: 10,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: "schlickEnabled",
|
|
18
|
+
name: "Fresnel Reflections (Schlick)",
|
|
19
|
+
type: "boolean",
|
|
20
|
+
default: true,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "showInfiniteRays",
|
|
24
|
+
name: "Show Rays to Infinity (Slow!)",
|
|
25
|
+
type: "boolean",
|
|
26
|
+
default: false,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
id: "showVisionBoundaries",
|
|
30
|
+
name: "Show Vision Cell Boundaries",
|
|
31
|
+
type: "boolean",
|
|
32
|
+
default: false,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: "showNormals",
|
|
36
|
+
name: "Show Normal Vectors",
|
|
37
|
+
type: "boolean",
|
|
38
|
+
default: false,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "showShadowRays",
|
|
42
|
+
name: "Show Shadow Rays",
|
|
43
|
+
type: "boolean",
|
|
44
|
+
default: false,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
id: "showReflections",
|
|
48
|
+
name: "Show Reflection Angle",
|
|
49
|
+
type: "boolean",
|
|
50
|
+
default: false,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
id: "visionPosition",
|
|
54
|
+
name: "Vision Rectangle Position",
|
|
55
|
+
type: "select",
|
|
56
|
+
default: "bottom",
|
|
57
|
+
options: [
|
|
58
|
+
{ label: "Bottom", value: "bottom" },
|
|
59
|
+
{ label: "Left", value: "left" },
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
];
|
|
63
|
+
computeSegments(eye, shapes, lights, params) {
|
|
64
|
+
const maxDepth = params.maxDepth ?? 10;
|
|
65
|
+
const schlickEnabled = params.schlickEnabled ?? true;
|
|
66
|
+
const showInfiniteRays = params.showInfiniteRays ?? false;
|
|
67
|
+
const showNormals = params.showNormals ?? false;
|
|
68
|
+
const showShadowRays = params.showShadowRays ?? false;
|
|
69
|
+
const showReflections = params.showReflections ?? false;
|
|
70
|
+
return computeOpticsSegments(eye, shapes, lights, maxDepth, schlickEnabled, showInfiniteRays, showNormals, showShadowRays, showReflections);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type Vec3 } from "../math";
|
|
2
|
+
import { Shape } from "../shapes";
|
|
3
|
+
import { type Color } from "../shared/color";
|
|
4
|
+
import { Eye } from "./Eye";
|
|
5
|
+
import type { PointLight } from "./PointLight";
|
|
6
|
+
export interface RaySegment {
|
|
7
|
+
start: Vec3;
|
|
8
|
+
end: Vec3;
|
|
9
|
+
color: Color;
|
|
10
|
+
attenuation: number;
|
|
11
|
+
dashed?: boolean;
|
|
12
|
+
normal?: Vec3;
|
|
13
|
+
reflect?: Vec3;
|
|
14
|
+
}
|
|
15
|
+
export declare function setLogging(logging: boolean): void;
|
|
16
|
+
export interface OpticsResult {
|
|
17
|
+
segments: RaySegment[];
|
|
18
|
+
vision: Color[];
|
|
19
|
+
shadowRays: RaySegment[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns all ray segments generated by the given laser.
|
|
23
|
+
* This amounts to traversing a tree:
|
|
24
|
+
* - The root node represents the laser source
|
|
25
|
+
* - Leaf nodes represent the infinitely distant endpoints of segments that don't hit any shape
|
|
26
|
+
* - All intermediate nodes represent the intersection of a segment with some shape in the scene.
|
|
27
|
+
* It's a tree, not a list, because when a beam hits a surface it will typically generate (at least) one reflected
|
|
28
|
+
* ray and (at least) one refracted ray, depending on the material properties.
|
|
29
|
+
* Each edge (segment) needs to be appended to the return array. Its color depends on the color of its child edges,
|
|
30
|
+
* and on the material properties of its child node (intersection point).
|
|
31
|
+
* @param eye
|
|
32
|
+
* @param shapes
|
|
33
|
+
* @returns
|
|
34
|
+
*/
|
|
35
|
+
export declare function computeSegments(eye: Eye, shapes: Shape[], lights: PointLight[], maxDepth?: number, schlickEnabled?: boolean, showInfiniteRays?: boolean, showNormals?: boolean, showShadowRays?: boolean, showReflections?: boolean): OpticsResult;
|
|
36
|
+
export declare function toggleSchlick(): void;
|
|
37
|
+
//# sourceMappingURL=optics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optics.d.ts","sourceRoot":"","sources":["../../../../src/vision/raymond/canvas/optics.ts"],"names":[],"mappings":"AAGA,OAAO,EASH,KAAK,IAAI,EACZ,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,KAAK,EAAqB,MAAM,WAAW,CAAC;AACrD,OAAO,EAIH,KAAK,KAAK,EACb,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,IAAI,CAAC;IACZ,GAAG,EAAE,IAAI,CAAC;IACV,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,OAAO,CAAC,EAAE,IAAI,CAAC;CAClB;AAyBD,wBAAgB,UAAU,CAAC,OAAO,EAAE,OAAO,QAE1C;AAED,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,UAAU,EAAE,UAAU,EAAE,CAAC;CAC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAC3B,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,KAAK,EAAE,EACf,MAAM,EAAE,UAAU,EAAE,EACpB,QAAQ,GAAE,MAAW,EACrB,cAAc,GAAE,OAAc,EAC9B,gBAAgB,GAAE,OAAe,EACjC,WAAW,GAAE,OAAe,EAC5B,cAAc,GAAE,OAAe,EAC/B,eAAe,GAAE,OAAe,GACjC,YAAY,CA0Dd;AAuOD,wBAAgB,aAAa,SAE5B"}
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
/* This module handles the calculations of which ray segments should appear in the scene, given the locations
|
|
2
|
+
of light sources and objects. */
|
|
3
|
+
import { newPoint, newVector, vec_add, vec_dot, vec_magnitude, vec_mul, vec_normalize, vec_sub, } from "../math";
|
|
4
|
+
import { color_add, color_hadamard, color_mul, } from "../shared/color";
|
|
5
|
+
import { apply, toObjectTransform } from "../transform";
|
|
6
|
+
const BLACK = { r: 0, g: 0, b: 0 };
|
|
7
|
+
let SCHLICK_ENABLED = true;
|
|
8
|
+
let SHOW_INFINITE_RAYS = false;
|
|
9
|
+
let SHOW_NORMALS = false;
|
|
10
|
+
let SHOW_REFLECTIONS = false;
|
|
11
|
+
let SHOW_SHADOW_RAYS = false;
|
|
12
|
+
let shadowRays = [];
|
|
13
|
+
let doLogging = false;
|
|
14
|
+
export function setLogging(logging) {
|
|
15
|
+
doLogging = logging;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Returns all ray segments generated by the given laser.
|
|
19
|
+
* This amounts to traversing a tree:
|
|
20
|
+
* - The root node represents the laser source
|
|
21
|
+
* - Leaf nodes represent the infinitely distant endpoints of segments that don't hit any shape
|
|
22
|
+
* - All intermediate nodes represent the intersection of a segment with some shape in the scene.
|
|
23
|
+
* It's a tree, not a list, because when a beam hits a surface it will typically generate (at least) one reflected
|
|
24
|
+
* ray and (at least) one refracted ray, depending on the material properties.
|
|
25
|
+
* Each edge (segment) needs to be appended to the return array. Its color depends on the color of its child edges,
|
|
26
|
+
* and on the material properties of its child node (intersection point).
|
|
27
|
+
* @param eye
|
|
28
|
+
* @param shapes
|
|
29
|
+
* @returns
|
|
30
|
+
*/
|
|
31
|
+
export function computeSegments(eye, shapes, lights, maxDepth = 10, schlickEnabled = true, showInfiniteRays = false, showNormals = false, showShadowRays = false, showReflections = false) {
|
|
32
|
+
// Store the parameters in module state for use in child functions
|
|
33
|
+
SCHLICK_ENABLED = schlickEnabled;
|
|
34
|
+
SHOW_INFINITE_RAYS = showInfiniteRays;
|
|
35
|
+
SHOW_NORMALS = showNormals;
|
|
36
|
+
SHOW_SHADOW_RAYS = showShadowRays;
|
|
37
|
+
SHOW_REFLECTIONS = showReflections;
|
|
38
|
+
shadowRays = [];
|
|
39
|
+
if (doLogging) {
|
|
40
|
+
console.log("Computing segments for eye: ", eye);
|
|
41
|
+
}
|
|
42
|
+
// Calculate initial rays
|
|
43
|
+
const eyePos = apply(eye.transform, newPoint(0, 0));
|
|
44
|
+
const eyeDir = vec_normalize(vec_sub(apply(eye.transform, newPoint(1, 0)), apply(eye.transform, newPoint(0, 0))));
|
|
45
|
+
const filmCentre = vec_add(eyePos, eyeDir);
|
|
46
|
+
const filmParallel = newVector(eyeDir.y, -eyeDir.x);
|
|
47
|
+
const halfWidth = Math.tan(eye.fov / 2);
|
|
48
|
+
const pixelStep = (2 * halfWidth) / eye.numRays;
|
|
49
|
+
const rays = [];
|
|
50
|
+
// There's got to be a better way to do this, but it's 10pm and I'm tired.
|
|
51
|
+
for (let i = -Math.floor(eye.numRays / 2); i < Math.floor(eye.numRays / 2) + 1; i++) {
|
|
52
|
+
const filmPos = vec_add(filmCentre, vec_mul(filmParallel, i * pixelStep));
|
|
53
|
+
rays.push({
|
|
54
|
+
start: eyePos,
|
|
55
|
+
direction: vec_normalize(vec_sub(filmPos, eyePos)),
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
let allSegments = [];
|
|
59
|
+
const vision = [];
|
|
60
|
+
for (const ray of rays) {
|
|
61
|
+
const segments = castRay(shapes, lights, ray, maxDepth, 1);
|
|
62
|
+
if (segments.length === 0) {
|
|
63
|
+
vision.push(BLACK);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
vision.push(segments[0].color);
|
|
67
|
+
}
|
|
68
|
+
allSegments = allSegments.concat(segments);
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
segments: allSegments,
|
|
72
|
+
vision,
|
|
73
|
+
shadowRays,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function castRay(shapes, lights, ray, remaining, attenuation) {
|
|
77
|
+
const intersections = shapes.flatMap((shape) => shape.intersect(ray).map((t) => ({ t, shape })));
|
|
78
|
+
intersections.sort((a, b) => a.t - b.t);
|
|
79
|
+
// The "hit" is the first intersection in front of the ray source.
|
|
80
|
+
// If no hit, then there are no more segments along this path.
|
|
81
|
+
const hit = intersections.find((x) => x.t >= 0);
|
|
82
|
+
if (!hit) {
|
|
83
|
+
// If we should show infinite rays, create a dashed white segment
|
|
84
|
+
if (SHOW_INFINITE_RAYS) {
|
|
85
|
+
// Project the ray out to a reasonable distance (e.g., 100 units)
|
|
86
|
+
const infiniteDistance = 100;
|
|
87
|
+
const end = vec_add(ray.start, vec_mul(ray.direction, infiniteDistance));
|
|
88
|
+
return [
|
|
89
|
+
{
|
|
90
|
+
start: ray.start,
|
|
91
|
+
end: end,
|
|
92
|
+
color: BLACK,
|
|
93
|
+
attenuation: attenuation,
|
|
94
|
+
dashed: true,
|
|
95
|
+
},
|
|
96
|
+
];
|
|
97
|
+
}
|
|
98
|
+
return [];
|
|
99
|
+
}
|
|
100
|
+
const hitPoint = pointOnRay(ray, hit.t);
|
|
101
|
+
const data = computeIntersectionData(hit, ray, intersections);
|
|
102
|
+
if (doLogging) {
|
|
103
|
+
console.log("Intersection data:");
|
|
104
|
+
console.log(data);
|
|
105
|
+
}
|
|
106
|
+
// Shade hit
|
|
107
|
+
let surface = BLACK;
|
|
108
|
+
if (lights.length > 0) {
|
|
109
|
+
for (const light of lights) {
|
|
110
|
+
const shadowed = isShadowed(data.overPoint, shapes, light);
|
|
111
|
+
surface = color_add(surface, lighting(data, light, shadowed));
|
|
112
|
+
// Generate shadow rays if enabled
|
|
113
|
+
if (SHOW_SHADOW_RAYS) {
|
|
114
|
+
generateShadowRay(data, light, shapes);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
surface = data.shape.material.color;
|
|
120
|
+
}
|
|
121
|
+
surface = color_mul(surface, 1 - data.shape.material.transparency);
|
|
122
|
+
const reflected = castReflectedRay(shapes, lights, data, remaining, attenuation);
|
|
123
|
+
const refracted = castRefractedRay(shapes, lights, data, remaining, attenuation);
|
|
124
|
+
const reflectedColor = color_mul(reflected[0]?.color ?? BLACK, data.shape.material.reflectivity);
|
|
125
|
+
const refractedColor = color_mul(refracted[0]?.color ?? BLACK, data.shape.material.transparency);
|
|
126
|
+
if (doLogging) {
|
|
127
|
+
console.log("reflected color: ", reflectedColor);
|
|
128
|
+
console.log("refracted color: ", refractedColor);
|
|
129
|
+
}
|
|
130
|
+
let color;
|
|
131
|
+
const material = data.shape.material;
|
|
132
|
+
if (SCHLICK_ENABLED &&
|
|
133
|
+
material.reflectivity > 0 &&
|
|
134
|
+
material.transparency > 0) {
|
|
135
|
+
const reflectance = schlick(data);
|
|
136
|
+
color = color_add(surface, color_add(color_mul(reflectedColor, reflectance), color_mul(refractedColor, 1 - reflectance)));
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
color = color_add(surface, color_add(refractedColor, reflectedColor));
|
|
140
|
+
}
|
|
141
|
+
const firstSegment = {
|
|
142
|
+
start: ray.start,
|
|
143
|
+
end: hitPoint,
|
|
144
|
+
color,
|
|
145
|
+
attenuation,
|
|
146
|
+
normal: SHOW_NORMALS ? data.normalv : undefined,
|
|
147
|
+
reflect: SHOW_REFLECTIONS ? data.reflectv : undefined,
|
|
148
|
+
};
|
|
149
|
+
return [firstSegment, ...reflected, ...refracted];
|
|
150
|
+
}
|
|
151
|
+
function lighting(data, light, inShadow) {
|
|
152
|
+
const material = data.shape.material;
|
|
153
|
+
const effectiveColor = color_hadamard(material.color, light.color);
|
|
154
|
+
const o = toObjectTransform(light.transform);
|
|
155
|
+
const lightPos = newPoint(o.translation.x, o.translation.y);
|
|
156
|
+
if (doLogging) {
|
|
157
|
+
console.log("lightPos: ", lightPos);
|
|
158
|
+
}
|
|
159
|
+
const lightv = vec_normalize(vec_sub(lightPos, data.point));
|
|
160
|
+
const ambient = color_mul(effectiveColor, material.ambient);
|
|
161
|
+
if (inShadow) {
|
|
162
|
+
return ambient;
|
|
163
|
+
}
|
|
164
|
+
const lightDotNormal = vec_dot(lightv, data.normalv);
|
|
165
|
+
let diffuse;
|
|
166
|
+
let specular;
|
|
167
|
+
if (lightDotNormal < 0) {
|
|
168
|
+
diffuse = BLACK;
|
|
169
|
+
specular = BLACK;
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
diffuse = color_mul(effectiveColor, material.diffuse * lightDotNormal);
|
|
173
|
+
const reflectv = reflect(vec_mul(lightv, -1), data.normalv);
|
|
174
|
+
const reflectDotEye = vec_dot(reflectv, data.eyev);
|
|
175
|
+
if (reflectDotEye <= 0) {
|
|
176
|
+
specular = BLACK;
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
const factor = Math.pow(reflectDotEye, material.shininess);
|
|
180
|
+
specular = color_mul(light.color, material.specular * factor);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return color_add(color_add(ambient, diffuse), specular);
|
|
184
|
+
}
|
|
185
|
+
function castReflectedRay(shapes, lights, data, remaining, attenuation) {
|
|
186
|
+
if (remaining === 0 || data.shape.material.reflectivity === 0) {
|
|
187
|
+
return [];
|
|
188
|
+
}
|
|
189
|
+
const ray = {
|
|
190
|
+
start: data.overPoint,
|
|
191
|
+
direction: data.reflectv,
|
|
192
|
+
};
|
|
193
|
+
return castRay(shapes, lights, ray, remaining - 1, attenuation * data.shape.material.reflectivity);
|
|
194
|
+
}
|
|
195
|
+
function castRefractedRay(shapes, lights, data, remaining, attenuation) {
|
|
196
|
+
if (remaining === 0 || data.shape.material.transparency === 0) {
|
|
197
|
+
// No refraction
|
|
198
|
+
return [];
|
|
199
|
+
}
|
|
200
|
+
const { n1, n2, eyev, normalv, underPoint } = data;
|
|
201
|
+
// Refractions
|
|
202
|
+
const nRatio = n1 / n2;
|
|
203
|
+
const cos_i = vec_dot(eyev, normalv);
|
|
204
|
+
const sin2_t = nRatio * nRatio * (1 - cos_i * cos_i);
|
|
205
|
+
if (sin2_t > 1) {
|
|
206
|
+
// Total internal reflection
|
|
207
|
+
return [];
|
|
208
|
+
}
|
|
209
|
+
const cos_t = Math.sqrt(1 - sin2_t);
|
|
210
|
+
const refractv = vec_sub(vec_mul(normalv, nRatio * cos_i - cos_t), vec_mul(eyev, nRatio));
|
|
211
|
+
const refractedRay = {
|
|
212
|
+
start: underPoint,
|
|
213
|
+
direction: refractv,
|
|
214
|
+
};
|
|
215
|
+
return castRay(shapes, lights, refractedRay, remaining - 1, attenuation * data.shape.material.transparency);
|
|
216
|
+
}
|
|
217
|
+
export function toggleSchlick() {
|
|
218
|
+
SCHLICK_ENABLED = !SCHLICK_ENABLED;
|
|
219
|
+
}
|
|
220
|
+
/* Uses the Schlick reflectance model to return the fraction of light that should be reflected
|
|
221
|
+
on interface with a transparent materisl */
|
|
222
|
+
function schlick(data) {
|
|
223
|
+
// Find the cosine of the angle between the eye and normal vectors
|
|
224
|
+
let cos = vec_dot(data.eyev, data.normalv);
|
|
225
|
+
// Total internal reflection can only occur if n1 > n2
|
|
226
|
+
if (data.n1 > data.n2) {
|
|
227
|
+
const n = data.n1 / data.n2;
|
|
228
|
+
const sin2_t = n * n * (1 - cos * cos);
|
|
229
|
+
if (sin2_t > 1) {
|
|
230
|
+
// Total internal reflection
|
|
231
|
+
return 1;
|
|
232
|
+
}
|
|
233
|
+
cos = Math.sqrt(1 - sin2_t);
|
|
234
|
+
}
|
|
235
|
+
const r0 = Math.pow((data.n1 - data.n2) / (data.n1 + data.n2), 2);
|
|
236
|
+
return r0 + (1 - r0) * Math.pow(1 - cos, 5);
|
|
237
|
+
}
|
|
238
|
+
function computeIntersectionData(hit, ray, intersections) {
|
|
239
|
+
const point = pointOnRay(ray, hit.t);
|
|
240
|
+
let normalv = hit.shape.normalAt(point);
|
|
241
|
+
const eyev = vec_mul(ray.direction, -1);
|
|
242
|
+
const inside = vec_dot(eyev, normalv) < 0;
|
|
243
|
+
if (inside) {
|
|
244
|
+
normalv = vec_mul(normalv, -1);
|
|
245
|
+
}
|
|
246
|
+
const nudge = vec_mul(normalv, 0.001);
|
|
247
|
+
const overPoint = vec_add(point, nudge);
|
|
248
|
+
const underPoint = vec_sub(point, nudge);
|
|
249
|
+
const reflectv = reflect(ray.direction, normalv);
|
|
250
|
+
// Determine the refractive indexes of the two materials the ray is transitioning between.
|
|
251
|
+
let n1 = 1.0;
|
|
252
|
+
let n2 = 1.0;
|
|
253
|
+
let containers = [];
|
|
254
|
+
for (const x of intersections) {
|
|
255
|
+
if (x === hit && containers.length > 0) {
|
|
256
|
+
n1 = containers[containers.length - 1].material.refractiveIndex;
|
|
257
|
+
}
|
|
258
|
+
if (containers.includes(x.shape)) {
|
|
259
|
+
containers = containers.filter((s) => s !== x.shape);
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
containers.push(x.shape);
|
|
263
|
+
}
|
|
264
|
+
if (x === hit && containers.length > 0) {
|
|
265
|
+
n2 = containers[containers.length - 1].material.refractiveIndex;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return {
|
|
269
|
+
...hit,
|
|
270
|
+
point,
|
|
271
|
+
eyev,
|
|
272
|
+
normalv,
|
|
273
|
+
inside,
|
|
274
|
+
overPoint,
|
|
275
|
+
underPoint,
|
|
276
|
+
reflectv,
|
|
277
|
+
n1,
|
|
278
|
+
n2,
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
function reflect(inVec, normal) {
|
|
282
|
+
return vec_sub(inVec, vec_mul(normal, 2 * vec_dot(inVec, normal)));
|
|
283
|
+
}
|
|
284
|
+
function pointOnRay(ray, t) {
|
|
285
|
+
return vec_add(ray.start, vec_mul(ray.direction, t));
|
|
286
|
+
}
|
|
287
|
+
function generateShadowRay(data, light, shapes) {
|
|
288
|
+
const o = toObjectTransform(light.transform);
|
|
289
|
+
const lightPos = newPoint(o.translation.x, o.translation.y);
|
|
290
|
+
const toLight = vec_sub(lightPos, data.overPoint);
|
|
291
|
+
const distance = vec_magnitude(toLight);
|
|
292
|
+
const direction = vec_normalize(toLight);
|
|
293
|
+
const ray = {
|
|
294
|
+
start: data.overPoint,
|
|
295
|
+
direction,
|
|
296
|
+
};
|
|
297
|
+
const intersections = shapes.flatMap((shape) => shape.intersect(ray).map((t) => ({ t, shape })));
|
|
298
|
+
intersections.sort((a, b) => a.t - b.t);
|
|
299
|
+
const hit = intersections.find((x) => x.t >= 0);
|
|
300
|
+
const shadowColor = light.color;
|
|
301
|
+
if (!hit || hit.t >= distance) {
|
|
302
|
+
// Unobstructed - draw full ray in light color
|
|
303
|
+
shadowRays.push({
|
|
304
|
+
start: data.point,
|
|
305
|
+
end: lightPos,
|
|
306
|
+
color: shadowColor,
|
|
307
|
+
attenuation: 1,
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
else {
|
|
311
|
+
// Obstructed - draw fainter dotted line from start to blocking object
|
|
312
|
+
const blockPoint = pointOnRay(ray, hit.t);
|
|
313
|
+
const faintColor = {
|
|
314
|
+
r: shadowColor.r * 0.5,
|
|
315
|
+
g: shadowColor.g * 0.5,
|
|
316
|
+
b: shadowColor.b * 0.5,
|
|
317
|
+
};
|
|
318
|
+
shadowRays.push({
|
|
319
|
+
start: data.point,
|
|
320
|
+
end: blockPoint,
|
|
321
|
+
color: faintColor,
|
|
322
|
+
attenuation: 1,
|
|
323
|
+
dashed: true,
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Returns whether or not the given point is in shadow w.r.t. the given point light source.
|
|
329
|
+
*/
|
|
330
|
+
function isShadowed(point, shapes, light) {
|
|
331
|
+
const o = toObjectTransform(light.transform);
|
|
332
|
+
const v = vec_sub(newPoint(o.translation.x, o.translation.y), point);
|
|
333
|
+
const distance = vec_magnitude(v);
|
|
334
|
+
const direction = vec_normalize(v);
|
|
335
|
+
const ray = {
|
|
336
|
+
start: point,
|
|
337
|
+
direction,
|
|
338
|
+
};
|
|
339
|
+
const intersections = shapes.flatMap((shape) => shape.intersect(ray).map((t) => ({ t, shape })));
|
|
340
|
+
intersections.sort((a, b) => a.t - b.t);
|
|
341
|
+
const hit = intersections.find((x) => x.t >= 0);
|
|
342
|
+
return hit != null && hit.t < distance;
|
|
343
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./math.js";
|
|
2
|
+
export * from "./camera.js";
|
|
3
|
+
export * from "./transform.js";
|
|
4
|
+
export * from "./types.js";
|
|
5
|
+
export * from "./shapes.js";
|
|
6
|
+
export * from "./shared/color.js";
|
|
7
|
+
export * from "./shared/material.js";
|
|
8
|
+
export * from "./shared/util.js";
|
|
9
|
+
export * from "./canvas/Eye.js";
|
|
10
|
+
export * from "./canvas/PointLight.js";
|
|
11
|
+
export * from "./canvas/lightingModel.js";
|
|
12
|
+
export * from "./canvas/lightingModelRegistry.js";
|
|
13
|
+
export * from "./canvas/optics.js";
|
|
14
|
+
export * from "./canvas/models/phongTracingModel.js";
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vision/raymond/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,oBAAoB,CAAC;AACnC,cAAc,sCAAsC,CAAC"}
|