Archive for: December, 2013

WebGL experiment: Expose line drawing

Here’s a WebGL demo I made – when you click the canvas a hand drawn image slowly appears. Try it out: 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.