Blog Archives

Infinite Quarter Series

infinite-quarter-series-visual-representation-square

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

Golden Angle

golden-angle-8

In geometry, the golden angle is the smaller of the two angles created by sectioning the circumference of a circle according to the golden ratio. Golden Angle ≈ 137.5° The golden angle plays a significant role in the theory of

Graphing Algorithm

quadratic-equation

In this challenge we will write several procedures to graph different mathematical equations on screen using Python Turtle. We will focus on: Linear equations: y = ax + b Quadratic equations: y = ax2 + bx + c Trigonometric functions:

Football Formation

football-flag

The purpose of this challenge is to understand how subroutines (functions/procedures) are used in Python to create sections of code that can be called/reused many times within a program. Subroutines mean that a section of code can be identified using

Python Turtle – My House

house-python-turtle

Using Python Turtle we created a range of functions to draw a house. We use these functions in our main program but can’t seem to get it to work. We believe the code has all the required instructions but these

Archery Scoring Algorithm

archery

In this challenge we will write a Python program to randomly shoot an arrow on a target. We will then use Pythagoras’ Theorem to calculate the distance between the arrow impact and the centre of the target. This distance will

Merry Christmas

merry-christmas

For this challenge we are going to create Christmas Cards using Python turtle. We will use the random library to create unique cards. Starry Night Our first card consists of creating a starry night scene. This card is using: A

Beach Huts Challenge

beach-huts

Look at the code below to draw lines of beach huts. Your task is to tweak the code used to draw the third line of beach huts. On this line we want the computer to choose random colours from the

My Charts

chart

For this challenge we are going to use Python turtle to create some charts: Column charts, line charts and radar charts. First we need a data set. We will use the following data that shows the market share of the

Avatar Generator

avatars4

In this challenge we will use Python Turtle to create avatars. (An avatar is an icon representing a particular person in a computer game, Internet forum, etc.) Try the code below. This code is using a few computing concetps such

Our Latest Book