机械运动

No preview image

1 collaborator

Default-person 思成 杜 (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.2.2 • Viewed 45 times • Downloaded 5 times • Run 0 times
Download the '机械运动' 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

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

to setup
  ca
  reset-ticks
  crt 2[setxy item who[-15 -15] item who[0 3]]
  ask turtles[ set heading 90]
end 

to goys
  loop[
    if [xcor] of turtle 1 + 0.1 > max-pxcor [stop]
    ask turtle 1[fd v * 0.0001]
    tick
  ]
end 

to goybs
  let originalv 0
  loop[
    if [xcor] of turtle 0 + 0.1 > max-pxcor [stop]
    set originalv originalv + a * 0.001
    ask turtle 0[fd originalv * 0.0001]
    tick
  ]
end 

There is only one version of this model, created about 2 years ago by 思成 杜.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.