Shapes


In StarLogo version 2.0, users can choose to give their turtles specific shapes. For example, if you are doing a traffic project, you could make your turtles shaped like cars. In the below example, you can see the shape of termites in the sample Termites project.

Figure 1: Example of Termite-shapes

 

You can create your own shapes! Go to the Windows menu and select Shape Chooser. Select a blank shape, and double click on it. Select the size of shape you want to use (keeping in mind that you will have to use the same canvas patch size). Note that shapes can only be seen at sizes 8, 16, and 32 in Starlogo. The size of the shape can be selected at the top of the shape editor window. Then you can use the drawing tools to create your shape. Name your shape at the bottom of the shape editor window , and you now have a shape ready for your turtles. Just use the name or number of the shape to "setshape". For example below:

setshape termite-shape

setshape 1