From 78e6633804e5da275cb889726da9538577bd836d Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sun, 6 Mar 2011 15:47:55 +0100 Subject: [PATCH 1/2] Add missing BlendMode dependency to examples. --- examples/Animated/RadialRainbows.html | 1 + examples/Animated/Raster.html | 1 + examples/Animated/RotationRaster.html | 1 + examples/Animated/RoundedRectangles.html | 1 + examples/Animated/animatedStar.html | 1 + examples/Scripts/BouncingBalls.html | 1 + examples/Scripts/arcTo.html | 1 + examples/Scripts/circle.html | 1 + examples/Scripts/letter.html | 1 + examples/Scripts/lines.html | 1 + examples/Scripts/rectangle.html | 1 + examples/Scripts/roundRectangle.html | 1 + examples/Scripts/star.html | 1 + examples/Scripts/strokeJoin.html | 1 + examples/Tools/BezierTool.html | 1 + examples/Tools/Circles.html | 1 + examples/Tools/Clouds.html | 1 + examples/Tools/Dripping Brush.html | 1 + examples/Tools/Fancy Brush.html | 1 + examples/Tools/Grid.html | 1 + examples/Tools/MultiLines.html | 1 + examples/Tools/Wave.html | 1 + examples/Tools/Worm Farm.html | 1 + 23 files changed, 23 insertions(+) diff --git a/examples/Animated/RadialRainbows.html b/examples/Animated/RadialRainbows.html index e21ceec3..4e2f2bb1 100644 --- a/examples/Animated/RadialRainbows.html +++ b/examples/Animated/RadialRainbows.html @@ -33,6 +33,7 @@ + diff --git a/examples/Animated/Raster.html b/examples/Animated/Raster.html index 9a318e7f..08e4e99a 100644 --- a/examples/Animated/Raster.html +++ b/examples/Animated/Raster.html @@ -33,6 +33,7 @@ + diff --git a/examples/Animated/RotationRaster.html b/examples/Animated/RotationRaster.html index 4c0cc8ef..42146123 100644 --- a/examples/Animated/RotationRaster.html +++ b/examples/Animated/RotationRaster.html @@ -33,6 +33,7 @@ + diff --git a/examples/Animated/RoundedRectangles.html b/examples/Animated/RoundedRectangles.html index b900be91..2d2e4cd3 100644 --- a/examples/Animated/RoundedRectangles.html +++ b/examples/Animated/RoundedRectangles.html @@ -33,6 +33,7 @@ + diff --git a/examples/Animated/animatedStar.html b/examples/Animated/animatedStar.html index b717c8cb..d5507d8a 100644 --- a/examples/Animated/animatedStar.html +++ b/examples/Animated/animatedStar.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/BouncingBalls.html b/examples/Scripts/BouncingBalls.html index 09a671db..c270fc2c 100644 --- a/examples/Scripts/BouncingBalls.html +++ b/examples/Scripts/BouncingBalls.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/arcTo.html b/examples/Scripts/arcTo.html index 0d097c9c..66e7e189 100644 --- a/examples/Scripts/arcTo.html +++ b/examples/Scripts/arcTo.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/circle.html b/examples/Scripts/circle.html index d50ecf7e..b02f004f 100644 --- a/examples/Scripts/circle.html +++ b/examples/Scripts/circle.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/letter.html b/examples/Scripts/letter.html index defadd42..ce05a060 100644 --- a/examples/Scripts/letter.html +++ b/examples/Scripts/letter.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/lines.html b/examples/Scripts/lines.html index 468d47db..d6163204 100644 --- a/examples/Scripts/lines.html +++ b/examples/Scripts/lines.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/rectangle.html b/examples/Scripts/rectangle.html index 0a4d5581..b8d4e93e 100644 --- a/examples/Scripts/rectangle.html +++ b/examples/Scripts/rectangle.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/roundRectangle.html b/examples/Scripts/roundRectangle.html index cf3b49b2..021d0d3d 100644 --- a/examples/Scripts/roundRectangle.html +++ b/examples/Scripts/roundRectangle.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/star.html b/examples/Scripts/star.html index ef0d25d7..2e53242b 100644 --- a/examples/Scripts/star.html +++ b/examples/Scripts/star.html @@ -33,6 +33,7 @@ + diff --git a/examples/Scripts/strokeJoin.html b/examples/Scripts/strokeJoin.html index fc23423f..d54100cc 100644 --- a/examples/Scripts/strokeJoin.html +++ b/examples/Scripts/strokeJoin.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/BezierTool.html b/examples/Tools/BezierTool.html index 06db2db4..337c83cf 100644 --- a/examples/Tools/BezierTool.html +++ b/examples/Tools/BezierTool.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Circles.html b/examples/Tools/Circles.html index ed21ebe2..fef6ce00 100644 --- a/examples/Tools/Circles.html +++ b/examples/Tools/Circles.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Clouds.html b/examples/Tools/Clouds.html index 528714e2..4d5e4b46 100644 --- a/examples/Tools/Clouds.html +++ b/examples/Tools/Clouds.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Dripping Brush.html b/examples/Tools/Dripping Brush.html index 6618084f..4c5ad60c 100644 --- a/examples/Tools/Dripping Brush.html +++ b/examples/Tools/Dripping Brush.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Fancy Brush.html b/examples/Tools/Fancy Brush.html index 758d53f3..66281b8a 100644 --- a/examples/Tools/Fancy Brush.html +++ b/examples/Tools/Fancy Brush.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Grid.html b/examples/Tools/Grid.html index 71f9c261..d9130eea 100644 --- a/examples/Tools/Grid.html +++ b/examples/Tools/Grid.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/MultiLines.html b/examples/Tools/MultiLines.html index 82a611d2..eb99c8e9 100644 --- a/examples/Tools/MultiLines.html +++ b/examples/Tools/MultiLines.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Wave.html b/examples/Tools/Wave.html index f31a7ce5..5996c4b9 100644 --- a/examples/Tools/Wave.html +++ b/examples/Tools/Wave.html @@ -33,6 +33,7 @@ + diff --git a/examples/Tools/Worm Farm.html b/examples/Tools/Worm Farm.html index e7661c61..46210bd3 100644 --- a/examples/Tools/Worm Farm.html +++ b/examples/Tools/Worm Farm.html @@ -33,6 +33,7 @@ + From 22abd41aace8fb9e15337ae3841fae72aec539e4 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sun, 6 Mar 2011 15:52:38 +0100 Subject: [PATCH 2/2] Revert changes to BouncingBalls example. --- examples/Scripts/BouncingBalls.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/Scripts/BouncingBalls.html b/examples/Scripts/BouncingBalls.html index c270fc2c..01876da6 100644 --- a/examples/Scripts/BouncingBalls.html +++ b/examples/Scripts/BouncingBalls.html @@ -45,8 +45,6 @@ circlePath.fillColor.gradient.type = 'radial'; var symbol = new Symbol(circlePath); - - var group = new Group(); var Ball = Base.extend({ @@ -63,8 +61,7 @@ this.radius = 50 * Math.random() + 10; this.item = new PlacedSymbol(symbol); this.item.position = point; - this.item.rotate(30); - this.item.scale(this.radius / 10, 0.6); + this.item.scale(this.radius / 10); group.appendTop(this.item); },