Overview
News
Salaries
Products
People
Growth
Offices
Financials

Overview

Red Blob Games. Hi! I make interactive visual explanations of math and algorithms, using motivating examples from computer games and other projects I've worked on.

News

Blog 2 months ago
Differential heuristics
In 2005 Google showed off Google Maps, which lets you drag the map around instead of reloading the page like MapQuest and others used. That's the feature that got everyone's attention. But what got my attention was a feature they added in 2007 where you c
Read more
Report
Blog 3 months ago
Responsive design calculator
A few weeks ago I got distracted when I discovered - to my horror - that occasionally the font size on my site was 1.24924375rem instead of the desired 1.25rem. Of course nobody would notice this. But I was annoyed with myself and wanted to figure out why
Read more
Report
Blog 5 months ago
Academic citations
Although my site isn't designed to fit into the academic world, occasionally an academic paper will cite one of my pages. Everyone uses a different format. That got me wondering if there are is a proper way to cite a web article. The first place I checked
Read more
Report
Blog 6 months ago
Highlighting interactive code blocks
I have sample code on some of my pages. I try to use syntax highlighting when I can, but I don't use it everywhere. In particular, Hexagons guide and Terrain from Noise don't have syntax highlighting. Why? Sample code with no highlighting It's a lot of wo
Read more
Report
Blog 7 months ago
Optimizing page size
When I started my web site, we didn't have static site generators or WordPress or GitHub Pages or much else. People wrote HTML1 by hand. Over the years, I've built my own setup to manage my site. My current setup involves writing XHTML that gets transform
Read more
Report
Blog 8 months ago
Writing a guide to SDF fonts
(TL;DR: this is a blog post about the process of writing my guide to SDF fonts.) Back in 2024 I learned about SDF (signed distance field) rendering of fonts. I was trying to implement outlines and shadows in a single pass instead of drawing over the text
Read more
Report
Blog 8 months ago
URLs with trailing punctuation
When a url is posted on a forum/chat, it's often automatically made linkable. But sometimes the regexp that grabs the url also grabs a trailing punctuation mark. For example, if the text is "visit red blob (https://www.redblobgames.com) and scroll to the
Read more
Report
Blog 10 months ago
What I did in 2025
It's time for my annual self review. In last year's review I said I wanted to spend time learning things for myself, and less time writing for other people. The main themes for 2025 were: playing with text (very broadly) playing with maps (specifically ma
Read more
Report
Blog 10 months ago
Goodbye Sass
My "site" is spread across five different servers. I use slightly different CSS on each one. Since 2013 I've been using Sass (SCSS) to manage the variants, using these features: Variables available in CSS since 2020 Calculations available in CSS since 201
Read more
Report
Blog 11 months ago
RotMG map seeds
I had just wrapped up a project and wanted to do something small/fun before I started the next one. The Flash runtime is being reimplemented in Rust, and I've enjoyed re-enabling the Flash on my site. That had me thinking about my Flash projects again. I
Read more
Report
Show more news