Instead of creating the actual canvas we can also just provide a size.

This commit is contained in:
Jürg Lehni 2013-12-29 16:41:57 +01:00
parent 4b3c3e22ff
commit a26d1ed0fc

View file

@ -1,5 +1,5 @@
var paper = require('paper');
var scope = require('./Tadpoles.pjs')(new paper.Canvas(1024, 768));
var scope = require('./Tadpoles.pjs')(new paper.Size(1024, 768));
scope.view.exportFrames({
amount: 400,