In-progress implementation of Saito and Toriwaki's exact Euclidean distance field algorithm.
It's the best combination of simplicity and performance -- simplest code, close-to-best performance (Meijster's optimization to Transform 2 has better performance, but at a cost to code complexity.)