mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Do not use PaperScript in node example.
This commit is contained in:
parent
6f347c98b3
commit
6fd93978f8
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ with (paper) {
|
||||||
|
|
||||||
var radius = view.bounds.width * 0.4,
|
var radius = view.bounds.width * 0.4,
|
||||||
from = new Point(view.center.x),
|
from = new Point(view.center.x),
|
||||||
to = from + [radius, 0];
|
to = from.add(radius, 0);
|
||||||
|
|
||||||
var circle = new Path.Circle({
|
var circle = new Path.Circle({
|
||||||
center: from,
|
center: from,
|
||||||
|
|
Loading…
Reference in a new issue