Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kdcius/3Dash_webapp
/ functions
Functions
277 in github.com/Kdcius/3Dash_webapp
⨍
Functions
277
◇
Types & classes
109
↓ 32 callers
Function
getSetting
(section: K)
src/services/settingsStore.ts:268
↓ 28 callers
Function
updateConfig
(data: { lights?: LightConfig[]; lightGroups?: LightGroup[]; displays?: DisplayConfig[]; shadowWalls?:
src/services/configApi.ts:44
↓ 27 callers
Method
dispose
()
src/babylon/WeatherEffects.ts:17
↓ 24 callers
Method
dispose
()
src/services/haWebSocket.ts:18
↓ 20 callers
Function
updateSettings
( section: K, patch: Partial<AppSettings[K]>, )
src/services/settingsStore.ts:273
↓ 18 callers
Function
getSettings
()
src/services/settingsStore.ts:247
↓ 10 callers
Function
btn
Helper: find a button by matching the end of its entityId
src/components/RemoteModal.tsx:17
↓ 9 callers
Function
removeDisplayMesh
(map: DisplayMeshMap, id: string)
src/babylon/DisplayMeshFactory.ts:380
↓ 8 callers
Method
callService
(domain: string, service: string, entityId: string, data?: Record<string, unknown>)
src/services/haWebSocket.ts:13
↓ 8 callers
Function
createTubeMeshes
( scene: Scene, config: TubeConfig, glowLayer: GlowLayer | null, )
src/babylon/TubeMeshFactory.ts:348
↓ 8 callers
Function
getConfig
()
src/services/configApi.ts:31
↓ 8 callers
Function
pts
(arr: Point[])
src/components/AnimatedLogo.tsx:71
↓ 8 callers
Function
updateDisplayTexture
( entry: DisplayMeshEntry, states: Record<string, HAState>, )
src/babylon/DisplayMeshFactory.ts:196
↓ 7 callers
Function
generateUUID
()
src/utils/uuid.ts:6
↓ 7 callers
Method
send
(msg: unknown)
src/services/haWebSocket.ts:187
↓ 7 callers
Method
updateState
(entityId: string, state: string, attributes: Record<string, unknown>)
src/services/demoHAConnection.ts:212
↓ 7 callers
Function
useDemoMode
()
src/contexts/DemoModeContext.tsx:26
↓ 6 callers
Method
callService
(domain: string, service: string, entityId: string, data?: Record<string, unknown>)
src/services/haWebSocket.ts:165
↓ 6 callers
Function
disposeAllTubes
(tubeMap: TubeMap)
src/babylon/TubeMeshFactory.ts:834
↓ 6 callers
Function
removeLightMesh
(meshMap: MeshMap, entityId: string)
src/babylon/LightMeshFactory.ts:307
↓ 6 callers
Function
removeTubeMeshes
(tubeMap: TubeMap, tubeId: string)
src/babylon/TubeMeshFactory.ts:805
↓ 6 callers
Function
slideClass
(index: number)
src/pages/Onboarding/Onboarding.tsx:185
↓ 5 callers
Function
buildMockupStates
(configs: DisplayConfig[])
src/babylon/DisplayMeshFactory.ts:430
↓ 5 callers
Function
idxFromSortId
(id: string)
src/components/LightList.tsx:53
↓ 5 callers
Function
rebuildAllMeshes
( scene: Scene, meshMap: MeshMap, lights: LightConfig[], options: CreateLightMeshOptions = {}, )
src/babylon/LightMeshFactory.ts:323
↓ 5 callers
Function
renderMockupLabels
(tubeMap: TubeMap)
src/babylon/TubeMeshFactory.ts:784
↓ 5 callers
Function
updateSunPosition
( sun: DirectionalLight, hemi: HemisphericLight, latitude: number, longitude: number, minutes?: numb
src/babylon/SunController.ts:27
↓ 5 callers
Function
useSimulationMode
()
src/contexts/SimulationModeContext.tsx:44
↓ 5 callers
Function
useTheme
()
src/contexts/ThemeContext.tsx:247
↓ 4 callers
Function
angleToPoint
(angleDeg: number, r: number)
src/components/DisplayModal.tsx:21
↓ 4 callers
Function
angleToPoint
(angleDeg: number, r: number)
src/components/SidePanel/cards/IndicatorModal.tsx:22
↓ 4 callers
Function
createDisplayMesh
( scene: Scene, cfg: DisplayConfig, )
src/babylon/DisplayMeshFactory.ts:90
↓ 4 callers
Function
lightSortId
(idx: number)
src/components/LightList.tsx:50
↓ 4 callers
Function
rebuildAllDisplayMeshes
( scene: Scene, map: DisplayMeshMap, configs: DisplayConfig[], )
src/babylon/DisplayMeshFactory.ts:389
↓ 4 callers
Function
renderLabel
(entry: TubeLabelEntry, value: string, unit: string)
src/babylon/TubeMeshFactory.ts:633
↓ 4 callers
Method
stopHeartbeat
()
src/services/haWebSocket.ts:160
↓ 3 callers
Function
buildWsUrl
(url: string, port: number)
src/services/haWebSocket.ts:33
↓ 3 callers
Method
connect
()
src/services/haWebSocket.ts:54
↓ 3 callers
Function
createLightMesh
( scene: Scene, cfg: LightConfig, id: string, options: CreateLightMeshOptions = {}, )
src/babylon/LightMeshFactory.ts:58
↓ 3 callers
Function
createPreviewShape
(name: string, sh: string, sz: Record<string, number>, p: LightPosition)
src/pages/ConfigEditor/ConfigEditor.tsx:290
↓ 3 callers
Function
defaultLine
()
src/components/TubeForm.tsx:48
↓ 3 callers
Function
describeArc
(startAngle: number, endAngle: number, r: number)
src/components/DisplayModal.tsx:26
↓ 3 callers
Function
describeArc
(startAngle: number, endAngle: number, r: number)
src/components/SidePanel/cards/IndicatorModal.tsx:27
↓ 3 callers
Function
fetchHistory
(entityId: string, period: string)
src/services/haHistoryApi.ts:19
↓ 3 callers
Function
formatGenericValue
(raw: number, unit: string, precision?: number)
src/babylon/TubeMeshFactory.ts:150
↓ 3 callers
Function
generateDemoHistory
(period: string)
src/services/haHistoryApi.ts:51
↓ 3 callers
Function
getApproachAxis
(dir: TubeConfig['originDirection'])
src/babylon/TubeMeshFactory.ts:163
↓ 3 callers
Function
getModelBlob
()
src/services/configApi.ts:72
↓ 3 callers
Function
getOrCreateCartoonMaterial
(scene: Scene)
src/babylon/ModelLoader.ts:144
↓ 3 callers
Function
handleFile
(file: File)
src/pages/Onboarding/steps/WelcomeStep.tsx:14
↓ 3 callers
Function
hexToColor3
(hex: string)
src/babylon/ModelLoader.ts:34
↓ 3 callers
Function
hexToRgb
(hex: string)
src/contexts/ThemeContext.tsx:74
↓ 3 callers
Function
isDaytime
( latitude: number, longitude: number, minutes?: number, )
src/babylon/SunController.ts:89
↓ 3 callers
Function
isSimulationActive
()
src/contexts/SimulationModeContext.tsx:8
↓ 3 callers
Function
kelvinToRGB
(kelvin: number)
src/utils/color.ts:5
↓ 3 callers
Function
makeAnim
(prop: string, from: number, to: number)
src/pages/ConfigEditor/ConfigEditor.tsx:785
↓ 3 callers
Function
makeAnim
(prop: string, from: number, to: number)
src/pages/Dashboard/Dashboard.tsx:1348
↓ 3 callers
Function
minutesToLabel
(m: number)
src/babylon/SunController.ts:116
↓ 3 callers
Function
openDB
()
src/services/storageApi.ts:11
↓ 3 callers
Function
positionAtDistance
Get the 3D position at a given distance along the path.
src/babylon/TubeMeshFactory.ts:277
↓ 3 callers
Function
renderItems
(indices: number[])
src/components/LightList.tsx:349
↓ 3 callers
Function
resetError
()
src/components/SettingsModal.tsx:243
↓ 3 callers
Function
setActiveHAConnection
(conn: HALike | null)
src/services/haWebSocket.ts:23
↓ 3 callers
Function
setSketchAppearance
(scene: Scene, sketchColor: string, sketchSpecular: number)
src/babylon/ModelLoader.ts:161
↓ 3 callers
Method
start
Bootstrap demo states from the loaded config entity IDs.
src/services/demoHAConnection.ts:82
↓ 3 callers
Function
syncGridColors
(scene: Scene)
src/babylon/GroundGrid.ts:49
↓ 3 callers
Method
updateWeather
(data: WeatherData)
src/babylon/WeatherEffects.ts:16
↓ 2 callers
Function
allTrue
(f: { zoom: boolean; rotate: boolean; pan: boolean })
src/pages/Onboarding/Onboarding.tsx:59
↓ 2 callers
Function
angleFromCenter
(x: number, y: number)
src/components/ColorWheel.tsx:14
↓ 2 callers
Function
applyAppearance
(resolved: ResolvedTheme)
src/contexts/ThemeContext.tsx:94
↓ 2 callers
Function
buildCard
( id: string, type: CardType, title: string, showTitle: boolean, entityId: string, icon: string,
src/components/SidePanel/CardPropertiesPanel.tsx:19
↓ 2 callers
Function
buildTubePath
* Build the 3D path for a single tube line with a smooth rounded corner. * Uses many intermediate points around the bend so CreateTube produces * a
src/babylon/TubeMeshFactory.ts:189
↓ 2 callers
Function
createEdgeOutline
( scene: Scene, camera: Camera, options?: EdgeOutlineOptions, )
src/babylon/EdgeOutline.ts:128
↓ 2 callers
Function
createPartMesh
Create a single part mesh with shared material.
src/babylon/LightMeshFactory.ts:238
↓ 2 callers
Function
createPointShadowGen
Create a shadow generator for a PointLight.
src/babylon/LightMeshFactory.ts:220
↓ 2 callers
Function
createScene
( canvas: HTMLCanvasElement, options?: CreateSceneOptions, )
src/babylon/SceneManager.ts:33
↓ 2 callers
Method
dispose
()
src/services/haWebSocket.ts:197
↓ 2 callers
Function
drawItem
(it: SourceRenderInfo, x: number, y: number)
src/babylon/DisplayMeshFactory.ts:337
↓ 2 callers
Function
drawText
(text: string, x: number, y: number, color: string)
src/babylon/DisplayMeshFactory.ts:309
↓ 2 callers
Function
fmt
(d: Date)
src/components/DisplayModal.tsx:123
↓ 2 callers
Function
fmt
(d: Date)
src/components/SidePanel/cards/IndicatorModal.tsx:182
↓ 2 callers
Function
freezePointLightShadows
(meshMap: MeshMap)
src/babylon/LightMeshFactory.ts:346
↓ 2 callers
Function
getEdgeStart
(dir: TubeConfig['originDirection'], endX: number, endZ: number)
src/babylon/TubeMeshFactory.ts:172
↓ 2 callers
Function
getEntityCache
()
src/services/entityCache.ts:14
↓ 2 callers
Function
hexToRgb
Parse "#rrggbb" to [r, g, b]
src/components/AnimatedLogo.tsx:117
↓ 2 callers
Function
hslToRgb
(h: number)
src/components/ColorWheel.tsx:22
↓ 2 callers
Function
importBackup
(file: File)
src/services/configApi.ts:110
↓ 2 callers
Function
isRaining
(code: number)
src/services/weatherApi.ts:12
↓ 2 callers
Function
isSnowing
(code: number)
src/services/weatherApi.ts:16
↓ 2 callers
Function
itemX
(it: SourceRenderInfo)
src/babylon/DisplayMeshFactory.ts:347
↓ 2 callers
Function
load
()
src/contexts/CameraControlsContext.tsx:22
↓ 2 callers
Function
loadModel
( scene: Scene, source: string | Blob, onProgress?: (percent: number) => void, options?: LoadModelOpti
src/babylon/ModelLoader.ts:42
↓ 2 callers
Function
migrateFlatToSectioned
Convert a flat settings object to the new sectioned format.
src/services/settingsStore.ts:195
↓ 2 callers
Function
miredToKelvin
(mired: number)
src/utils/color.ts:1
↓ 2 callers
Function
onDragStart
()
src/pages/ConfigEditor/ConfigEditor.tsx:370
↓ 2 callers
Function
onMove
(clientX: number, clientY: number)
src/components/SidePanel/SidePanel.tsx:54
↓ 2 callers
Function
renderCard
(card: typeof config.cards[number])
src/components/SidePanel/CardGrid.tsx:59
↓ 2 callers
Function
resolveDisplayAnimation
( cfg: DisplayConfig, states: Record<string, HAState>, )
src/babylon/DisplayMeshFactory.ts:523
↓ 2 callers
Function
setDisplayAnimation
( entry: DisplayMeshEntry, animation: DisplayAnimation | undefined, )
src/babylon/DisplayMeshFactory.ts:468
↓ 2 callers
Function
setEntityCache
(entities: HAEntityOption[])
src/services/entityCache.ts:7
next →
1–100 of 277, ranked by callers