DarwinBotsManual
Open the app EspañolES

.eye9width

Widens eye 9: the wider it is, the more field it covers, but the less far it sees and the smaller its numbers get.

Facts

Address
539
Name
.eye9width
Kind
Command: the bot writes it and the engine reads it and usually consumes it
Group
Eyes
Written by
Your DNA.
Read by
The engine, in the actions phase of every cycle, when it fills .eye9.
Cleared
Never: it stays as you left it.
Range
−32000 to 32000; only the remainder of dividing by 1256 counts. From 0 to 1221 it runs from 10 degrees to the full turn.
Mutations
picked as a store target

How much .eye9 covers on top of its factory 10 degrees. It is measured in the units of .aim (1256 is a full turn; 35 is about 10 degrees): with 0 the eye covers 10 degrees, with 35 about 20, with 315 about 100, and with 1221 the full turn.

Widening has a price: the range drops.

.eye9widthFieldRange
010°1440
3520°1190
14050°861
315100°611
628190°381
1221360°151

Also, the eye's value is relative to its range, so a wide eye gives smaller numbers at the same distance: a bot that the factory eye sees as 168, a 315 eye sees as 30. If you compare against a fixed threshold, like *.eye9 100 >, adjust it when you change the width.

It is configuration: the engine never clears it. Only the remainder of dividing by 1256 counts, so above 1221 the eye becomes narrow again. Negatives are another oddity: from −1 to −34 the eye narrows and sees farther (up to almost double), and from −35 downward a negative behaves as if you had added 1256 to it: −100 gives the same as 1156, an almost panoramic eye with little range.

' eye 9 wider, set only once
cond
*.robage 0 =
start
135 .eye9width store
stop

To change where it looks, use .eye9dir.