mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-27 05:20:26 -04:00
Fix PaperScript support in node.
This commit is contained in:
parent
6fd93978f8
commit
c5627d141e
3 changed files with 7 additions and 8 deletions
examples/Node.js
|
@ -1,5 +1,6 @@
|
|||
require('paper');
|
||||
var paper = require('./Tadpoles');
|
||||
var paper = require('./Tadpoles.pjs');
|
||||
|
||||
paper.view.exportFrames({
|
||||
amount: 400,
|
||||
directory: __dirname,
|
|
@ -277,4 +277,4 @@ function onFrame(event) {
|
|||
function onResize(event) {
|
||||
size = view.size;
|
||||
heartPath.position = view.center;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue