Category Archives: Programming

A Cool Parallax Starfield Simulation using Python

In one of my previous tutorials, I have demonstrated how to create a simple starfield simulation using Python and Pygame. Today, we will make a few modifications in the code from that tutorial to make a pretty cool parallax starfield.

Read more »

First Experiment with HTML5: A Wireframe Cube

HTML5 introduces many new powerful features, one of which is the canvas element. The canvas allows us to draw graphics using JavaScript. Here I present my first experiment with the HTML5 canvas element.

Read more »

Simple Starfield with Python and Pygame

In this tutorial we will create a simple but cool starfield simulation with Python and Pygame. The tutorial will be very brief and accompanied by a self-explanatory small amount of code.

Read more »

Rotating 3D Wireframe Cube with Python

In the last tutorial we saw how to make a simple 3D simulation. In this tutorial we will build from the theory and code from the last tutorial and make a rotating 3D wireframe cube.

Read more »

Simulation of 3D Point Rotation with Python and Pygame

In this tutorial I will show you how to build a simulation of 3D point rotation using Python and Pygame. I will begin by giving you a brief background on 3d computer graphics theory. It will help you understand the code that will be presented afterwards. I assume you have a basic knowledge of Pygame.

Read more »

A Fast Introduction to Pygame

Pygame is a cross-platform game library written in Python. It is the most used library to write games using Python. This tutorial aims to get you started using the Pygame library. After finishing this tutorial you will be able to craft simple Pygame applications, and will be in position of understanding complex Pygame applications written by others.

Read more »

Generating Images with PHP

PHP is often used to generate HTML pages. However, PHP is capable of generating different types of content like music, videos, pdf documents, and images. In this tutorial, you will learn how to generate images on the fly using PHP. We will create a PHP script, that every time is invoked, generates an image with a random number.

Read more »

Game Programming with Python and PyGame – Making Breakout

Python and Pygame are simple yet powerful tools that make up a great combination for rapid game development. This tutorial will guide you step by step in using these two tools to make the classic Breakout game.

Read more »

How to Install Python and Pygame

Python is a very powerful yet simple language. One of its advantages is the availability of many libraries. One special library is the Pygame library that is suited to do computer graphics and make games. This tutorial will guide you …

Read more »

Game Programming with JavaScript, HTML and CSS: keyboard input

In the last tutorial we covered the concept of the game loop and applied it to make a simple animation. Drawing upon the code of the last tutorial, we will add a box that we will be controlled using the …

Read more »

Page 2 of 3123