Friday, November 18, 2016

Smiley code reflection


Copy and paste your code to create your smiley face.  

penColor("lightgreen");
dot(500);
penUp();
penColor("purple");
penWidth(5);
move(0, -175);
penDown();
move(0, 50);
penUp();
move(0, 50);
turnRight(45);
penColor("red");
penDown();
arcRight(180, 25);
moveForward(50);
penUp();
moveTo(160, 165);
turnTo(-45);
penDown();
arcLeft(180, 25);
moveForward(50);
penColor("purple");
penUp();
moveTo(140, 300);
penDown();
turnTo(-90);
arcLeft(180, 25);
penUp();
moveForward(40);
penDown();
moveForward(10);
arcLeft(180, 12.5);
arcRight(180, 12.5);
moveForward(10);



What challenges did you face in this lab?
The biggest challenge was finding where to put all of the dots/curves

How did you solve these challenges?  
I figured out the center of the coordinate grid by guess and check, then offset the dots a equal distance from the center.

Did you collaborate with others in class?
no

Did you get or provide help to other "programmers" in class?  With what?  What documentation did you use for this lab today?  
I used the documentation from code.org

Provide examples of other libraries you are familiar with in other programming languages.

I’m familiar with a lot of the libraries in Java, such as the input, and the math librarys.

No comments:

Post a Comment