MCPcopy Create free account

hub / github.com/Kdcius/3Dash_webapp / functions

Functions277 in github.com/Kdcius/3Dash_webapp

↓ 2 callersFunctionsetSimulationConfigOverride
(c: AppConfig | null)
src/services/configApi.ts:26
↓ 2 callersFunctionsetSimulationSettingsOverride
(s: AppSettings | null)
src/services/settingsStore.ts:242
↓ 2 callersFunctionshowGroundGrid
(scene: Scene)
src/babylon/GroundGrid.ts:16
↓ 2 callersFunctiontempToAngle
(temp: number, min: number, max: number)
src/components/DisplayModal.tsx:16
↓ 2 callersFunctiontempToAngle
(temp: number, min: number, max: number)
src/components/SidePanel/cards/IndicatorModal.tsx:17
↓ 2 callersFunctiontestHA
(url: string, port: number, token: string)
src/pages/Onboarding/steps/HASetupStep.tsx:11
↓ 2 callersFunctiontoSolarTime
* Convert local clock minutes to local solar time minutes. * Accounts for longitude offset within timezone and equation of time.
src/babylon/SunController.ts:16
↓ 2 callersFunctionupdateTubeValue
(tubeMap: TubeMap, sensorId: string, stateValue: string)
src/babylon/TubeMeshFactory.ts:724
↓ 2 callersFunctionuseCameraControls
()
src/contexts/CameraControlsContext.tsx:67
↓ 1 callersFunctionapplyPositionFade
Fade tube vertices based on horizontal distance from origin. * Vertices far from origin (near grid edge) become transparent; * vertices close to o
src/babylon/TubeMeshFactory.ts:310
↓ 1 callersFunctionapplyRenderStyle
* Apply either the cartoon (sketch) style or the original textured materials. * Stores each mesh's original material once so the modes can be toggled
src/babylon/ModelLoader.ts:178
↓ 1 callersFunctionbuildDistances
Build cumulative distance array for a path.
src/babylon/TubeMeshFactory.ts:266
↓ 1 callersFunctionclearDisplayAnimation
(entry: DisplayMeshEntry)
src/babylon/DisplayMeshFactory.ts:458
↓ 1 callersFunctionclearSettings
()
src/services/settingsStore.ts:295
↓ 1 callersFunctioncomputePartsBounds
Compute an axis-aligned bounding box around all parts.
src/babylon/LightMeshFactory.ts:266
↓ 1 callersFunctioncomputeScene
(depth: number)
src/components/AnimatedLogo.tsx:75
↓ 1 callersFunctioncomputeTooltipStyle
()
src/components/GuidedTour/GuidedTour.tsx:161
↓ 1 callersFunctioncountCustomSettings
()
src/pages/Onboarding/Onboarding.tsx:48
↓ 1 callersFunctioncreateModelShadow
( scene: Scene, center: Vector3, size: Vector3, )
src/babylon/GroundGrid.ts:66
↓ 1 callersFunctioncreateRainTexture
Procedural rain streak texture.
src/babylon/WeatherEffects.ts:21
↓ 1 callersFunctioncreateShadowWalls
( scene: Scene, walls: Array<{ position: { x: number; y: number; z: number }; size: { width: number; heigh
src/babylon/ModelLoader.ts:232
↓ 1 callersFunctioncreateSnowTexture
Procedural snowflake (soft dot) texture.
src/babylon/WeatherEffects.ts:36
↓ 1 callersFunctioncreateWeatherEffects
(scene: Scene, shadowGen?: ShadowGenerator)
src/babylon/WeatherEffects.ts:51
↓ 1 callersFunctiondarkenHex
(hex: string, amount: number)
src/contexts/ThemeContext.tsx:79
↓ 1 callersFunctiondefaultPart
(pos: LightPosition)
src/components/LightForm.tsx:17
↓ 1 callersFunctiondetectStrip
Check if cube dimensions qualify as a strip (one axis ≥ STRIP_RATIO × smallest).
src/babylon/LightMeshFactory.ts:288
↓ 1 callersFunctiondisposeGroundGrid
()
src/babylon/GroundGrid.ts:105
↓ 1 callersFunctiondrawIcon
(iconName: string, cx: number, cy: number, color: string, size: number)
src/babylon/DisplayMeshFactory.ts:326
↓ 1 callersFunctionequationOfTime
* Equation of time in minutes — correction for Earth's elliptical orbit * and axial tilt. Positive means solar noon is later than clock noon.
src/babylon/SunController.ts:7
↓ 1 callersFunctionfetchWeather
(latitude: number, longitude: number)
src/services/weatherApi.ts:24
↓ 1 callersMethodforceReconnect
Tear down the current socket and reconnect immediately.
src/services/haWebSocket.ts:17
↓ 1 callersMethodforceReconnect
* Tear down the current socket (without waiting for `onclose`) and reconnect * immediately. Use after the app returns from the background, where th
src/services/haWebSocket.ts:133
↓ 1 callersFunctionformatBytes
(bytes: number)
src/pages/Onboarding/Onboarding.tsx:35
↓ 1 callersFunctionformatSize
(bytes: number)
src/pages/Onboarding/steps/ModelUploadStep.tsx:59
↓ 1 callersFunctionformatSpeed
(raw: number, bytes = false, precision?: number)
src/babylon/TubeMeshFactory.ts:137
↓ 1 callersFunctiongenerateSlash
( cx: number, topY: number, thickness: number, length: number, depth: number, angle: number, is3D: boolean
src/components/AnimatedLogo.tsx:39
↓ 1 callersFunctiongetActiveHAConnection
()
src/services/haWebSocket.ts:24
↓ 1 callersFunctiongetCycleColor
Get smoothly interpolated color cycling through the palette at progress [0,1]
src/components/AnimatedLogo.tsx:139
↓ 1 callersFunctiongetLucideIconImage
( name: string, color: string, size: number, )
src/babylon/DisplayMeshFactory.ts:157
↓ 1 callersFunctiongetLucideIconImage
( name: string, color: string, size: number, )
src/babylon/TubeMeshFactory.ts:58
↓ 1 callersFunctiongetStripAxis
Determine the longest axis and length for a strip.
src/babylon/LightMeshFactory.ts:298
↓ 1 callersFunctiongetTubeHighlightLayer
(scene: Scene)
src/babylon/TubeMeshFactory.ts:337
↓ 1 callersFunctionhasConfig
()
src/services/configApi.ts:16
↓ 1 callersFunctionhexToColor3
(hex: string)
src/babylon/TubeMeshFactory.ts:248
↓ 1 callersFunctionhideGroundGrid
()
src/babylon/GroundGrid.ts:44
↓ 1 callersFunctioninit
()
src/pages/ConfigEditor/ConfigEditor.tsx:469
↓ 1 callersFunctioninit
()
src/pages/Dashboard/Dashboard.tsx:670
↓ 1 callersFunctionlerpColor
Interpolate between two hex colors
src/components/AnimatedLogo.tsx:128
↓ 1 callersFunctionlightenHex
(hex: string, amount: number)
src/contexts/ThemeContext.tsx:85
↓ 1 callersFunctionload
()
src/components/DisplayModal.tsx:79
↓ 1 callersFunctionload
()
src/components/SidePanel/cards/IndicatorModal.tsx:90
↓ 1 callersFunctionload
()
src/components/SidePanel/cards/GraphCardView.tsx:28
↓ 1 callersFunctionloadPersistedStates
()
src/services/demoHAConnection.ts:7
↓ 1 callersFunctionmeasureTextureSize
* Measure the texture size in pixels needed to fit all sources, * using an offscreen canvas for accurate text measurement.
src/babylon/DisplayMeshFactory.ts:47
↓ 1 callersFunctionmigrate
Migrate old flat localStorage structure into the new sectioned format. Runs once.
src/services/settingsStore.ts:129
↓ 1 callersFunctionparsePeriod
(period: string)
src/services/haHistoryApi.ts:8
↓ 1 callersFunctionpersistStates
(states: Map<string, HAState>)
src/services/demoHAConnection.ts:16
↓ 1 callersFunctionpointerToTemp
(clientX: number, clientY: number, svgEl: SVGSVGElement, min: number, max: number)
src/components/DisplayModal.tsx:33
↓ 1 callersFunctionpointerToTemp
(clientX: number, clientY: number, svgEl: SVGSVGElement, min: number, max: number)
src/components/SidePanel/cards/IndicatorModal.tsx:34
↓ 1 callersFunctionpollWeather
()
src/pages/Dashboard/Dashboard.tsx:821
↓ 1 callersFunctionrandomBlueToRed
Random RGB in the blue-to-red range, with even visual distribution.
src/services/demoHAConnection.ts:30
↓ 1 callersFunctionrawToParticleSpeed
Map raw sensor value to a particle speed (world-units/s). * @param rawValue - sensor value in its input unit (not converted to bits) * @param maxV
src/babylon/TubeMeshFactory.ts:298
↓ 1 callersFunctionrenderCardContent
(card: typeof config.cards[number])
src/components/SidePanel/CardGrid.tsx:44
↓ 1 callersFunctionrenderGraph
()
src/components/DisplayModal.tsx:95
↓ 1 callersFunctionrenderGraph
()
src/components/SidePanel/cards/IndicatorModal.tsx:151
↓ 1 callersFunctionrenderGraph
()
src/components/SidePanel/cards/GraphCardView.tsx:50
↓ 1 callersFunctionrenderIcon
()
src/components/SidePanel/cards/ScriptCardView.tsx:99
↓ 1 callersMethodrequest
(msg: Record<string, unknown>)
src/services/haWebSocket.ts:14
↓ 1 callersMethodrequest
Send an arbitrary WS message and return the result.
src/services/haWebSocket.ts:176
↓ 1 callersFunctionresetConfig
()
src/services/configApi.ts:77
↓ 1 callersFunctionrgbToHex
[r, g, b] to "#rrggbb"
src/components/AnimatedLogo.tsx:123
↓ 1 callersFunctionsetAllSettings
(settings: AppSettings)
src/services/settingsStore.ts:290
↓ 1 callersFunctionsetTexturesEnabled
( scene: Scene, meshes: AbstractMesh[], enabled: boolean, edgeWidth: number, )
src/babylon/ModelLoader.ts:207
↓ 1 callersFunctionsetTubeTheme
(tubeMap: TubeMap, theme: 'light' | 'dark')
src/babylon/TubeMeshFactory.ts:769
↓ 1 callersFunctionsetupSunShadows
( ctx: SceneContext, casters: AbstractMesh[], modelDiagonal?: number, resolution = 512, )
src/babylon/SceneManager.ts:130
↓ 1 callersMethodstartHeartbeat
Periodically ping HA; if no pong returns in time, the socket is dead → reconnect.
src/services/haWebSocket.ts:150
↓ 1 callersFunctionsunTick
()
src/components/HUD.tsx:73
↓ 1 callersFunctiontick
()
src/components/HUD.tsx:59
↓ 1 callersFunctionupdateOrtho
()
src/pages/Dashboard/Dashboard.tsx:297
↓ 1 callersFunctionuploadModel
(file: File)
src/services/configApi.ts:67
↓ 1 callersFunctionuseIsMobile
()
src/components/SidePanel/CardGrid.tsx:29
FunctionAccordionSection
({ title, defaultOpen = false, children }: AccordionSectionProps)
src/components/FormPanel/AccordionSection.tsx:9
FunctionAnimatedLogo
()
src/components/AnimatedLogo.tsx:149
FunctionAnimationPicker
({ value, onChange, }: { value?: DisplayAnimation; onChange: (v: DisplayAnimation | undefined) => void
src/components/DisplayForm.tsx:10
FunctionApp
()
src/App.tsx:36
FunctionAppRoutes
()
src/App.tsx:13
FunctionCameraControlsProvider
({ children }: { children: ReactNode })
src/contexts/CameraControlsContext.tsx:36
FunctionCardGrid
({ config, ha, cardStates, width, editMode, onLayoutChange, onSetTemperature, onSetHvacMode, onCardEdit, onCar
src/components/SidePanel/CardGrid.tsx:40
FunctionCardPropertiesPanel
({ card, onSave, onCancel, onPreview, haEntities = [] }: Props)
src/components/SidePanel/CardPropertiesPanel.tsx:71
FunctionCardShell
({ title, children }: Props)
src/components/SidePanel/cards/CardShell.tsx:9
FunctionClimateGauge
Climate gauge section for a climate entity.
src/components/DisplayModal.tsx:161
FunctionColorWheel
({ hue, onChange }: Props)
src/components/ColorWheel.tsx:41
FunctionCompletionStep
({ demoMode, hasModel, hasLocation, onEnter }: Props)
src/pages/Onboarding/steps/CompletionStep.tsx:8
FunctionConfigEditor
()
src/pages/ConfigEditor/ConfigEditor.tsx:53
FunctionDashboard
()
src/pages/Dashboard/Dashboard.tsx:54
FunctionDebugPanel
({ open, onClose, sceneCtxRef, meshMapRef, shadowCastersRef, onRebuildLights, weatherRef, onCloudCoverFact
src/components/DebugPanel.tsx:91
FunctionDemoModeProvider
({ children }: { children: ReactNode })
src/contexts/DemoModeContext.tsx:11
FunctionDisplayForm
({ open, editDisplay, position, normal, onPositionChange, onSave, onClose, onEnterPlacingMode,
src/components/DisplayForm.tsx:77
FunctionDisplayList
({ displays, selectedIdx, onSelect, onDelete, onDuplicate }: Props)
src/components/DisplayList.tsx:11
FunctionDisplayModal
({ display, states, visible, onClose, onSetTemperature, onSetHvacMode, }: Props)
src/components/DisplayModal.tsx:317
← previousnext →101–200 of 277, ranked by callers