Solar System Model

Solar System Model 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 75 times • Downloaded 5 times • Run 0 times
Download the 'Solar System Model' 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 over 4 years ago by Aidan Savona.

Attached files

File Type Description Last updated
Solar System Model.png preview Preview for 'Solar System Model' over 4 years ago, by Aidan Savona Download

This model does not have any ancestors.

This model does not have any descendants.