paper.js/examples/Node.js/exportTadpoles.js

13 lines
294 B
JavaScript
Raw Normal View History

2013-05-08 04:13:41 -04:00
require('paper');
2011-08-20 09:50:25 -04:00
var paper = require('./Tadpoles');
paper.view.exportFrames({
amount: 400,
directory: __dirname,
onComplete: function() {
console.log('Done exporting.');
},
onProgress: function(event) {
console.log(event.percentage + '% complete, frame took: ' + event.delta);
}
2011-08-20 09:50:25 -04:00
});