Skip to content

five-on-it / apps/client/src/renderer/occluders / OCCLUDERS

Variable: OCCLUDERS ​

const OCCLUDERS: object

Defined in: apps/client/src/renderer/occluders.ts:45

The fade's numbers.

Type Declaration ​

cell ​

readonly cell: 32 = 32

The side of the grid's cells (m).

clearance ​

readonly clearance: 4 = 4

It fades only when its top stands this far over the car (m).

ease ​

readonly ease: 0.1 = 0.1

How quickly it eases there and back (s, the time constant).

faded ​

readonly faded: 0.3 = 0.3

How see-through a faded building is drawn (its visibility).

hold ​

readonly hold: 0.4 = 0.4

How long a building stays faded after the last ray through it (s).

lift ​

readonly lift: 1 = 1

The rays aim this high over the car's middle (m)…

minHeight ​

readonly minHeight: 8 = 8

A building at least this tall (m), its storeys counted, may hide the car.

most ​

readonly most: 4 = 4

At most this many faded at once.

reach ​

readonly reach: 2 = 2

…and this far ahead of it and behind it (m).