MCPcopy Create free account

hub / github.com/XenoverseUp/procedural-planets / functions

Functions66 in github.com/XenoverseUp/procedural-planets

↓ 10 callersFunctioncn
(...args: ClassValue[])
src/lib/cn.ts:4
↓ 10 callersFunctiongetRandomElement
(arr: string[])
src/lib/generate-planet-name.ts:1
↓ 9 callersMethodadd
(value: number)
src/lib/min-max.ts:5
↓ 9 callersMethodmax
()
src/lib/min-max.ts:14
↓ 4 callersMethodmin
()
src/lib/min-max.ts:10
↓ 3 callersFunctionlerp
(start: number, end: number, amount: number)
src/lib/lerp.ts:1
↓ 2 callersFunctionclamp
(min: number, max: number, value: number)
src/lib/clamp.ts:1
↓ 2 callersFunctionmap
(low: number, high: number, progress: number)
src/lib/map.ts:1
↓ 2 callersFunctionpad
( str: string | number, filler: string, precision: number, direction: "left" | "right" = "left", )
src/lib/pad.ts:1
↓ 1 callersFunctioncapitalize
(word: string)
src/lib/generate-planet-name.ts:5
↓ 1 callersFunctioncaptureScreenshot
(scale: number = 1)
src/hooks/useScreenshot.ts:17
↓ 1 callersFunctioncreateComputeMaterial
( fragmentShader: string, resolution: GLuint, uniforms?: Record<string, Uniform>, )
src/lib/gpu-compute.ts:14
↓ 1 callersFunctioncreateRenderTarget
(resolution: number)
src/lib/gpu-compute.ts:28
↓ 1 callersFunctiondownloadScreenshot
( scale: number = 1, filename: string = "screenshot.png", )
src/hooks/useScreenshot.ts:41
↓ 1 callersFunctionexportGeometryToOBJ
(geometry: BufferGeometry)
src/lib/export-mesh.ts:3
↓ 1 callersFunctiongeneratePlanetFact
(planetName?: string)
src/lib/generate-planet-name.ts:156
↓ 1 callersFunctiongeneratePlanetName
()
src/lib/generate-planet-name.ts:71
↓ 1 callersFunctiononThumbMouseUp
()
src/components/ui/gradient-input.tsx:81
↓ 1 callersFunctionreadData
( gl: WebGLRenderer, renderTarget: WebGLRenderTarget, size: number, componentSize: number, )
src/lib/gpu-compute.ts:36
↓ 1 callersFunctionspherize
(pointOnCube: Vector3)
src/lib/spherize.ts:3
↓ 1 callersFunctionuseIsMobile
()
src/hooks/useIsMobile.ts:3
↓ 1 callersFunctionuseMediaQuery
(query: string)
src/hooks/useMediaQuery.ts:3
↓ 1 callersFunctionuseScreenshot
()
src/hooks/useScreenshot.ts:11
FunctionApp
()
src/index.tsx:11
FunctionAtmosphere
()
src/components/atmosphere/atmosphere.tsx:8
FunctionButton
({ children, ...rest }: ButtonProps)
src/components/ui/button.tsx:7
FunctionConditionallyWrap
({ children, with: Component, when, ...rest }: ConditionallyWrapProps)
src/components/ui/conditionally-wrap.tsx:13
FunctionEditor
()
src/components/editor/editor.tsx:16
FunctionEditorHUD
()
src/components/editor/editor-hud.tsx:8
FunctionFilm
({ children }: { children: ReactElement[] })
src/components/showcase/film.tsx:10
FunctionFilmImage
({ i = 0, hovered, setHovered, src, }: FilmImageProps)
src/components/showcase/film.tsx:94
FunctionGradientInput
({ label, description, datasetKey, gradientState, }: GradientInputProps)
src/components/ui/gradient-input.tsx:25
FunctionLights
()
src/components/editor/lights.tsx:1
FunctionNoiseLayerDetail
({ title, index }: NoiseLayerDetailProps)
src/components/ui/noise-settings-detail.tsx:28
FunctionNumericValue
({ title, icon: Icon, value, step = 1, min, max, defaultValue = 0.1, onValueChange, type = "
src/components/ui/numeric-value.tsx:22
FunctionPlanet
()
src/components/planet-cpu/planet.tsx:31
FunctionPolaroidStage
({ images, planetName, }: { images: string[]; planetName: string; })
src/components/showcase/polaroid-stage.tsx:16
FunctionShowcaseHUD
({ planetRef, capture }: ShowcaseHUDProps)
src/components/showcase/showcase-hud.tsx:32
FunctionSidebar
()
src/components/ui/sidebar.tsx:23
FunctionSliderInput
({ label, description, defaultValue = 5, onValueChange, labels, step = 1, min, max, }: SliderI
src/components/ui/slider-input.tsx:15
FunctionStepInput
({ label, description, defaultValue = 1, onValueChange, onIncrement, onDecrement, }: StepInputProp
src/components/ui/step-input.tsx:13
FunctionTerrainFace
({ resolution, localUp, wireframe, radius = 1, isBlend = false, renderBackface = false, }: Terrain
src/components/planet-cpu/terrain-face.tsx:44
FunctionTerrainFace
({ resolution, localUp, wireframe, radius = 1, isBlend = false, renderBackface = false, seed = 0
src/components/planet-gpu/terrain-face.tsx:59
FunctionToggleValue
({ title, onValueChange, icon: Icon, labels: { on, off }, value, }: ToggleInputProps)
src/components/ui/toggle-value.tsx:15
FunctionToolbar
({ className }: { className?: ClassValue })
src/components/editor/toolbar.tsx:13
FunctionUIBlocker
({ description, icon })
src/components/ui/ui-blocker.tsx:9
FunctionVectorValue
({ title, icon: Icon, step = 1, onValueChange, value, }: VectorValueProps)
src/components/ui/vector-value.tsx:12
FunctionWireFace
({ resolution, localUp, radius = 1 }: WireFaceProps)
src/components/wire-face/wire-face.tsx:10
Methodconstructor
({ resolution, localUp, noiseFilters }: MeshGeneratorParams)
src/components/planet-cpu/mesh-generation.ts:17
Methodconstructor
({ anchor, color }: ElevationGradientStopParams)
src/lib/gradient.ts:15
Methodconstructor
({ strength = 1, roughness = 2, center = VECTOR_ZERO, persistence = 0.5, baseRoughness = 1
src/lib/noise.ts:65
Methodconstructor
({ strength = 1, roughness = 2, center = VECTOR_ZERO, persistence = 0.5, baseRoughness = 1
src/lib/noise.ts:167
FunctiongetRepoStars
( owner: string, repo: string, )
src/lib/get-repo-stars.ts:1
FunctiongradientToString
(gradient: GradientStop[])
src/lib/gradient.ts:25
Functionlistener
(event: MediaQueryListEvent)
src/hooks/useMediaQuery.ts:9
FunctionmergeAndExport
()
src/components/showcase/showcase-hud.tsx:39
FunctiononCanvasMove
(e: PointerEvent)
src/components/planet-gpu/planet-gpu.tsx:50
FunctiononCanvasUp
()
src/components/planet-gpu/planet-gpu.tsx:60
FunctiononKeyDown
(e: KeyboardEvent)
src/components/showcase/showcase-hud.tsx:50
FunctiononMouseDown
(e)
src/components/ui/numeric-value.tsx:42
FunctiononMouseMove
(e)
src/components/ui/numeric-value.tsx:65
FunctiononMouseUp
(e)
src/components/ui/numeric-value.tsx:54
FunctiononSliderClick
(e)
src/components/ui/gradient-input.tsx:95
FunctiononThumbDoubleClick
()
src/components/ui/gradient-input.tsx:86
FunctiononThumbMouseDown
(e)
src/components/ui/gradient-input.tsx:36
Methodreset
()
src/lib/min-max.ts:18