« DYNAMICALLY GENERATING XKCD-STYLE CHARTS WITH JAVSCRIPT AND PYTHON | Main | VisioPS now Requires PowerShell 3.0 »
Tuesday
Oct022012

Automatic Delaunay Image Generation  

This is a completely automated method build in JavaScript by akm2 (see project here: http://jsdo.it/akm2/xoYx ).

Go to the site above, and click the Play button on the right, and then drop an image into the section on that region and see what happens.

http://jsdo.it/akm2/xoYx

Snap00147

I've tried this out with generally pleasing results, though it tends to work well with pictures that are not complex –  such as close up portraits.

Example: an automatically generated result

Snap00151

 

And now the source image:

Snap00150

 

The code is distributed under the MIT License so you can play with it. For example, Jeff Clark at NeoInformix has modified the code a bit to increase transparency as the triangles grow smaller: http://neoformix.com/2012/DelaunayImages2.html

 

 

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>