More results...

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

Python Fractals

Fractal? A fractal is a curve or geometrical figure, which is based on a recurring pattern that repeats itself indefinitely at progressively smaller scales. Fractals are useful in modelling some structures (such as snowflakes), and in describing partly random or…

Victor Vasarely’s Artwork revisited using Python

In this blog post we are looking at a specific painting from Victor Vasarely. The painting is from a serie of paintings called “Alphabet Plastique” and was painted in the 70’s. We are going to try to recreate this painting…

Python Shapes using Turtle

Learning Objectives In this challenge we are going to use x and y coordinates to draw shapes on the screen. We will be using the turtle library to draw on the screen. X and Y coordinates? Quadrant? Check the above…

Random Cloud Generator using Python

Can computers produce artwork? In this challenge we are looking at how to write a piece of code to generate a “pretty” graphic. Our first script will generate a random cloud on a blue sky by drawing several (15 in…

Projectile Motion Formula

Most artillery games are based on the Projectile Motion Formula used to trace the trajectory of a projectile thrown in the air. Due to gravity, its trajectory will be a parabola which shape will vary based on the angle and…

Goal Line Technology

Goal Line Technology

Inspired by the football world cup we came up with our own Glowscript code to implement a visual demonstration goal line technology. Rules of the challenge: Use Python to display the goal line on the screen as well as the…

Python Turtle Clock

This challenge consists of using the Python turtle library and the datetime library to create a program that displays the current time as an anlogue clock. To complete this challenge we need to do some angle calculations to understand what…

Python Turtle Challenge

In this challenge we are going to use the turtle library to draw the following shape: Step 1: Run the code below: Step 2: Complete the code to draw the full shape. (You can complete the code in the Trinket…

How to create a bouncing ball in Scratch

Step 1 – Change your main sprite to a ball Step 2 – Add the following script to your sprite:  This tutorial is available as a pdf: How to create a bouncing ball in Scratch See how to create a…

How to create flying/falling objects in Scratch

In this tutorial we will get a spaceship to fall from the top to the bottom of the screen. Add the following code to your sprite (e.g. Spaceship): To understand this script you need to understand how x and y…

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.