Skip to content

About

Node.js + node canvas + obelisk.js

Resources

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obelisk.js in Node.js

This example does the following:

  • Loads a file named figure that contains a 3d figure represented as layers: Each layer is separated by the --- string and the cells of the layer may contain a letter that represents its color. If no letter is present nothing is drawn in that place.
  • Draws that figure inside a node-canvas.
  • If the script is run inside iTerm2 draws the image in the console. If not it's saved in a file named figure.png

Take a look by yourself, an image is worth a thousand words!

https://cloud.githubusercontent.com/assets/419703/2586880/6caee458-ba0d-11e3-9c87-e6013a7d0175.gif

About

Node.js + node canvas + obelisk.js

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages