LightPhase

sealed interface LightPhase

A state the sun can be in where the angle can cause lighting effects. This is mostly relevant to photographers.

Many LightPhases can occur twice during a full solar cycle. For instance GoldenHour can occur during both dusk and dawn.

Inheritors

Types

Link copied to clipboard
sealed interface BlueHour : LightPhase

When the sun is at a significant depth below the horizon and light takes on a particularly blue shade.

Link copied to clipboard
sealed interface GoldenHour : LightPhase

A time ideal for taking photographs due to the angle of the sun and the pleasing red light it casts. This is sometimes referred to as "magic hour."