re-writing drawing using node-canvas.
re-writing drawing using node-canvas.