Currently I'm using a matrix to determine adjacency, but I'll give this graph idea a try. Thanks for the tip!
PS. Have you actually realized a succesful implementation? (Just curious)
PS. Have you actually realized a succesful implementation? (Just curious)
http://webfuel.org/instaunshredderv2.php
It also works on the test images I created:
http://webfuel.org/a.png http://webfuel.org/b.png http://webfuel.org/c.png