Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alamenai/terrae
/ functions
Functions
1,004 in github.com/alamenai/terrae
⨍
Functions
1,004
◇
Types & classes
5
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/volcano.tsx:454
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/lightning.tsx:327
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/explosion.tsx:235
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/steam.tsx:101
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/tsunami.tsx:387
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/fire.tsx:174
↓ 1 callers
Function
fadeCanvasEdges
(context: CanvasRenderingContext2D, width: number, height: number)
src/registry/map/meteor.tsx:360
↓ 1 callers
Function
fetchCyclingRoute
(waypoints: Waypoint[])
src/app/docs/_components/examples/cyclist-route-example.tsx:30
↓ 1 callers
Function
fetchData
()
src/app/docs/_components/examples/choropleth-neon-example.tsx:83
↓ 1 callers
Function
fetchData
()
src/app/docs/_components/examples/choropleth-example.tsx:87
↓ 1 callers
Function
fetchData
()
src/app/docs/_components/examples/choropleth-china-example.tsx:76
↓ 1 callers
Function
fetchData
()
src/app/docs/_components/examples/choropleth-europe-example.tsx:82
↓ 1 callers
Function
fetchISSPosition
()
src/app/docs/_components/examples/live-position-marker-example.tsx:52
↓ 1 callers
Function
fetchRoute
()
src/app/docs/_components/examples/osrm-route-example.tsx:19
↓ 1 callers
Function
formatPopulation
(pop: number)
src/app/docs/_components/examples/choropleth-china-example.tsx:105
↓ 1 callers
Function
formatPopulation
(pop: number)
src/app/docs/_components/examples/choropleth-europe-example.tsx:114
↓ 1 callers
Function
formatWaypointsForOSRM
(waypoints: Waypoint[])
src/app/docs/_components/examples/cyclist-route-example.tsx:22
↓ 1 callers
Function
generateArcPath
( origin: MapCoordinates, destination: MapCoordinates, height: number, segments: number )
src/registry/map/arc-animated.tsx:95
↓ 1 callers
Function
generateCircleCoordinates
(center: MapCoordinates, radiusMeters: number, segments: number)
src/registry/map/animated-circle.tsx:47
↓ 1 callers
Function
generateCurvedPath
( origin: MapCoordinates, destination: MapCoordinates, curvature: number, segments: number )
src/registry/map/line-radial.tsx:102
↓ 1 callers
Function
generateGridLines
( bounds: mapboxgl.LngLatBounds, latitudeInterval: number, longitudeInterval: number, map: mapboxgl.Ma
src/registry/map/grid.tsx:116
↓ 1 callers
Function
generateSteps
(path: MapPath, stepSpacing: number)
src/registry/map/animated-footprint.tsx:79
↓ 1 callers
Function
getBorderRadius
()
src/registry/map/mini-map.tsx:247
↓ 1 callers
Function
getBounds
(points: { x: number; y: number }[])
src/registry/map/blur-area.tsx:34
↓ 1 callers
Function
getCheckpointTimings
(path: MapCoordinates[])
src/app/docs/_components/examples/checkpoints-animated-route-example.tsx:24
↓ 1 callers
Function
getDefaultLabel
(index: number)
src/registry/map/map-sync.tsx:120
↓ 1 callers
Function
getDirection
(value: number, isLatitude: boolean)
src/registry/map/targeting-reticle.tsx:143
↓ 1 callers
Function
getLayoutClasses
()
src/registry/map/map-sync.tsx:100
↓ 1 callers
Function
getPanelSize
()
src/registry/map/map-sync.tsx:110
↓ 1 callers
Function
getPhaseParticleScale
(phase: EruptionPhase)
src/registry/map/volcano.tsx:176
↓ 1 callers
Function
getPosition
()
src/registry/map/targeting-reticle.tsx:44
↓ 1 callers
Function
getPositionOnPath
(path: MapPath, progress: number)
src/registry/map/cyclone.tsx:487
↓ 1 callers
Function
getTransform
()
src/registry/map/targeting-reticle.tsx:57
↓ 1 callers
Function
handleScroll
()
src/components/landing/perspective-card.tsx:26
↓ 1 callers
Function
handleTagClick
(tag: BlogFilterTag)
src/components/blog/tag-filter.tsx:26
↓ 1 callers
Function
hexToRgb
(hex: string)
src/registry/map/steam.tsx:66
↓ 1 callers
Function
hexToRgb
(hex: string)
src/registry/map/snow.tsx:81
↓ 1 callers
Function
hexToRgb
(hex: string)
src/registry/map/sandstorm.tsx:82
↓ 1 callers
Function
highlight
()
src/components/landing/code-comparison.tsx:1156
↓ 1 callers
Function
initParticles
()
src/registry/map/snow.tsx:288
↓ 1 callers
Function
initParticles
()
src/registry/map/sandstorm.tsx:321
↓ 1 callers
Function
initializeRenderer
(map: mapboxgl.Map, id: string, renderer: LightningRenderer, strike: () => void)
src/registry/map/lightning.tsx:430
↓ 1 callers
Function
initializeRenderer
(map: mapboxgl.Map, id: string, renderer: FireRenderer, control: FireControl)
src/registry/map/fire.tsx:376
↓ 1 callers
Function
interpolateColor
(color1: RgbColor, color2: RgbColor, factor: number)
src/registry/map/fire.tsx:127
↓ 1 callers
Function
interpolateColor
(color1: string, color2: string, factor: number)
src/registry/map/choropleth.tsx:126
↓ 1 callers
Function
interpolateCoordinate
(from: MapCoordinates, to: MapCoordinates, fraction: number)
src/registry/map/animated-footprint.tsx:75
↓ 1 callers
Function
isParticleOutOfBounds
(particle: SnowParticle, canvasWidth: number, canvasHeight: number)
src/registry/map/snow.tsx:116
↓ 1 callers
Function
isParticleOutOfBounds
( particle: SandParticle, canvasWidth: number, canvasHeight: number, cosAngle: number )
src/registry/map/sandstorm.tsx:116
↓ 1 callers
Function
parseRgba
(color: string)
src/registry/map/radar.tsx:296
↓ 1 callers
Function
pause
()
src/registry/map/raster-video.tsx:101
↓ 1 callers
Function
play
()
src/registry/map/raster-video.tsx:94
↓ 1 callers
Function
registerControl
()
src/registry/map/cyclone.tsx:179
↓ 1 callers
Function
registerMap
(index: number, map: mapboxgl.Map)
src/registry/map/map-sync.tsx:199
↓ 1 callers
Function
removeMarkers
(markers: MarkerEntry[])
src/registry/map/animated-footprint.tsx:139
↓ 1 callers
Function
removeRainEffect
(map: mapboxgl.Map)
src/registry/map/rain.tsx:37
↓ 1 callers
Function
renderDestinationMarkerIcons
()
src/registry/map/line-radial.tsx:801
↓ 1 callers
Function
renderFoamCrest
( context: CanvasRenderingContext2D, waveX: number, waveY: number, radians: number, waveWidthPx: num
src/registry/map/tsunami.tsx:286
↓ 1 callers
Function
renderImpactFlash
( context: CanvasRenderingContext2D, centerX: number, centerY: number, flashOpacity: number, impactS
src/registry/map/meteor.tsx:334
↓ 1 callers
Function
renderMeteorBody
( context: CanvasRenderingContext2D, meteorX: number, meteorY: number, meteorSize: number, velocityX
src/registry/map/meteor.tsx:198
↓ 1 callers
Function
renderMeteorScene
(context: CanvasRenderingContext2D, renderer: MeteorRenderer)
src/registry/map/meteor.tsx:531
↓ 1 callers
Function
renderOriginMarkerIcon
()
src/registry/map/line-radial.tsx:787
↓ 1 callers
Function
renderTravelingMarkerIcon
()
src/registry/map/line-radial.tsx:794
↓ 1 callers
Function
renderWaterTrail
( context: CanvasRenderingContext2D, waveX: number, waveY: number, radians: number, size: number,
src/registry/map/tsunami.tsx:180
↓ 1 callers
Function
renderWaveBody
( context: CanvasRenderingContext2D, waveX: number, waveY: number, radians: number, waveWidthPx: num
src/registry/map/tsunami.tsx:219
↓ 1 callers
Function
resetAnimations
()
src/registry/map/animated-footprint.tsx:220
↓ 1 callers
Function
resolveSize
(size: MapCompassSize | number)
src/registry/map/compass.tsx:47
↓ 1 callers
Function
rgbToHex
(r: number, g: number, b: number)
src/registry/map/choropleth.tsx:117
↓ 1 callers
Function
runAnimation
()
src/registry/map/targeting-reticle.tsx:295
↓ 1 callers
Function
spawnImpactParticles
(renderer: MeteorRenderer)
src/registry/map/meteor.tsx:451
↓ 1 callers
Function
spawnTrailParticles
(meteor: MeteorInstance)
src/registry/map/meteor.tsx:441
↓ 1 callers
Function
startAnimations
()
src/registry/map/animated-footprint.tsx:189
↓ 1 callers
Function
syncMaps
(sourceIndex: number, sourceMap: mapboxgl.Map)
src/registry/map/map-sync.tsx:172
↓ 1 callers
Function
transitionIntensity
(renderer: CycloneRenderer)
src/registry/map/cyclone.tsx:651
↓ 1 callers
Function
transitionScale
(renderer: CycloneRenderer)
src/registry/map/cyclone.tsx:659
↓ 1 callers
Function
unregisterMap
(index: number)
src/registry/map/map-sync.tsx:209
↓ 1 callers
Function
updateAndRenderDebrisParticles
(context: CanvasRenderingContext2D, particles: DebrisParticle[])
src/registry/map/tsunami.tsx:363
↓ 1 callers
Function
updateAndRenderFoamParticles
( context: CanvasRenderingContext2D, particles: FoamParticle[], foamRgb: RgbColor )
src/registry/map/tsunami.tsx:323
↓ 1 callers
Function
updateAndRenderImpactParticles
(context: CanvasRenderingContext2D, particles: ImpactParticle[])
src/registry/map/meteor.tsx:302
↓ 1 callers
Function
updateAndRenderTrailParticles
( context: CanvasRenderingContext2D, particles: TrailParticle[], trailRgb: RgbColor )
src/registry/map/meteor.tsx:262
↓ 1 callers
Function
updateCanvasSize
()
src/registry/map/snow.tsx:283
↓ 1 callers
Function
updateCanvasSize
()
src/registry/map/sandstorm.tsx:316
↓ 1 callers
Function
updateGrid
()
src/registry/map/grid.tsx:288
↓ 1 callers
Function
updateHeadPosition
(position: MapCoordinates, nextPosition?: MapCoordinates)
src/registry/map/arc-animated.tsx:409
↓ 1 callers
Function
updateLineSource
(coordinates: MapPath)
src/registry/map/line-animated.tsx:360
↓ 1 callers
Function
updateMarkerPosition
(position: [number, number])
src/registry/map/line-animated.tsx:371
↓ 1 callers
Function
updateMeteorInstances
( renderer: MeteorRenderer, elapsed: number )
src/registry/map/meteor.tsx:458
↓ 1 callers
Function
updateMiniMap
()
src/registry/map/mini-map.tsx:203
↓ 1 callers
Function
updateMovementPosition
()
src/registry/map/cyclone.tsx:231
↓ 1 callers
Function
updateParticle
(particle: CycloneParticle, size: number, rotationSpeed: number, effectiveIntensity: number)
src/registry/map/cyclone.tsx:535
↓ 1 callers
Function
updateParticle
(particle: ExplosionParticle)
src/registry/map/explosion.tsx:348
↓ 1 callers
Function
updateParticle
(particle: FireParticle)
src/registry/map/fire.tsx:205
↓ 1 callers
Function
updateParticlePosition
(particle: SnowParticle, windX: number, fallSpeed: number)
src/registry/map/snow.tsx:108
↓ 1 callers
Function
updateParticlePosition
( particle: SandParticle, cosAngle: number, sinAngle: number, windSpeed: number, turbulence: number
src/registry/map/sandstorm.tsx:130
↓ 1 callers
Function
updateRendererState
(renderer: MeteorRenderer, allComplete: boolean, anyFalling: boolean)
src/registry/map/meteor.tsx:499
↓ 1 callers
Function
updateRotation
()
src/registry/map/controls.tsx:118
↓ 1 callers
Function
updateTravelingMarkerPosition
(position: MapCoordinates)
src/registry/map/line-radial.tsx:644
↓ 1 callers
Function
useExplosionControl
(id: string)
src/registry/map/explosion.tsx:725
↓ 1 callers
Function
useFireControl
(id: string)
src/registry/map/fire.tsx:454
↓ 1 callers
Function
useFootprintControl
(id: string)
src/registry/map/animated-footprint.tsx:297
↓ 1 callers
Function
useIsMobile
()
src/hooks/use-mobile.ts:5
← previous
next →
201–300 of 1,004, ranked by callers