July 22, 2018 Domino Tilings I I started a new project: studying polyomino tilings and related problems (very much inspired by Golomb’s famous Polyominoes). As part of this study, I…

June 15, 2010 Region Quadtrees in C++ (Original image by GoAwayStupidAI). Below are four C++ implementations of the region quadtree (the kind used for image compression, for example). The different implementations…

April 15, 2010 Experimental Tool for Removing Unwanted Artefacts in Textures Many textures used for 3D art start from photographs. Ideally, such textures should be uniformly lit so that the texture does not interfere with…

April 7, 2010 Poisson Disk Sampling Example Code I decided to put the Poisson disk sampling code here for download since the site that hosted it is down. The code accompanies the…

October 8, 2009 15 Steps to Implement a Neural Net (Original image by Hljod.Huskona / CC BY-SA 2.0). I used to hate neural nets. Mostly, I realise now, because I struggled to implement them correctly. Texts…

May 27, 2009 How to Turn XSI Mod Tool into a Level Editor for your XNA Games: Example Updated for XNA 3.0. The example for the tutorial How to Turn XSI Mod Tool into a Level Editor for your XNA Games: Updated for XNA 3.0 have also been…

May 27, 2009 Update: Reference for Functional Equations In this new version of Reference for Functional Equations I added several more z-transform pairs. I also started to add binomial transform pairs. The definition for…

April 9, 2009 Cellular Automata for Simulation in Games A cellular automata system is one of the best demonstrations of emergence. If you do not know what cellular automata (CA) is, then you…

April 8, 2009 How to Turn XSI Mod Tool into a Level Editor for your XNA Games: Updated for XNA 3.0. Last year I wrote a tutorial explaining how to use XSI Mod Tool as a level editor, specifically for XNA. Below is the same…

February 26, 2009 A Reference for Functional Equations I have not posted in a while; one reason is that I got sucked into some interesting mathematics; the work-in-progress Reference for Functional Equations is…