Skip to content

five-on-it / packages/sim/src/dogs / DOGS

Variable: DOGS ​

const DOGS: object

Defined in: packages/sim/src/dogs.ts:91

The numbers of the dogs.

Type Declaration ​

ahead ​

readonly ahead: 1.6 = 1.6

How far ahead of its walker a dog ranges at most, and how far behind (m).

arrive ​

readonly arrive: 0.8 = 0.8

Within this of a pavement node (or its goal) it has arrived (m).

barkAtDog ​

readonly barkAtDog: 0.5 = 0.5

barkShare ​

readonly barkShare: 0.08 = 0.08

The share of its decisions that come with a bark; of its meetings with another dog.

behind ​

readonly behind: 1.1 = 1.1

boltTicks ​

readonly boltTicks: 150 = 150

Ticks it bolts: two and a half seconds flat out.

calm ​

readonly calm: readonly [90, 210]

Ticks it stands, calming down, after it bolted.

carClear ​

readonly carClear: 0.7 = 0.7

carSpeed ​

readonly carSpeed: 3 = 3

A car faster than this (m/s) that would reach it within carTime seconds, passing within carClear metres of it, makes it jump aside.

carTime ​

readonly carTime: 0.9 = 0.9

crossShare ​

readonly crossShare: 0.4 = 0.4

The share of the places it ranges to that are on its walker's other side.

detour ​

readonly detour: 3 = 3

With something in its way back, it goes this far aside (m), for so many ticks at most.

detourTicks ​

readonly detourTicks: 45 = 45

dodgeTicks ​

readonly dodgeTicks: 24 = 24

Ticks it dashes aside, and how many of them before it hops.

follow ​

readonly follow: readonly [300, 720]

followGap ​

readonly followGap: 1.6 = 1.6

followLose ​

readonly followLose: 12 = 12

followReach ​

readonly followReach: 8 = 8

A stray takes to a person within this (m), keeps this far behind it (m) and loses it beyond this (m).

followShare ​

readonly followShare: 0.15 = 0.15

fright ​

readonly fright: 22 = 22

A dog this near gunfire or a blast bolts (m): farther than a person runs from it.

gain ​

readonly gain: 2.5 = 2.5

How hard it makes for its place: metres a second per metre it is off it; and the most of its walking speed it does so at.

groundShare ​

readonly groundShare: 0.5 = 0.5

With nothing to sniff at near, the share of sniffs that are at the ground.

hopAt ​

readonly hopAt: 5 = 5

inWay ​

readonly inWay: 1.2 = 1.2

A sniffing dog this near ahead of its walker, on its line, is in its way (m): the walker waits.

lead ​

readonly lead: 2.2 = 2.2

A lead's length (m): a dog on it keeps within this of its walker.

leash ​

readonly leash: 1.4 = 1.4

Back on its lead this near its walker (m).

nose ​

readonly nose: 3 = 3

How far a dog smells something to sniff at (m), and how near it stands to it (m).

pavementReach ​

readonly pavementReach: 40 = 40

How far a stray off the pavements looks for them (m).

range ​

readonly range: readonly [90, 300]

Ticks it keeps a place before it picks another, at least and at most.

rangePace ​

readonly rangePace: 0.7 = 0.7

returnRange ​

readonly returnRange: 45 = 45

Its walker this near, a dog that has calmed down goes back to it (m).

returnTicks ​

readonly returnTicks: 900 = 900

Ticks it tries to get back before it gives its walker up.

roam ​

readonly roam: readonly [120, 360]

Ticks a stray off every pavement keeps a way, at least and at most, and how far it goes (m).

roamFar ​

readonly roamFar: 12 = 12

round ​

readonly round: 0.95 = 0.95

A dog changing sides passes this far ahead of its walker, or behind it, at least (m).

side ​

readonly side: readonly [0.7, 1.25]

How far to either side of its walker, at least and at most (m).

sit ​

readonly sit: readonly [240, 600]

sitAfter ​

readonly sitAfter: 210 = 210

Ticks its walker stands before it sits down.

sitShare ​

readonly sitShare: 0.08 = 0.08

slow ​

readonly slow: 0.6 = 0.6

The share of its pace a walker keeps while its dog sniffs, or lags at the end of the lead.

sniff ​

readonly sniff: readonly [120, 300]

Ticks a sniff lasts, at least and at most.

sniffAt ​

readonly sniffAt: 0.7 = 0.7

sniffShare ​

readonly sniffShare: 0.4 = 0.4

The share of its decisions that are to sniff at something.

stand ​

readonly stand: readonly [60, 180]

Ticks a stray stands, sits and follows somebody, at least and at most.

standShare ​

readonly standShare: 0.12 = 0.12

The share of a stray's decisions that are to stand, to sit, to follow somebody.

still ​

readonly still: 0.25 = 0.25

Slower than this (m/s) it stands, and so does whoever it watches; slower than turn it keeps facing the way it did.

stuckTicks ​

readonly stuckTicks: 20 = 20

Ticks walking without getting anywhere before it turns away.

taut ​

readonly taut: 0.85 = 0.85

The lead is taut from this share of its length.

trot ​

readonly trot: 0.45 = 0.45

A stray's trot along the pavements, as a share of its walking speed.

tugTicks ​

readonly tugTicks: 75 = 75

Ticks a sniffing dog holds out on a taut lead before it gives in.

tumbleTicks ​

readonly tumbleTicks: 90 = 90

Ticks a car's hit that did not kill it tumbles it: a second and a half.

turn ​

readonly turn: 0.6 = 0.6