Student project-Kinetic molecule model

Student project-Kinetic molecule model  preview image

1 collaborator

Screen_shot_2018-02-02_at_12.53.50_pm lin xiang (Author)

Tags

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

globals [step]

to setup
clear-all
create-turtles number-of-molecules
[set color 85
set size 2
set shape "dot"
setxy -18 + random -3 random 5 - 2]
set step 0.05
  reset-ticks
end 

to move
if step < 0 [user-message "The water molecles cannot be chilled any more (they have stopped)" stop]
  ask turtles [fd step rt random 360]
end 

to attraction

ask turtles [
  let thing1 one-of other turtles in-radius 15
  if thing1 != nobody
    [ face thing1 fd 0.01 rt random 360]]
end 

to repulsion
  ask turtles[
    let thing2 one-of other turtles in-radius 1
    if thing2 != nobody
    [face thing2 fd -0.1 rt random 360]]
end 

There is only one version of this model, created about 4 years ago by lin xiang.

Attached files

File Type Description Last updated
Student project-Kinetic molecule model .png preview Preview for 'Student project-Kinetic molecule model ' about 4 years ago, by lin xiang Download

This model does not have any ancestors.

This model does not have any descendants.