Signed Distance Fields
Created on 2023-02-09T05:18:01-06:00
Suitable for calculating a signed distance field on a CPU using an algorithm called 8SSEDT.
Performs multiple convolution passes per row and column to calculate the distance of each pixel to each edge. Also propagates these distances along the way so the distance is "smeared" across the workspace.
X and Y distances are stored separately until the end where they are combined so that each pixel is just a total distance from an edge.