mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-08-28 22:08:54 -04:00
Flock example: Reuse prepared symbol definition.
This commit is contained in:
parent
37f5a64dce
commit
02408fc47e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
this.r = 30;
|
||||
this.maxSpeed = maxSpeed + strength;
|
||||
this.maxForce = maxForce + strength;
|
||||
this.head = new PlacedSymbol(head);
|
||||
this.head = new PlacedSymbol(headSymbol);
|
||||
this.path = new Path();
|
||||
this.shortPath = new Path();
|
||||
this.shortPath.strokeWidth = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue