mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Simplify Worm Farm example.
This commit is contained in:
parent
020ab4e8bb
commit
314619e0a3
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@
|
||||||
worm.insert(1, bottom);
|
worm.insert(1, bottom);
|
||||||
|
|
||||||
// make a new line path from top to bottom
|
// make a new line path from top to bottom
|
||||||
var line = new Path.Line(top, bottom);
|
new Path(top, bottom);
|
||||||
|
|
||||||
// This is the point at the front of the worm:
|
// This is the point at the front of the worm:
|
||||||
worm.firstSegment.point = event.point;
|
worm.firstSegment.point = event.point;
|
||||||
|
|
Loading…
Reference in a new issue