Tag: Python Turtle

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:

Random Background Generator


In this challenge we will use a Python script (using Python Turtle) to generate a random background for a 2D video game. To create a mountain range skyline we will use a polynomial function:   In our example (see trinket

Oblique Projection Formulas

Oblique Projection Formula

The aim of this challenge is to demonstrate how the oblique projection formulas are used to convert 3D coordinates (x,y,z) into 2D coordinates (x,y). The oblique projection formulas are essential to understand how 3D models are displayed on a 2D

Moroccan Mosaic


Moroccan mosaic, aka Zellige (الزليج‎‎), is a form of Islamic art and one of the main characteristics of Moroccan architecture. It consists of geometrically patterned mosaics, used to ornament walls, ceilings, fountains, floors, pools and tables. Each mosaic is a

2D Shapes using Python Turtle


In this challenge we will use Python Turtle to draw regular polygons including: An equilateral triangle A square A pentagon An hexagon etc. Did you know? In Euclidean geometry, a regular polygon is a polygon that is equiangular (all angles

Infinite Quarter Series


The infinite quarter series is a series where each term is a quarter of the previous one: We can visually represent this series by dividing a canvas (or price of paper) into 4 quadrants and colouring in one quadrant (bottom