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 made a bookmarklet out of it so that I can use it on any page. I bookmarked:

javascript:(async function(){const {attachEditorToElement} = await import ("https://www.redblobgames.com/mjs/scrubbable-codemirror.js");for (let el of document.querySelectorAll("svg")) attachEditorToElement(el)})()
January 9, 2026 at 10:47 PM
How cool!!
January 9, 2026 at 10:31 PM
awesome!
January 8, 2026 at 8:07 PM
Thank you Craig! The funny/surprising thing is that when I sat down to write the blog post I felt like I hadn't done much that year. But going through all my notes made me realized I had done plenty. :)
January 8, 2026 at 5:13 PM
Thanks! It was one of those things I wish I had set up years ago :-) and I am looking forward to being able to use it on future projects.
January 6, 2026 at 9:19 PM
Yikes!!
January 6, 2026 at 9:17 PM
It's a little bit of a hack but the idea is to replace just the "C" or "F" character at the end of the regexp match with the string "C (113.0°F)" or "F (26.7°C)". That string acts as a single character for text editing purposes.

gist.github.com/redblobgames...
December 16, 2025 at 6:46 PM
Thank you for this and the other detailed reports! I have learned so much CSS from them.
December 12, 2025 at 9:48 PM
Nice tool! I had previously been using token-explorer for my experimentation github.com/willkurt/tok...

(blog post: amitp.blogspot.com/2025/10/llms...)
GitHub - willkurt/token-explorer: A simple tool that let's you explore different possible paths that an LLM might sample.
A simple tool that let's you explore different possible paths that an LLM might sample. - willkurt/token-explorer
github.com
December 9, 2025 at 10:13 PM
Gell-Mann Amnesia?
December 9, 2025 at 12:37 AM
It is not.
November 26, 2025 at 6:44 PM
🙀
November 23, 2025 at 4:45 AM
I'm very interested in that card but I live 800 miles away so I hope there will be another opportunity sometime :)
November 20, 2025 at 9:29 PM
In the US we sometimes do something similar to highways. Examples in california:

www.google.com/maps/@37.629... (I-380 west end is a stub left for future expansion)

en.wikipedia.org/wiki/Joe_Col... (I-680, was left for many years, hoping that there would be funding someday to complete them)
www.google.com
November 20, 2025 at 7:52 PM
Do the squirrels like you because you collect tabs like they collect acorns ? ;-)
November 15, 2025 at 12:26 AM