Skip to content

Instantly share code, notes, and snippets.

@brettz9
Created March 31, 2011 19:36
Show Gist options
  • Select an option

  • Save brettz9/897072 to your computer and use it in GitHub Desktop.

Select an option

Save brettz9/897072 to your computer and use it in GitHub Desktop.
C2D2-node-canvas.js
var C2D2 = require('C2D2').C2D2([500, 400], {path: 'myImageFilePath.png'})
C2D2.
$shadow({color:'green', blur:2, offset:[15, 10]}).
$fill({color:'blue', xy:[[175, 150], [200,175], [200,125]]});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment