Skip to content

Commit 02408fc

Browse files
committed
Flock example: Reuse prepared symbol definition.
1 parent 37f5a64 commit 02408fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/Animated/Flock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
this.r = 30;
3232
this.maxSpeed = maxSpeed + strength;
3333
this.maxForce = maxForce + strength;
34-
this.head = new PlacedSymbol(head);
34+
this.head = new PlacedSymbol(headSymbol);
3535
this.path = new Path();
3636
this.shortPath = new Path();
3737
this.shortPath.strokeWidth = 4;

0 commit comments

Comments
 (0)