From 24e817fd01f663351f883c90f3bd277ed6815a8b Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Wed, 4 May 2011 18:36:44 +0100 Subject: [PATCH] Flock example: smooth segments. --- examples/Animated/Flock.html | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/Animated/Flock.html b/examples/Animated/Flock.html index a6be367d..24fe1b07 100644 --- a/examples/Animated/Flock.html +++ b/examples/Animated/Flock.html @@ -77,6 +77,7 @@ segment.point += rotated; lastVector = vector; } + this.path.smooth(); this.head.position = this.loc; var vector = this.loc - this.lastLoc; var rot = vector.angle;