Libraries‎ > ‎Library‎ > ‎Environment‎ > ‎

View update

BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
Set the way NetLogo updates the view.
End description
View update
Begin NetLogo code:
substitute-text-area-for initial-view-update-policy true 
set-tick-based-view-update-policy initial-view-update-policy
End NetLogo code

How this works

This tells NetLogo what policy to use to determine when the display should be repainted.

Due to current limitations of NetLogo this specifies only the initial view update policy and cannot be used to change the policy during execution.

Related micro-behaviours

Frame rate controls the frequency of updates.


View update was implemented by Ken Kahn on 14 February 2014.

BehaviourComposer: ignore everything after this.