- Please build JS-Interpreter before make a card :
npm run prepare
node ./make.js [PNG file path for card graphic. Must be square size] [JS file path for embedding] [PNG file path for output]
For example:
node ./make.js assets/flower_320x320.png assets/my_soul.js ./output/my_card.png
node ./examples/node/load.js [PNG card file path]
For example:
node ./examples/node/load.js ./output/my_card.png
- See
examples/browser
. - Example page could launch with
npm run browser
.
Apache License 2.0