Skip to content

pose/node-obelisk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published