Entries from October 1, 2012 - October 31, 2012

Thursday
Oct182012

xkcd-style charts using JavaScript and Python

If you are interested in building charts styled after xkcd, you have several options.

 

(1) XKCD-style plots in Javascript using D3 [http://dan.iel.fm/xkcd/]

 

(2) XKCD-style plots in Matplotlib [http://jakevdp.github.com/blog/2012/10/07/xkcd-style-plots-in-matplotlib/]

 

Snap00154

 

 

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