Trying to create a framework to render 2d graphics using canvas,WebGL and asm.js for the web.