node-canvas open sourced

Today we open sourced our latest LearnBoost project, node-canvas, a canvas implementation for nodejs. The project is certainly a work in progress but we implement a large portion of the api, as well as 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.

node canvas test suite

Below is an example of chrome rendering flot on the left, and node-canvas on the right.

flot running on nodejs

Notes

  1. kiskex reblogged this from tjholowaychuk
  2. haru012 reblogged this from tjholowaychuk
  3. tjholowaychuk posted this