Tags » PyGame

Scratch is the new Powerpoint

I keep hearing the phrase “Scratch is becoming the new Powerpoint” – teachers all over the country (nay, the world) are using the same programming teaching tool to teach with. 644 more words

Computing

Koch Snowflake

In my collection of programs generating fractals this famous one cannot miss.
The Koch snowflake is generated by starting with an equilateral triangle. Every side of the triangle then gets cut into three equal pieces and the center one gets replaced with yet another equilateral triangle. 999 more words

Programming

Sliding Puzzle

This is my version of a sliding puzzle.
A sliding puzzle is based on a number of tiles (15 in this case) which are scrambled. 828 more words

Programming

Making a Python 2D game using Pygame Tutorial #1

Python is a great way to make video games quickly and we can easily find information online.  In this tutorial we’re going to learn how to code in… 716 more words

Programming

Pascal's Triangle

Pascal’s triangle is an interesting mathematical sequence. It is often written as a triangle, starting with , then . To generate the next row, you add the two numbers above to form another one. 507 more words

Programming

RGB Color Cube

Listing the red part on the x-axis, the green part on the y-axis and the blue part on the z-axis, this program displays all the 16777216¹ colors rgb can display. 346 more words

Programming

J-Filters V

This filter runs an edge detection algorithm on a given image.
For demonstration I used – as in my previous filter posts – an image from my post… 454 more words

Programming