Interactive line drawing

Here’s a WebGL demo I made – when you click the canvas a hand drawn image slowly appears. Try it out:
http://udart.dk/webgl/expose_line_drawing/

The effect is achieved using a shader based technique called reaction diffusion as a mask over the image. The reaction effect ‘feeds’ on the line drawing and gradually spreads as far as possible following the black lines. My code builds upon an example by pmneila.

Hide Content