mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -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);
|
||||
|
||||
// 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:
|
||||
worm.firstSegment.point = event.point;
|
||||
|
|
Loading…
Reference in a new issue