From a26d1ed0fc1b363bd7bf0d107a788113ae6cad10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 29 Dec 2013 16:41:57 +0100 Subject: [PATCH] Instead of creating the actual canvas we can also just provide a size. --- examples/Node.js/Tadpoles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Node.js/Tadpoles.js b/examples/Node.js/Tadpoles.js index 6aad6cf8..6b025864 100644 --- a/examples/Node.js/Tadpoles.js +++ b/examples/Node.js/Tadpoles.js @@ -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,