diff --git a/examples/Animated/Smoothing.html b/examples/Animated/Smoothing.html index 24dc5a7a..c3ad3abf 100644 --- a/examples/Animated/Smoothing.html +++ b/examples/Animated/Smoothing.html @@ -9,10 +9,11 @@ var width, height, center; var points = 10; var smooth = true; - var path = new Path(); + var path = new Path({ + fillColor: 'black' + }); var mousePos = view.center / 2; var pathHeight = mousePos.y; - path.fillColor = 'black'; initializePath(); function initializePath() {