Today we open sourced our latest project,
node-canvas, a canvas implementation for
nodejs. The project is a work in progress, however a large portion of the api is complete, including node-specific additions such as
Canvas#toBuffer() and
Canvas#createPNGStream().
Examples
Shown below is the test suite running side by side with the browser implementation. node-canvas renders the left, and the browser (chrome) renders the canvas on the right using the same code.
Below is an example of chrome rendering flot on the left, and node-canvas on the right.
In the next few days we’re going to publish an article on why we decided to create it, how we’re leveraging it to power our reporting features for print stylesheets, old browsers and mobile compatibility.
http://www.learnboost.com/introducing-node-canvas-server-side-html5-canvas-api
No comments:
Post a Comment