BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
Save a snapshot of the entire interface to the file system. NETLOGO ONLY - DOES NOT WORK IN APPLETS.
End description
Record interface
Begin NetLogo code:
substitute-text-area-for folder-path test1 display export-interface (word "folder-path" "/frame" but-first (word (100000 + round ticks)) ".png")
End NetLogo code
Typically this is enhanced to repeat on every tick.
This uses the NetLogo primitive export-interface to save a PNG file of the appearance of the current state of the interface. The reason for adding 100000 to the ticks and then removing the first digit is so the file names are chronologically ordered when sorted alphabetically.
Record view records only the view of the world and not the user interface widgets.
This was implemented by Ken Kahn on 10 August 2012.
BehaviourComposer: ignore everything after this.