steipatr / aul

Export NetLogo simulation runs to GIF or MP4 through Python.
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Export world (Feature request) #1

Open ejlchappin opened 5 years ago

ejlchappin commented 5 years ago

As a default, the view is exported with the command netlogo.command('export-view \"' + str(frame) + '.png\" ')

It would be good to have this as a default, but also have a parameter to export the world (including graphs). This should be possible by using the command if a 'export-world = true' flag. netlogo.command('export-world \"' + str(frame) + '.png\" ')

Possibly for this a subselection of coordinates would be useful (so part of the world could be exported.

Fabulous work!

steipatr commented 5 years ago

Will add this feature in the next major version. Will take some code revision because export-interface doesn't work in NetLogo headless mode, which is how models are currently executed. Thank you for the suggestion.