final netlogo project

final netlogo project preview image

1 collaborator

Default-person aidan savona (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 6.1.0 • Viewed 74 times • Downloaded 9 times • Run 0 times
Download the 'final netlogo project' 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

to setup

  ca
  set-default-shape turtles "circle"
  create-turtles 1
  ask turtles
  [setxy 0 0
  set size 10
  set color 45]

  create-turtles 8

  [setxy random-xcor random-ycor]
  ask turtles  with [who > 0 ] [
    set color 96
    face  turtle 0
    ]
  ask patches[ set pcolor 10 ]
  reset-ticks
end 

to go


  ask turtles  with [who > 0 ] [
    face turtle 0
    rt 90
    fd .1  ]

tick
end 

to kill-planets

  ask turtles  with [who > 0 ][
    die]

  tick
end 

to endofuniverse

  ask turtles with [who > 0 ] [face turtle 0
    fd .1
  ]

tick
end 

to clear
  ca
  reset-ticks
end 

to stars
  ask patches[ set pcolor black]
  ask n-of  15  patches  [ set pcolor white]

  tick
end 

to kill-stars

  ask patches [ set pcolor black ]

  tick
end 






























There is only one version of this model, created about 5 years ago by aidan savona.

Attached files

File Type Description Last updated
final netlogo project.png preview Preview for 'final netlogo project' about 5 years ago, by aidan savona Download

This model does not have any ancestors.

This model does not have any descendants.