Wednesday, February 11, 2015
Bitmap triangulation extraction demo
Simply draw on the surface below. Then press SPACE to extract the triangulation from your picture and embed it into Box2D and see what happen. Press ENTER to clean and play again.
The algo is fast and accurate for almost all pictures. It naturally manages holes and interlocked shapes.
How does it work ? Just few lines of code with the help of
Daedalus Lib
. Have a look to the
wiki page
if you need to be conviced !
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment