Many years ago I encountered a paper on generating "painted" images from input photos, at the time I implemented in the middle of the code for another project and then forgot about it. Just recently I stumbled across the code in my an old backup of my university projects and thought "I know, this code is really ugly, let's see if i can bring make it nicer, and use javascript in the process." This page represents the result of that thought. Unfortunately I cannot for the life of me remember what the source paper was, if anyone thinks the recognise the process ping me on twitter.

Upload an alternate file:

Show stroke maps

And run
This demo requires a browser other than IE to use, such as Safari, Firefox, Opera, or Chrome.