IModel-template-1
Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)
WHAT IS IT?
This is a module template for new users to mess up with some basic features of turtles and patches in either stand-only NetLogo on a computer/laptop or on NetLogo Web.
HOW TO USE IT
Modelers can change the basic features of turtle(s), including the size, color, shape, position, as well as trace its/their movement. The X coordinates of this simulation window in this module go from -24 to 24, so do the Y coordinates. Modelers may define the turtle positions within the range.
Modelers can change the patch color and add in patch-own variables.
Some suggestions can be found about what
RELATED MODELS
Other IModel models.
CREDITS AND REFERENCES
Dr. Lin Xiang at the University of Kentucky develops this model for IModel project.
Contact: lin.xiang@uky.edu
Comments and Questions
turtles-own [ ] patches-own [ ] globals [ ] to setup ca create-turtles 1 [set color 95 ;see what happen if you change the number after "color" set size 3 ;see what happen if you change the number after "size" set shape "turtle" ;see what happen if you change the number after "shape". ;Note you must have the shape name in the quotation mark, ;Some shape options in NetLogo include: ; airplane, arrow, box, bug, butterfly, car, circle, circle 2, ; cow, cylinder, dot, face happy, face neutral, face sad, ; fish,flag, flower, house, leaf, line, line half, pentagon, ; person, plant, sheep, square, square 2, star, target, tree, ; triangle, triangle 2, truck, turtle, wheel, x ] ask patches [set pcolor 102] ;see what happen if you change the number after "pcolor" reset-ticks end to go move tick end to move ask turtles [ right 10 ;see what happen if you change the number after "right" forward 2 ;see what happen if you change the number after "forward" ] end to draw ask turtles [ifelse pen-mode = "up" [pen-down ][pen-up]] end to erase-trace clear-drawing end
There are 2 versions of this model.
This model does not have any ancestors.
This model does not have any descendants.