Netlogo-设置背景形状

时间:2018-07-17 07:59:30

标签: netlogo

如何为模型的世界添加静态形状? 我知道为了设置图像,我可以import-pcolors "Image.png" 我可以对形状做同样的事情吗? 目前,为了添加这样的形状,我要做:

ask patches with [((pxcor > 4) and (pxcor < 9) and
                 (pycor > -11) and (pycor < 5))] 

[ set pcolor white
    set plabel-color black
    ask turtle 0 [
      setxy 8 2
      set color blue
      set shape "circle"]
]

0 个答案:

没有答案