Skip to content

five-on-it / apps/client/src/renderer/window-lights / WINDOW_LIGHTS

Variable: WINDOW_LIGHTS ​

const WINDOW_LIGHTS: object

Defined in: apps/client/src/renderer/window-lights.ts:38

How the lit windows are drawn.

Type Declaration ​

beside ​

readonly beside: 1.4 = 1.4

firstFloor ​

readonly firstFloor: 5.8 = 5.8

flicker ​

readonly flicker: 0.1 = 0.1

How often the televisions' flicker is drawn (s).

full ​

readonly full: 8 = 8

glow ​

readonly glow: 0.85 = 0.85

A lit window's strength at night (what is added of its tone).

groundFloor ​

readonly groundFloor: 2.2 = 2.2

A window whose sill is at most groundFloor above the ground at the foot of its wall is on the ground floor, up to firstFloor on the floor above it (m): both throw their light on the pavement, the upper one upper as strong.

lift ​

readonly lift: 0.07 = 0.07

How far over the ground the patch is drawn (m).

proud ​

readonly proud: 0.03 = 0.03

How far in front of its glass a window's light is drawn (m).

reach ​

readonly reach: 4.6 = 4.6

How far its light reaches over the pavement (m), and past its sides.

slope ​

readonly slope: 0.35 = 0.35

The patch leans with the ground it lies on, by this much at most (rise over run).

spill ​

readonly spill: 0.4 = 0.4

The strength of that patch at night, for a window of full m² or more.

upper ​

readonly upper: 0.45 = 0.45