five-on-it / packages/sim/src/dogs / DOGS
Variable: DOGS
constDOGS:object
Defined in: packages/sim/src/dogs.ts:91
The numbers of the dogs.
Type Declaration
ahead
readonlyahead:1.6=1.6
How far ahead of its walker a dog ranges at most, and how far behind (m).
arrive
readonlyarrive:0.8=0.8
Within this of a pavement node (or its goal) it has arrived (m).
barkAtDog
readonlybarkAtDog:0.5=0.5
barkShare
readonlybarkShare:0.08=0.08
The share of its decisions that come with a bark; of its meetings with another dog.
behind
readonlybehind:1.1=1.1
boltTicks
readonlyboltTicks:150=150
Ticks it bolts: two and a half seconds flat out.
calm
readonlycalm: readonly [90,210]
Ticks it stands, calming down, after it bolted.
carClear
readonlycarClear:0.7=0.7
carSpeed
readonlycarSpeed: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
readonlycarTime:0.9=0.9
crossShare
readonlycrossShare:0.4=0.4
The share of the places it ranges to that are on its walker's other side.
detour
readonlydetour:3=3
With something in its way back, it goes this far aside (m), for so many ticks at most.
detourTicks
readonlydetourTicks:45=45
dodgeTicks
readonlydodgeTicks:24=24
Ticks it dashes aside, and how many of them before it hops.
follow
readonlyfollow: readonly [300,720]
followGap
readonlyfollowGap:1.6=1.6
followLose
readonlyfollowLose:12=12
followReach
readonlyfollowReach:8=8
A stray takes to a person within this (m), keeps this far behind it (m) and loses it beyond this (m).
followShare
readonlyfollowShare:0.15=0.15
fright
readonlyfright:22=22
A dog this near gunfire or a blast bolts (m): farther than a person runs from it.
gain
readonlygain: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
readonlygroundShare:0.5=0.5
With nothing to sniff at near, the share of sniffs that are at the ground.
hopAt
readonlyhopAt:5=5
inWay
readonlyinWay: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
readonlylead:2.2=2.2
A lead's length (m): a dog on it keeps within this of its walker.
leash
readonlyleash:1.4=1.4
Back on its lead this near its walker (m).
nose
readonlynose:3=3
How far a dog smells something to sniff at (m), and how near it stands to it (m).
pavementReach
readonlypavementReach:40=40
How far a stray off the pavements looks for them (m).
range
readonlyrange: readonly [90,300]
Ticks it keeps a place before it picks another, at least and at most.
rangePace
readonlyrangePace:0.7=0.7
returnRange
readonlyreturnRange:45=45
Its walker this near, a dog that has calmed down goes back to it (m).
returnTicks
readonlyreturnTicks:900=900
Ticks it tries to get back before it gives its walker up.
roam
readonlyroam: readonly [120,360]
Ticks a stray off every pavement keeps a way, at least and at most, and how far it goes (m).
roamFar
readonlyroamFar:12=12
round
readonlyround:0.95=0.95
A dog changing sides passes this far ahead of its walker, or behind it, at least (m).
side
readonlyside: readonly [0.7,1.25]
How far to either side of its walker, at least and at most (m).
sit
readonlysit: readonly [240,600]
sitAfter
readonlysitAfter:210=210
Ticks its walker stands before it sits down.
sitShare
readonlysitShare:0.08=0.08
slow
readonlyslow: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
readonlysniff: readonly [120,300]
Ticks a sniff lasts, at least and at most.
sniffAt
readonlysniffAt:0.7=0.7
sniffShare
readonlysniffShare:0.4=0.4
The share of its decisions that are to sniff at something.
stand
readonlystand: readonly [60,180]
Ticks a stray stands, sits and follows somebody, at least and at most.
standShare
readonlystandShare:0.12=0.12
The share of a stray's decisions that are to stand, to sit, to follow somebody.
still
readonlystill: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
readonlystuckTicks:20=20
Ticks walking without getting anywhere before it turns away.
taut
readonlytaut:0.85=0.85
The lead is taut from this share of its length.
trot
readonlytrot:0.45=0.45
A stray's trot along the pavements, as a share of its walking speed.
tugTicks
readonlytugTicks:75=75
Ticks a sniffing dog holds out on a taut lead before it gives in.
tumbleTicks
readonlytumbleTicks:90=90
Ticks a car's hit that did not kill it tumbles it: a second and a half.
turn
readonlyturn:0.6=0.6