mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Instead of creating the actual canvas we can also just provide a size.
This commit is contained in:
parent
4b3c3e22ff
commit
a26d1ed0fc
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
var paper = require('paper');
|
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({
|
scope.view.exportFrames({
|
||||||
amount: 400,
|
amount: 400,
|
||||||
|
|
Loading…
Reference in a new issue