Converts an image into a series of vector triangles and exports as SVG or PNG, including source code.

Article by Richard Davey. Posted on 18th Jan 2018.   @photonstorm

image

It's always great to see Phaser used for something a little different, and this time netgfx has taken a beta of Phaser 3 and created an Image to Vector app from it. Either upload an image or paste in a URL and it'll render it down to a series of vector triangles using delaunay triangulation. You can then export it as an SVG or PNG.

The source code is available on GitHub too :)

Read More