Skip to content

sunPosition

sunPosition(hour, latitude, declination, north): object

Defined in: postprocess/timeOfDay.ts:84

The sun’s place at an hour: its elevation and its azimuth from +Z toward +X, in radians.

number

Solar time, 0..24; 12 is noon.

number

Degrees; where on the planet. Positive is north.

number

Degrees, -23.5..23.5: the season. Positive is summer in the north.

number

Degrees the world is turned from compass north (+Z) toward +X.

object

azimuth: number

elevation: number