Turn images into contour maps | Benjamin Dicken
Briefly

In a purely mathematical sense, a contour line is just a function that can be plotted in 2D space, whose curve connects points that all have the same output value.
In my implementation of this algorithm, all of the contour lines radiate out from a point. Thus, in thinking about this algorithm, it can help to start by thinking about just repeatedly drawing a bunch of circles on the canvas radiating out from the center.
Read at Benjdd
[
add
]
[
|
|
]