Voronoi Diagrams on the GPU

I implemented a method of generating Voronoi diagrams on the GPU. It runs in real time with WebGL. Play with some fun demos, or read an explanation of how it works.

Game 'o Life

I found an article by Chris Wellons describing a Game of Life simulation that runs on the GPU and I wanted to try it myself. I wrote my version of it in Skew (which turned out to be a pleasure to use) and it works pretty well. On my laptop it runs fine with grids of 16 million cells.

Click here to see a full page demo and here to see the code.


WOOT is a method of building real-time collaborative document editors (like Google Docs). Read about why I think it's neat, or check out my Typescript implementation.

More than you want to know about @synchronized

I searched online for the internals of the @synchronized construct in Objective-C and didn't find an answer at the depth that I wanted. Here's what I found.

An Intro to OT

Operational Transformation is a method of building real-time collaborative editors (like Google Docs). It's a big field of research and it can be hard to know where to start. Here are links to a few resources that I found helpful.


If you draw any quad and join its midpoints with lines, you get a parallelogram! That's pretty neat. The animation below repeatedly draws a (not quite) random quad and joins its midpoints with lines.