More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
post
page
◑ Python IDE Dashboard
Tag: Coordinates

Python Turtle Race

In this challenge we will create a Python script to complete a Turtle race with four turtles racing across the screen. We have started the code for you to set up the pitch of grass. You will complete this project…

Vera Molnár’s Artwork revisited using Python

Vera Molnár (born 1924) is a French media artist of Hungarian origin. She is considered to be a pioneer of computer art. Trained as a traditional artist, she began working with computers in 1968, where she began to create algorithmic…

Polar vs. Cartesian Coordinates

In this blog post we will investigate two types of coordinates used to identify the location of a point on a 2D plan: Cartesian Coordinates (x,y) Polar Coordinates (r,θ) Both sets of coordinates have their own applications and are often…

Manhattan distance calculator

When calculating the distance between two points on a 2D plan/map we often calculate or measure the distance using straight line between these two points. Thought this “as the crow flies” distance can be very accurate it is not always…

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…

Estimating Pi using the Monte Carlo Method

One method to estimate the value of Ď€ (3.141592…) is by using a Monte Carlo method. This methods consists of drawing on a canvas a square with an inner circle. We then generate a large number of random points within…

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:…

Privacy Overview

This website will store some information about your preferences on your own computer inside a tiny file called a cookie. A cookie is a small piece of data that a website asks your browser to store on your computer or mobile device. The cookie allows the website to remember your actions or preferences over time.

You can delete all cookies that are already on your computer, and you can set most browsers to prevent them from being placed. However, if you do this, you may have to manually adjust some preferences every time you visit a site, and some services and functionalities may not work.

Most browsers support cookies, but you can set your browser to decline them and can delete them whenever you like. You can find instructions here for how you can do that on various browsers.

This website uses cookies to:

  1. Identify you as a returning user and to count your visits in traffic statistics analysis
  2. Remember your custom display preferences (such as light/dark theme option)
  3. Provide other usability features, including tracking whether you have already given your consent to cookies

Enabling cookies is not strictly necessary for the website to work but it will provide you with a better browsing experience.

The cookie-related information is not used to identify you personally and is not used for any purpose other than those described here.

There may also be other types of cookies created after you have visited this website. This site uses Google Analytics, a popular web analytics service that uses cookies to help to analyse how users use the site. The information generated by the cookie about your use of this website (including your IP address) will be transmitted to and stored by Google on servers in the United States. Google will use this information for the purpose of evaluating your use of other website, compiling reports on website activity, and providing other services relating to website activity and internet usage. Google may also transfer this information to third parties where required to do so by law, or where such third parties process the information on Google’s behalf. Google undertakes not to associate your IP address with any other data held by Google.