![]() The exact same heading as when they started the "FLY AROUND" of the fishes world. I had them turn only 1 degree, so when they repeated this 360 times they would be facing Turn to the left with the lt commands, i.e. I had each airplane go forward with the fd command just a little bitĪnd then had each airplane turn to the right with rt 1 To travel to fly a full 360 degree circle around the outside of the Patches turtle graphics grid world? Recall it was a world that is 33 wide and 33 tall.Ībout what would be the diameter of the circle needed? What would the circumference of that circle be? What math was used to get a good estimate of the distance that the airplanes would have Or do they? If the world is a TORUS, perhaps they are still flying in it, but with HT, the airplanes have become Hidden Turtles. Notice the planes get larger when they eventually fly away and off the grid, off the screen, out of this patches world. Try turning each switch to its opposite setting to see all turtles with one color and to see the turtle shapes without the turtles moving at all. Try all the buttons first and only AFTER you try the 3 different buttons, start to mess with the SLIDERs to adjust the number of turtles you want to see draw squares, or the other slider for the number of turtles you want to see play the SHAPES game. How it works will be explained in future classes, as needed, to help you get better at NetLogo and the modeling and simulation we need to learn by playing with it. Set pen-size 4 fd 8 ] EVEN TURTLES become airplanesįd 3 pu fd 1 ] ODD turtles become FISH ![]() If a turtle has an ODD who number, the REMAINDER will be 1 insteadĬa clear all previous drawing and turtles.Will give a REMAINDER of 0 (zero) for all EVEN numbered turtles. The "WHO" number of a turtle, when divided by 2,.The ODD numbered turtles to do another thing. We want the EVEN numbered turtles to do one thing and Ifelse statement and the remainder operation. Covered NetLogo turtle graphics introduction with emphasis on the Thursday, January 21st, 2010 - StudioIT 1 - ITT 134 first lab class. ![]() Lots of other NetLogo turtle shapes to see too! FlyFishing - JanuEVEN and ODD turtles lesson - NetLOGO 1st lab dayĮVEN and ODD turtles.
0 Comments
Leave a Reply. |