Wigglewalk

Wigglewalk preview image

1 collaborator

Default-person Jose Montes (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 5.3.1 • Viewed 151 times • Downloaded 9 times • Run 0 times
Download the 'Wigglewalk' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

globals [ OriginDistance ]      ;; sets the OriginDistance as the global variable

to setup                        ;;creates 1 turtle sets its color,size,heading and resets ticks
  clear-all
  reset-ticks
  create-turtles 1
  ask turtles
  [
    set heading 0
    set color 15
    set size 5
  ]
end 

to DrawWall                            ;; Sets up the circle owl will be running into
  ask turtles
  [
    repeat 360
    [
      forward radius
      pen-down
      forward 5
      pen-up
      setxy 0 0
      set heading (heading + 1)
    ]
  ]
end 

to RandomWalk                               ;; Sets up how the turtle will run the RandomWalk procedure for the owl experiments
  ask turtles
  [
    set heading (random 360)
    pen-down
    forward 1
       set OriginDistance distancexy 0 0
  ]
  if OriginDistance > radius
  [stop]
  tick
end 

to WiggleWalk                               ;; Sets up how the turtle will run the WiggleWalk procedure for the owl experiments
  ask turtles
  [
    pen-down
    right wiggleright
    left wiggleleft
    forward 1
    set OriginDistance distancexy 0 0
  ]
  if OriginDistance > radius
  [stop]
  tick
end 

There is only one version of this model, created over 6 years ago by Jose Montes.

Attached files

File Type Description Last updated
Wigglewalk.png preview Preview for 'Wigglewalk' over 6 years ago, by Jose Montes Download

This model does not have any ancestors.

This model does not have any descendants.