A simple retained mode API for HTML5 Canvas.