Tag: Python Turtle

The Honeycomb Challenge

Honeycomb is a structure of hexagonal cavities (cells of wax), made by bees to store honey and eggs. In this challenge we will use a set of iterative algorithms to draw a honeycomb pattern. First, we will create a function

Pentagram Challenge

A polygon is a plane shape (2D) with straight lines. It consists of vertices and edges. A polygon is regular when all angles are equal and all sides are equal. For instance a regular pentagon consists of 5 vertices and

Lunar Craters Challenge

The Moon’s surface is covered with thousands of craters. These are caused by asteroids and meteorites colliding with the lunar surface. In this challenge, we will use Python Turtle to create a drawing of the Moon with a random selection

Semaphore Code Using Python Turtle

Flag semaphore is a telegraphy system conveying information at a distance by means of visual signals with hand-held flags. Information is encoded by the position of the flags. The current flag semaphore system uses two short poles with square flags,

My Python Turtle Roller Coaster

In this challenge we will use Python Turtle to draw the track of a roller coaster. We have created three procedures for you to use when drawing the track. Each procedure takes two parameters as follows: straightLine(distance, speed): To draw

Python Turtle – Protractor Challenge

Python Turtle? Let’s Recap! Looking at the following code can you explain the purpose of each Python Turtle instructions: turtle.color(“red”) turtle.forward(100) turtle.right(90) turtle.left(45) turtle.penup() turtle.pendown() turtle.goto(0,0) turtle.circle(50) turtle.setHeading(45) (X,Y) Coordinates? The canvas we are drawing on (using Python Turtle) is

Python Turtle Spirograph

In this blog post we will create a spirograph using Python Turtle to draw different types of curves. Did you know? A Spirograph is a geometric drawing toy that produces mathematical roulette curves of the variety technically known as hypotrochoids

Python Turtle – WordArt Challenge

In this challenge we will use Python Turtle to draw text on screen and customise the appearance of our text. To do so we have created our own font as a Python dictionary. Each letter of the alphabet is represented

Confetti Artwork Challenges

For these challenges we will produce on screen artwork by randomly positioning confetti on different shapes of canvas. Our code will use Python Turtle to draw the canvas and the confetti. Square Canvas Check how the code provided below randomly

Confetti Challenge

In this Python challenge we will write a script to randomly draw confetti on a canvas while ensuring that none of the confetti overlap with each other! Problem Decomposition In this challenge we will need to solve the following problems: