Between-tick display updates in NetLogo Web

I’m trying to make a NetLogo Web version of a model in which turtles move many times within one tick. I use display to update the View when the turtles move, but that does not seem to work in NetLogo Web. The dictionary indicates that display should work in NetLogo web but it does not seem to in my code.

The model is temporarily at:

https://langrailsback.com/Transfer/CoffeeModel_NetLogoWeb.html

(Click “Create Landscale”, wait patiently, then “setup” and “go”. See the go procedure.)

1 Like

Hi Steve,

Thank you for the bug report. Unfortunately, as far as I can tell, the display primitive is not implemented in NetLogo Web. In fact, this section of the NetLogo Web FAQ makes it clear that models with the display primitive will not work in NetLogo Web. We’ll look into it, but it may not be simple to implement in a web context. For now, if you see anything in the docs that says otherwise, could you link it here so that we can correct it?

Isaac B.

1 Like

Thank you Isaac. I admit I did not look for or find that part of the
FAQ; I just noticed that the regular NetLogo dictionary identifies some
primitives that don’t work in NetLogo Web, but the entry for display did
not mention this issue.

Steve