« All Events
6 PM – Intro To Python – Gamas
October 1 @ 6:00 pm - 7:00 pm
Today We Did
- We finished left_arm and right_arm functions.
- We learned how to draw circle function.
- We started with draw_face_1 function.
Homework
- Finish draw_face_1() function
- draw the right eye ball
- draw 2 diagonal rectangle to create smile. To draw diagonal rectangle before you draw the rectangle, play around with t.setheading(<angle>). For example,
t.setheading(30)
rectangle(10,20, 40,10, "black")
t.setheading(-30)
rectangle(10,20, 40,10, "black")
- Add x,y parameters to draw_face_1(x,y) and change the code accordingly.
- Call the draw_face_1(100,100), draw_face_1(0,0) and I want to see 2 faces.