modelo 2

modelo 2 preview image

1 collaborator

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 5.1.0 • Viewed 243 times • Downloaded 27 times • Run 0 times
Download the 'modelo 2' 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 iniciar
  
  clear-all
crt 100
ask turtles [ fd 5]
ask patches [
  if pxcor = 0 [set pcolor green]
  if pycor = 0 [set pcolor yellow]
]
end 

to rebotar
  
  fd paso
  if pcolor = green [
    set heading ( -1 * heading)
  ]
  
  fd 0.01
  if pcolor = yellow [
    set heading ( 180 - heading)
  ]
end 

There is only one version of this model, created over 10 years ago by Leslie Zamudio Vazquez.

Attached files

File Type Description Last updated
modelo 2.png preview Preview for 'modelo 2' over 10 years ago, by Leslie Zamudio Vazquez Download

This model does not have any ancestors.

This model does not have any descendants.