Seven Segment Display

No preview image

1 collaborator

Default-person Gagana B (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by the author
Model was written in NetLogo 5.1.0 • Viewed 148 times • Downloaded 18 times • Run 0 times
Download the 'Seven Segment Display' 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

;;seven segment display
;;Project by Gagana B

to setup
  clear-all
  
  ;;A
  clear-all
  create-turtles 1
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "down"] 
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"] 
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"] 
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"] 
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"] 
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"] 
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"] 
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"] 
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"] 
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"] 
  ask turtle 0[forward 2.5]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"] 
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;B
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;C
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;D
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;E
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;F
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;G
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[die]

  ;;H
  clear-all
  create-turtles 1
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 4]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 3]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;I
  clear-all
  create-turtles 1
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;J
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2.5]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die] 
  
  ;;K
  ;;not possible
  
  ;;L
  clear-all
  create-turtles 1
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 6]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;M
  ;;not possible
    
  ;;N
  ;;not possible
  
  ;;O
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;P
  clear-all
  create-turtles 1
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;Q
  ;;not possible
  
  ;;R
  ;;not possible
  
  ;;S
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;T
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2.5]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[die] 
  
  ;;U
  clear-all
  create-turtles 1
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;V
  ;;not possible
  
  ;;W
  ;;not possible
  
  ;;X
  ;;not possible
  
  ;;Y
  ;;not possible
  
  ;;Z
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;0
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;1
  clear-all
  create-turtles 1
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;2
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;3
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
   
  ;;4
  clear-all
  create-turtles 1
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 4]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;5
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;6
  clear-all
  create-turtles 1
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;7
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;8
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
  
  ;;9
  clear-all
  create-turtles 1
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 0]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 3]
  ask turtle 0[set heading 90]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 2]
  ask turtle 0[set heading 180]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[set pen-mode "up"]
  ask turtle 0[forward 1]
  ask turtle 0[set heading 270]
  ask turtle 0[set pen-mode "down"]
  ask turtle 0[forward 2]
  ask turtle 0[die]
end 

There is only one version of this model, created about 10 years ago by Gagana B.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.