Skip to main content

ambient-background / index

Barrel module for the ambient background feature.

Re-exports​

Components

  • AmbientBackground
  • AmbientSkyEffectsLayer
  • AmbientSkyHorizonScene, AmbientSkyHorizonLayer
  • AmbientStarfieldProvider, useAmbientStarfield

Horizon helpers

  • AMBIENT_HORIZON_CLIP_BOTTOM_VAR, AMBIENT_HORIZON_WATER_RATIO_VAR
  • buildAmbientHorizonClipStyle

Types — horizon props, provider props, and all star types from ambientBackground.utils.

Utils — ambientStarToStyle, createAmbientStarfield, getAmbientStarfieldCounts.


Sources: src/app/components/ambient-background/index.ts