Dan Carter's Coding Blog

Hi, I'm Dan. I'm a programmer living in Cambridgeshire, UK. Find out more about me.

Below are the four most recent posts from this blog. You can also visit the full archive.

16 November 2025

ProcGen Fun 6: The Recursive Backtracker algorithm

Generating mazes by retracing your steps

Read more

20 October 2025

ProcGen Fun 5: The Sidewinder algorithm

Generating mazes using the Sidewinder algorithm

Read more

4 September 2025

ProcGen Fun 4: Recursive sampling

Can we implement the "repeat" distribution in a more functional way?

Read more

25 August 2025

Shared birthdays, revisited

How do you sample from a non-uniform distribution?

Read more