Overlay Spec
Opt-in "agent debugging / teaching" overlays (G10–G12): they record internal computation that drives agent behavior — velocity/force vectors, the flow-field gradient, and planned routes — rather than the observable state the base animation already shows. All flags default off, so a normal run pays zero cost. These are the capture gates (whether the trace contains the data); the viewer has its own display toggles (whether it draws the data), so a captured overlay can be shown/hidden without re-running.
Volume note: the per-step overlays (velocity/force) are the only heavy ones; vectorSampleInterval and agentSubset keep them bounded. The flow field is a one-time per-replication snapshot; paths are occasional.
Constructors
Properties
If non-empty, capture vector overlays only for these agents (to slash volume while teaching).
Record transient location highlights the model reports via reportMarkerPulse (G-animated).
Record routes the model reports via reportPlannedPath (G12).
Sample interval (model time) for the per-step vector overlays; null ⇒ 5 samples / simulated second.
Record per-agent velocity vectors (G10).