Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Create polygon outline for sprite

I tested to create an outline for a sprite and the make a simplified polygon (Using Douglas-Peucker) to use with box2d. I think I’ve seen something similar here before.

Here is the code if someone is interested.
https://gist.github.com/tnlogy/3700c8dc44409222153ad17309b628e2

Touch the screen to randomize a new object. I’m interested in using the watershed algorithm to be able to use photos and find an object in them. Lets see how that goes..

Comments

Sign In or Register to comment.