Red Blob Games
redblobgames.com
Red Blob Games
@redblobgames.com
Hi! I'm Amit Patel. I explain algorithms and math with interactive web pages (incl. pathfinding, hexagons, procgen maps, voronoi). Wrote Solar Realms Elite; helped w/Barren Realms Elite and Realm of the Mad God. https://www.redblobgames.com/
I'm working on a slider that lets you control how deep the "folds" on the #mapgen4 mountains are
October 3, 2025 at 11:49 PM
Failed experiment in tectonic plate collision. I was trying to do something quick&easy but it didn't work as well as I had hoped. www.redblobgames.com/x/2319-mapge...

If none of my experiments fail, I'm not being ambitious enough. So I'm ok with having many failures. This was a fun experiment.
June 22, 2025 at 6:18 PM
It looks really weird! but it matched the "hand drawn" style I wanted. The mountains always point up as you rotate.
June 6, 2025 at 6:20 PM
Looks cool when animated. Maybe useful as a very cheap approximation to erosion.
June 5, 2025 at 3:08 PM
New blog post: Using flow field pathfinding on a voronoi procedurally generated map to simulate 20,000 traders moving around

www.redblobgames.com/blog/2025-05...
May 15, 2025 at 11:57 PM
Fun variant: add iTime to the angle

float angle = random(p) * 2.0 * PI + iTime;

and then you'll see the little black/white circles rotating around the triangle vertices (easier if you zoom in by changing the /50.0 to /200.0 at the end)
April 22, 2025 at 2:07 AM