How to Write Native Plugins for Unity


Unity has the ability to import pieces of code written (and compiled) in other languages; they are called Native Plugins, and this tutorial will teach you how to build them.

Source codes:

Continue reading

GameBarcode: A Study of Colours in Games


This tutorial shows how to download videos from YouTube and to process their frames with Python. I have used this technique to create game barcodes, images created by sorting the colours in each frame of a particular video. You can see some of most intriguing here:

This tutorial is divided in four parts:

Continue reading

Interactive Graphs in the Browser


Having worked both as a teacher and an artist, I know how important data visualisation is. This tutorial will teach you to create interactive network graphs with Python and JavaScript. You can have a go by dragging the nodes of the graph below…

You can find a high resolution version of the melancoil tree (2000x2000px, first 1000 numbers) here: PNG, SVG, HTML. Continue reading

Recreational Maths in Python


This post is for all the developers and mathematicians out there that are curious to explore and visualize the bizarre properties of numbers. Although Maths plays an important role in today’s technology, many people likes to abuse it for recreational purposes. Part of the appeal of Recreational Maths lies in the challenge to discover something new. Despite what many believe, finding mathematical patterns is very easy; it’s discovering something useful that is incredibly challenging. If you’re up for such a challenge, this tutorial will teach you how to use Python to calculate some of the most infamous numerical sequences.

Continue reading

A Bestiary of Alternative Game Controllers


Many game developers are suspicious about alternative controllers, believing that since they can’t be easily mass produced, they are useless. Well, this is the story of how an Arduino got me to San Francisco for free. Twice.

alt1 Continue reading