Three Loops Example 3D

Three Loops Example 3D preview image

1 collaborator

Uri_dolphin3 Uri Wilensky (Author)

Tags

(This model has yet to be categorized with any tags)
Model group CCL | Visible to everyone | Changeable by group members (CCL)
Model was written in NetLogo 3D 4.1pre7 • Viewed 97 times • Downloaded 11 times • Run 0 times
Download the 'Three Loops Example 3D' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

This model shows three turtles moving around in 3D NetLogo. The gray turtle is changing only pitch and moving forward, the red turtle is changing only roll, and the orange turtle is changing pitch, roll, and heading as it is using right3d.

Comments and Questions

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

Click to Run Model

to setup
  ca
  crt 3
  [
    set heading who * 90
    set pitch 0
    set roll 0
  ]
  ask turtle 2 [ set pitch 35 ]
end 

to go
  ask turtle 0 [ tilt-down 2 fd 0.1 ]
  ask turtle 1 [ roll-right 5 fd 0.1 ]
  ask turtle 2 [ right 2 fd 0.1 ]
  tick
end 


; Copyright 2005 Uri Wilensky. This code may be freely copied, distributed,
; altered, or otherwise used by anyone for any legal purpose.

There are 3 versions of this model.

Uploaded by When Description Download
Uri Wilensky almost 9 years ago Updated from NetLogo 4.1 Download this version
Uri Wilensky almost 9 years ago Model from NetLogo distribution Download this version
Uri Wilensky almost 9 years ago Three Loops Example 3D Download this version

Attached files

File Type Description Last updated
Three Loops Example 3D.png preview Preview for 'Three Loops Example 3D' about 6 years ago, by Uri Wilensky Download

This model does not have any ancestors.

This model does not have any descendants.