Trails Example 3D

Trails Example 3D preview image

1 collaborator

Uri_dolphin3 Uri Wilensky (Author)


(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 128 times • Downloaded 14 times • Run 0 times
Download the 'Trails 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.)


This code example shows how to use turtles to draw lines that trace a turtle's trajectory.

Since each line segment in a turtle, the model will eventually slow down once there are too many lines on the screen. If your model is creating too many lines, decrease the resolution of each line by moving more than once between calls to draw-line-to.

Comments and Questions

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

Click to Run Model

to setup
  crt number-of-drawers
  [ set size 3
    pd ]

to go
  ask turtles [ wander ]

to wander   ;; turtle procedure
  fd 1
  rt (random 30) - 10
  tilt-up (random 50) - 20

; Copyright 2006 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 14 years ago Updated from NetLogo 4.1 Download this version
Uri Wilensky almost 14 years ago Model from NetLogo distribution Download this version
Uri Wilensky almost 14 years ago Trails Example 3D Download this version

Attached files

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

This model does not have any ancestors.

This model does not have any descendants.