This line was removed.
This word was removed. This word was added.
This line was added.
Changes (4)View Page History
The first task asked us to create 4 new 3D shape methods. These methods were added on the our shapes class in the shapes file. All of the shapes were created by strings that get read in by our TurtleInterpreter class. Branching played a key role in coming up with the shapes and strings, as it allowed us to create more efficient strings. Below is an image showing my 4 new shapes: !Screen Shot 2017-05-04 at 10.27.15 PM.png|border=1,width=300!
!Screen Shot 2017-05-04 at 10.27.15 PM.png|border=1,width=300!
I created a box, a house, a chair and a 3D triangle.
Task 2: For task 2 we were asked to make at least one of our functions recursive. I decided to choose my 3D triangle class, and to make my 3D triangle recursive. Below is my new 3D triangle function that uses recursion: !Screen Shot 2017-05-05 at 1.23.12 PM.png|border=1,width=300!