Understanding Geographical Coordinates

This series introduces the concept of trilateration. This technique can be applied to a wide range of problems, from indoor localisation to earthquake detection. This first post provides a general introduction to the concept of geographical coordinates, and how they can be effectively manipulated. The second post in the series, Positioning and Trilateration, will cover the actual techniques used to identify the position of an object given independent distance readings. Most trilateration tutorials require the measures from the sensors to be precise and consistent. The approach here presented, instead, is highly robust and can tolerate inaccurate readings.

Continue reading

Fractals 101

This new series of tutorials will explain what fractals are, why they are so important and what we can learn from them. This first lesson is a gentle introduction to the concept of iterated fractals and their dimension.


Since fractals naturally occur in nature, this series will be particularly interesting to all artists and game developers who want to create realistic outdoor environments.

Continue reading

Evolutionary Computation – Part 1

This series of tutorial is about evolutionary computation: what it is, how it works and how to implement it in your projects and games. At the end of this series you’ll be able to harness the power of evolution to find the solution to problems you have no idea how to solve. As a toy example, this tutorial will show how evolutionary computation can be used to teach a simple creature to walk. If you want to try the power of evolutionary computation directly in your browser, try Genetic Algorithm Walkers.


Continue reading

Exoplanetary Orrery V

An exoplanet is a planet that orbits another star other than the Sun; since 1988, approximately 2000 of them have been confirmed. This post, inspired by Ethan Kruse‘s Kepler Orrery IV, visualises and animates exoplanets, together with their habitable zones. The data come from the NASA Exoplanet Archive and it only includes the confirmed exoplanets with known orbits and temperature. You can find a complete list of all the exoplanets here.

Solar System

Before introducing the exoplanetary orreries, this is the inner part of our solar system.

Continue reading