An exercise in distance fields.