enderbender
enderbender

Reputation: 145

Export view to animated GIF in NetLogo

Is there a way to export a NetLogo model's view into an animated GIF? I'm trying to create an animated GIF for a dynamic population density model and I'd like to embed the output as a moving GIF image on a webpage so the reader can see how the pattern is moving.

Upvotes: 3

Views: 1046

Answers (1)

King-Ink
King-Ink

Reputation: 2096

My method is to use export-view on every tick using sequential file names Put

   tick
   export-view (word ticks ".png")

in your "Go" procedure. Make sure your images are in their own directory. Use a gif making tool to convert the images to a gif. I use the gimp.

Upvotes: 3

Related Questions