Based on Code by Rev Dan Catt, this is a stripped down version to just implement PXL Triangle in canvas.
Full Cross Browser Compatibility. (Webkit 100%, IE Unknown, Gecko Unknown) Speed Small Size
You can read notes about the background image stuff here: http://revdancatt.com/2012/03/31/the-pxl-effect-with-javascript-and-canvas-and-maths/