Pelotas elásticas confinadas con procedimientos

Pelotas elásticas confinadas con procedimientos preview image

1 collaborator

Default-person Roberto Galindo (Author)

Tags

(This model has yet to be categorized with any tags)
Model group TallerMadero | Visible to everyone | Changeable by everyone
Model was written in NetLogo 5.1.0 • Viewed 126 times • Downloaded 18 times • Run 0 times
Download the 'Pelotas elásticas confinadas con procedimientos' 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 reiniciar

  clear-all
  create-turtles (random 10 + 1) [set shape "circle" set size 2]
  ask turtles [fd 2]
  ask patches [
    if pxcor = 10 and pycor > -10 and pycor < 10 [set pcolor green]
    if pxcor = -10 and pycor > -10 and pycor < 10 [set pcolor green]
    if pycor = 9 and pxcor > -10 and pxcor < 10 [set pcolor green]
    if pycor = -9 and pxcor > -10 and pxcor < 10 [set pcolor green]
  ]

  ask patch 5 12 [set plabel "Pelotas elásticas confinadas en un recipiente cuadrado"]
  ask patch 10 -12 [set plabel "Autor: Roberto Galindo del Valle"]
  ask patch 10 -13 [set plabel "Fecha: 13-Nov-2014"]
end 

to rebotar
  fd speed
  if pcolor = green 
  [ 

    if pxcor = -10 or pxcor = 10 [ set heading (- heading) ]
    if pycor = -9 or pycor = 9 [set heading (180 - heading)]

  ]
end 

There is only one version of this model, created over 9 years ago by Roberto Galindo.

Attached files

File Type Description Last updated
Pelotas elásticas confinadas con procedimientos.png preview Preview for 'Pelotas elásticas confinadas con procedimientos' over 9 years ago, by Roberto Galindo Download

This model does not have any ancestors.

This model does not have any descendants.