|A||Enayet, Danielle, Jane|
|B||Talia, Sanie, Amber|
|C||Jonathan, Sachi, Dorothy, Gabriel|
|D||Bateel, Jennifer, Kim|
Using turtle graphics, create an intricate portrait of an animal. Begin by choosing an animal. Look a photo references of your animal and note interesting details, textures, patterns, and features. How can you translate those details into your sketch. Create you sketch primarily using turtle graphics techniques.
Logo is a computer programming language, created in 1967 at the (now) MIT Media Lab to explore how programming can help children learn critical thinking and problem solving. One of the creators of Logo, Seymour Papert, wrote the book Mindstorms which discusses logo and its goals.
One of the ideas introduced in Logo was "turtle graphics". In Logo one can issue commands like
left to turn and
forward to move. These commands are carried out by a robotic or on-screen "turtle". The turtle can draw a line, tracing its path and producing interesting drawings.
Logo’s use of turtles allows students make a strong association between what happens in the program and how they move their own bodies in the real world. Papert called this “body-syntonic” learning.
I’ve created a basic implementation of a turtle for you to use this week.
Grab the code here.
myTurtle = new Turtle(x, y)
turtle constructor, creates a turtle object takes optional x, y starting coordinates (default is center of sketch)
moves the turtle along its current bearing, drawing a line if pen is down
moves the turtle backward from its current bearing, drawing a line if pen is down
instantly transports the turtle to the provided x, y location, drawing a line if pen is down
rotates the turtle’s bearing clockwise by the provided angle in degrees
rotates the turtle’s bearing counter-clockwise by the provided angle in degrees
changes the turtle’s bearing to the provided angle in degrees
tells the turtle to move without drawing
tells the turtle to draw a line when it moves
myTurtle.image(image, width, height)
draws and image centered on the turtle’s current location and aligned with the turtle’s rotation
records the turtle’s current state (position, bearing, etc.) to a stack so that changes can be undone easily
restores the turtle’s state to the top recorded state on the stack
Explore using p5’s pixel manipulation functions by modifying the scripts above. Work through the following challenges in order. Don’t skip any.
penUp() + penDown()
Style Tip: If you change what a function does, you should change its name as well. Did you change the function name in 6?
i * 3.
175 + frameCount.
After you work with Turtle Graphics this week, you should have a solid grasp on the basics. Consider redoing the challenges above to see how solid your understanding is.
|< 12 in 20 minutes||You need to put in some extra work to strengthen your programming understanding.|
|12 in 20 minutes||Good.|
|16 in 30 minutes||Great.|
|16 in 20 minutes||Hot Dang!|