Tom MacWright

@tmcw
2.5K Followers
870 Following
1.3K Posts

☑️ A* routing, MTA colors, sockets, draggable blocks

todo: edge directions, labels, resizable blocks, edges avoiding edges, custom waypoints, rounded corners

Intermezzo bag

A bag for a book

macwright.com
Recently

I walked around Manhattan

macwright.com
the graph versus grid debate rages (in my head). this is structurally a graph with proper links and everything, not just relying on implicit 'neighbors'. but most of the things i want to do with it are grid-like, and i'm currently just using weights to make the lines avoid blocks rather than removing graph nodes. really want to slim down the graph and highlight good routes with skipped grid squares, but that's probably after everything else is done.
starting to take shape, integrated the official MTA line colors for lines today. still many many things to do 😂 🚇
look, a* routing! it took me like maybe 6 hours to get all the other concepts right and then a half hour to implement routing. everything is always data structures

a long time ago i followed @sgillies blog and the moment he announced he had left a job we hired him to work at mapbox, a major coup.

now is the time for you to do the same thing for your company, i guarantee you will not regret it: https://sgillies.net/2026/04/24/laid-off.html

Laid off

Welp, I'm joining the ranks of the unemployed tech workers again. As before, I'm in a good situation. I don't depend on my former employer for health insurance. I've got some severance and savings, my

Sean Gillies
programming can be fun (for a few hours on the weekends and mornings and evenings as long as you don't think about the outside world at all and stay focused and make some progress)
i've committed to a side project that includes some math, geometry, visual stuff, a* routing (it's a flowchart builder, don't get too excited, and i'm going to keep it private for a long time) and whew it is so good to handwrite some moderately-to-quite difficult code just for the heck of it and try to make everything nice and learn a lot in the process
switched from jekyll to 11ty for my blog and wrote about it: https://macwright.com/2026/04/17/eleventy
Eleventy

Zach says 11ty is pretty good

macwright.com