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

13 lines
303 B
JavaScript
Raw Normal View History

2011-08-20 09:50:25 -04:00
require('../../node.js/');
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
});