Getting to Know Turtle
00:13 Nearly everyone knew how to do some programming, as the means to do it were built into these systems and available at boot time. In addition, there was an educational language created in the 1960s called Logo, which incorporated turtle graphics, controlling a line-drawing robot.
00:31 While originally this was a physical robot with a pen and two motors to drive it like the one you see here, there were many other implementations of turtle graphics where the graphics were controlled in the same way but appeared onscreen.
turtle makes use of onscreen graphics, so you won’t have to buy any hardware. This is reminiscent of those 1980s home micros, where you’re just a few lines of code away from drawing shapes and patterns on the screen.
turtle is a part of the Python standard library.
This means that it’s built into Python, so if you have Python installed and running, there’s no more to do. It provides an on-screen pen, allowing you to move the virtual turtle about and see where it’s been.
turtle provides straightforward, accessible graphics, allowing beginners to get to grips with issuing commands to a computer and seeing the results instantly. As such, it’s an ideal route to take with kids as an introduction to programming, but it’s not limited to a younger audience.
Become a Member to join the conversation.