DarwinBotsManual
Open the app EspañolES

.eye5width

Widens eye 5: the wider it is, the more field it covers, but the shorter its range and the smaller its numbers.

Facts

Address
535
Name
.eye5width
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 .eye5.
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 .eye5 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 whole circle.

Widening has a price: the range drops.

.eye5widthFieldRange
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 reads as 168 reads as 30 on an eye set to 315. If you compare against a fixed threshold, like *.eye5 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 5 wider, set only once
cond
*.robage 0 =
start
315 .eye5width store
stop

To change where it looks, use .eye5dir.