Cancer 2

No preview image

This model is seeking new collaborators — would you please help?

1 collaborator

Default-person Boris Itkin (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 241 times • Downloaded 12 times • Run 0 times
Download the 'Cancer 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.)


Info tab cannot be displayed because of an encoding error

Comments and Questions

balancing_cancer2

Hi Boris! Very interesting project. I've seen you are looking for collaboration: if you like I could introduce some code lines to get a more balanced dynamic of the life cycle cells populations.

Posted over 1 year ago

Click to Run Model

breed[cancers cancer] ;malignant cells
breed[normals normal] ;normal cells

to setup
  Clear-all


  ask patches [ set pcolor gray ]

  set-default-shape cancers "pentagon" ;; mailgnant cells
  create-cancers initial-number-cancers  ;; create the malignant cells,
  [
    set color red
    set size 1  ;; malignant cell
 setxy random-xcor random-ycor
  ]
  set-default-shape normals"square" ;;normal cells
  create-normals initial-number-normals  ;; create the normal cells,
  [
    set color blue
    set size 1
    setxy random-xcor random-ycor
  ]

  reset-ticks
end 

to go
  if not any? cancers [stop]
  if ticks = 20 [stop] ;; the computational power of my PC is not enogh to continue with more tics



  ask cancers [
    ifelse
    any? turtles-on neighbors4
    [hatch 1 rt random-float 360 fd 1 ]
    [die]
 ]




  ask normals  [
   if not any? normals-on neighbors4
   [die]
   ]

tick
end 

There is only one version of this model, created over 1 year ago by Boris Itkin.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.