diff --git a/examples/Animated/AnimatedStar.html b/examples/Animated/AnimatedStar.html index 931178f4..6046c3c1 100644 --- a/examples/Animated/AnimatedStar.html +++ b/examples/Animated/AnimatedStar.html @@ -26,7 +26,7 @@ var vector = offset.normalize(l * (j % 2 ? 0.1 : -0.1)); path.add(offset + vector); } - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); layer.insertChild(0, new Group({ children: [path], applyMatrix: false diff --git a/examples/Animated/Smoothing.html b/examples/Animated/Smoothing.html index ba2fe018..9e0dc7b0 100644 --- a/examples/Animated/Smoothing.html +++ b/examples/Animated/Smoothing.html @@ -39,7 +39,7 @@ path.segments[i].point.y = yPos; } if (smooth) - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); } function onMouseMove(event) { diff --git a/examples/Paperjs.org/Chain.html b/examples/Paperjs.org/Chain.html index f6b527d9..3979388e 100644 --- a/examples/Paperjs.org/Chain.html +++ b/examples/Paperjs.org/Chain.html @@ -34,7 +34,7 @@ vector.length = length; nextSegment.point = segment.point - vector; } - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); } function onMouseDown(event) { diff --git a/examples/Paperjs.org/FutureSplash.html b/examples/Paperjs.org/FutureSplash.html index e053f844..2834fd02 100644 --- a/examples/Paperjs.org/FutureSplash.html +++ b/examples/Paperjs.org/FutureSplash.html @@ -105,7 +105,7 @@ for (var j = 0, l = springs.length; j < l; j++) { springs[j].update(); } - path.smooth({ continuous: true }); + path.smooth( { type: 'continuous' }); } function onKeyDown(event) {