Hello World



Download 131.25 Kb.
Date26.04.2018
Size131.25 Kb.
#46928




Lab 2: Hello World -

Your Name in Turtle Graphics


Use NetLogo Turtle Graphics to draw your first name. You may draw in simple block letters or a stylized letters - so long as your name is readable. You may augment your name with decorations drawn in turtle graphics.


Grading Rubric [20 points total]:
[A: 2 points]: Submit one file to your instructor: the Netlogo source code with the file name: W1.firstname.lastname.nlogo. Of course, firstname and lastname in the two file names above are YOUR first and last names.
[B: 2 points]: The first few lines of your program are comments including your name, the date, your school, and the assignment title (Lab 1: Your Name in Turtle Graphics).
[C: 2 points]: Your program must include comments that delineate which lines of code are used to draw each of the letters in your name.
[D: 2 points]: Your program includes a description in the Info section.



[E 6 points]: Your program includes a “setup” and “go” button. When these buttons are clicked in that order, your program uses turtle graphics to draw your first name. If your name is very long you can use a shortened version of your name or a nickname that is at least 5 letters long. You must get approval for the shortened name or nickname from your teacher BEFORE you program it! Note: The example at the head of this lab shows a name drawn 8 times. You may draw your name multiple times, but that is not a requirement.
[F 6 points]: Your program draws your name (and any decorations) using at least 10 different turtle forward commands. Your program may use other turtle commands.
[Extra Credit: 5 Points]: In addition to the “setup” and “go” buttons, your program includes a third button labeled “Extra Credit 1”. When this button is clicked, your program clears the screen and draws 4 different geometric shapes, not five of the same geometric shape. Some geometric shapes to think about are triangle, square or rectangle, dodecahedron, octagon,… you get the idea. Use your imagination – how many sides can you draw on a shape and how does it relate to the angle that the turtle has to turn?
[Extra Credit: 5 Points]: In addition to the “setup” and “go” buttons, your program includes a third button labeled “Extra Credit 2”. When this button is clicked, your program clears the screen and draws a house with at least a box and a triangle for the structure and 1 window and 1 door. Be creative. Use different colors. Have fun!



Page of


Download 131.25 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page