Rasterising a Simple Circular Signed Distance Function
In this post I am going to play with a simple example of implicit surface representation, using the signed distance function.
The signed distance function could be an efficient way of storing shape primitives. It is also composable, with other signed distance functions, to create more exciting shapes.
In the example above, I generate a simple 2-D circle and visualise its signed distance function in both 2-D and 3-D. The second 2-D image shows a binary separation between regions that are strictly positive and those that aren't. The interior of the circle has negative values.