Two algorithms for thinning binarized images

The idea is to abrase a binarized image until only the stable skeleton is left. We implement two algos from the the 90's with WebGL.
To launch the thinning, select anything else than 'none' in the drop-down menu. Or
. A funny fact is that if you invert the source image, you'll get a complementary skeleton that meshes perfectly with the normal one.
Drag and drop image on the canvas below, preferably a grayscale one.