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

Frame rate

BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
Set the animation rate.
End description
Frame rate
Begin NetLogo code:
substitute-text-area-for initial-frame-rate 30.0  
set-frame-rate initial-frame-rate
End NetLogo code

How this works

This relies upon NetLogo's frame rate.

Due to current limitations of NetLogo this specifies only the initial frame rate and cannot be used to change the frame rate during execution.

Related micro-behaviours

View update controls the view update policy of NetLogo.

History

Frame rate was implemented by Ken Kahn on 14 February 2014.

BehaviourComposer: ignore everything after this.
Comments