Thomas' tech blog

Articles about any topic that I find interesting

Creating a programming language from scratch part 1: Understanding syntax trees

In this new series I want to give a step by step instruction on how to build your own programming language. It has taken me multiple time-consuming attempts to acquire the experience necessary to b......

Programmatically populating a ListView in Unity UI Toolkit

Today I ran into a problem while trying to programmatically populate a ListView element with items in Unity, using the “new” UI Toolkit. The following code throws an exception: 12var listViewLeft =......

Procedurally randomizing meshes with predictablility

When creating a game where the same mesh is reused many times, there is the risk of noticeable repetition. To make your game feel more natural and organic, you need to introduce small varieties, su......

Generating terraced terrain from perlin noise: Part 2 - Triangulation

This article is about how to generate terraced terrain as seen in the game “Godus”, using Unity. This article focuses on the general approach and does not offer a copy-paste solution for you to use......

Generating terraced terrain from perlin noise: Part 1 - Extracting contours

This article is about how to generate terraced terrain as seen in the game “Godus”, using Unity. This article focuses on the general approach and does not offer a copy-paste solution for you to use......