From 063717fa9eb8d7e2c811a208368a11b5cb5c71f1 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 5 May 2011 16:25:17 +0100 Subject: [PATCH] Make all examples resize to the size of the browser window. --- examples/Animated/Extruded.html | 3 ++- examples/Animated/Flock.html | 20 ++++++++----------- examples/Animated/RadialRainbows.html | 3 ++- examples/Animated/Raster.html | 3 ++- examples/Animated/RoundedRectangles.html | 3 ++- examples/Animated/Smoothing.html | 3 ++- examples/Animated/animatedStar.html | 4 ++-- examples/Animated/lines.html | 3 ++- examples/Scripts/BouncingBalls.html | 3 ++- examples/Scripts/Chain.html | 7 ++----- .../Scripts/CurveTimeParametrization.html | 3 ++- examples/Scripts/RotationRaster.html | 3 ++- examples/Scripts/arcTo.html | 3 ++- examples/Scripts/circle.html | 3 ++- examples/Scripts/letter.html | 3 ++- examples/Scripts/rectangle.html | 3 ++- examples/Scripts/roundRectangle.html | 3 ++- examples/Scripts/star.html | 3 ++- examples/Scripts/strokeBounds.html | 3 ++- examples/Scripts/strokeJoin.html | 3 ++- examples/Tools/BezierTool.html | 3 ++- examples/Tools/Circles.html | 3 ++- examples/Tools/Clouds.html | 3 ++- examples/Tools/Dripping Brush.html | 3 ++- examples/Tools/Fancy Brush.html | 3 ++- examples/Tools/Grid.html | 3 ++- examples/Tools/MetaBalls.html | 3 ++- examples/Tools/MultiLines.html | 3 ++- examples/Tools/SquareRounded.html | 3 ++- examples/Tools/Stars.html | 3 ++- examples/Tools/VoronoiTool.html | 3 ++- examples/Tools/Wave.html | 3 ++- examples/Tools/Worm Farm.html | 3 ++- examples/css/style.css | 4 ++++ 34 files changed, 76 insertions(+), 49 deletions(-) create mode 100644 examples/css/style.css diff --git a/examples/Animated/Extruded.html b/examples/Animated/Extruded.html index 50a4ec9f7d..64d90642ef 100644 --- a/examples/Animated/Extruded.html +++ b/examples/Animated/Extruded.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Animated/Flock.html b/examples/Animated/Flock.html index 650f23bbe3..165ec8bd93 100644 --- a/examples/Animated/Flock.html +++ b/examples/Animated/Flock.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Animated/Raster.html b/examples/Animated/Raster.html index 7c7c2f6e5d..02a0640721 100644 --- a/examples/Animated/Raster.html +++ b/examples/Animated/Raster.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Animated/RoundedRectangles.html b/examples/Animated/RoundedRectangles.html index 263110ee8a..13e8a502f8 100644 --- a/examples/Animated/RoundedRectangles.html +++ b/examples/Animated/RoundedRectangles.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Animated/Smoothing.html b/examples/Animated/Smoothing.html index 7feef03e79..b60c0c4a00 100644 --- a/examples/Animated/Smoothing.html +++ b/examples/Animated/Smoothing.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Animated/animatedStar.html b/examples/Animated/animatedStar.html index d45e163559..c7011639a6 100644 --- a/examples/Animated/animatedStar.html +++ b/examples/Animated/animatedStar.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Animated/lines.html b/examples/Animated/lines.html index 5fcfa24a2b..3ad86651ae 100644 --- a/examples/Animated/lines.html +++ b/examples/Animated/lines.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/BouncingBalls.html b/examples/Scripts/BouncingBalls.html index 1eb202b3b3..1f53283f4c 100644 --- a/examples/Scripts/BouncingBalls.html +++ b/examples/Scripts/BouncingBalls.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/CurveTimeParametrization.html b/examples/Scripts/CurveTimeParametrization.html index 247d9a68ea..d24be34d84 100644 --- a/examples/Scripts/CurveTimeParametrization.html +++ b/examples/Scripts/CurveTimeParametrization.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/RotationRaster.html b/examples/Scripts/RotationRaster.html index a494360e0c..dbb79572de 100644 --- a/examples/Scripts/RotationRaster.html +++ b/examples/Scripts/RotationRaster.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/arcTo.html b/examples/Scripts/arcTo.html index 2685c92673..96afa9b682 100644 --- a/examples/Scripts/arcTo.html +++ b/examples/Scripts/arcTo.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/circle.html b/examples/Scripts/circle.html index ce3f183457..45e2f26aa8 100644 --- a/examples/Scripts/circle.html +++ b/examples/Scripts/circle.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/letter.html b/examples/Scripts/letter.html index a8168a932d..1536827cc0 100644 --- a/examples/Scripts/letter.html +++ b/examples/Scripts/letter.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/rectangle.html b/examples/Scripts/rectangle.html index 72574f4389..ebc14d391a 100644 --- a/examples/Scripts/rectangle.html +++ b/examples/Scripts/rectangle.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/roundRectangle.html b/examples/Scripts/roundRectangle.html index 944a21447a..b98873f09c 100644 --- a/examples/Scripts/roundRectangle.html +++ b/examples/Scripts/roundRectangle.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/star.html b/examples/Scripts/star.html index e88adc2c22..cc15783d01 100644 --- a/examples/Scripts/star.html +++ b/examples/Scripts/star.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/strokeBounds.html b/examples/Scripts/strokeBounds.html index b41b92259c..2e157a10ba 100644 --- a/examples/Scripts/strokeBounds.html +++ b/examples/Scripts/strokeBounds.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Scripts/strokeJoin.html b/examples/Scripts/strokeJoin.html index 0b7a13bc7f..f8babfaa24 100644 --- a/examples/Scripts/strokeJoin.html +++ b/examples/Scripts/strokeJoin.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/BezierTool.html b/examples/Tools/BezierTool.html index 62e08ffb9c..81ecc16b53 100644 --- a/examples/Tools/BezierTool.html +++ b/examples/Tools/BezierTool.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/Clouds.html b/examples/Tools/Clouds.html index 7095cfd032..3d1e278adf 100644 --- a/examples/Tools/Clouds.html +++ b/examples/Tools/Clouds.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/Dripping Brush.html b/examples/Tools/Dripping Brush.html index 43f1a68d22..15a21ac304 100644 --- a/examples/Tools/Dripping Brush.html +++ b/examples/Tools/Dripping Brush.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/Fancy Brush.html b/examples/Tools/Fancy Brush.html index d1ed4db5dc..77c25b2134 100644 --- a/examples/Tools/Fancy Brush.html +++ b/examples/Tools/Fancy Brush.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/Grid.html b/examples/Tools/Grid.html index 72763f6e16..309b61668b 100644 --- a/examples/Tools/Grid.html +++ b/examples/Tools/Grid.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/MetaBalls.html b/examples/Tools/MetaBalls.html index 84f906ddb5..9eed06a917 100644 --- a/examples/Tools/MetaBalls.html +++ b/examples/Tools/MetaBalls.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/MultiLines.html b/examples/Tools/MultiLines.html index a09151bdbe..4e40de06b3 100644 --- a/examples/Tools/MultiLines.html +++ b/examples/Tools/MultiLines.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/SquareRounded.html b/examples/Tools/SquareRounded.html index 9b4e6611bb..57a23d6630 100644 --- a/examples/Tools/SquareRounded.html +++ b/examples/Tools/SquareRounded.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/Stars.html b/examples/Tools/Stars.html index a898055b46..a8063e0d59 100644 --- a/examples/Tools/Stars.html +++ b/examples/Tools/Stars.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/VoronoiTool.html b/examples/Tools/VoronoiTool.html index b20b67be88..d3db4fbfd7 100644 --- a/examples/Tools/VoronoiTool.html +++ b/examples/Tools/VoronoiTool.html @@ -3,6 +3,7 @@ Example + @@ -623,5 +624,5 @@ - + \ No newline at end of file diff --git a/examples/Tools/Wave.html b/examples/Tools/Wave.html index bcc2202d57..c0145669c2 100644 --- a/examples/Tools/Wave.html +++ b/examples/Tools/Wave.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/Tools/Worm Farm.html b/examples/Tools/Worm Farm.html index 591130e622..74371401fc 100644 --- a/examples/Tools/Worm Farm.html +++ b/examples/Tools/Worm Farm.html @@ -3,6 +3,7 @@ Example + - + \ No newline at end of file diff --git a/examples/css/style.css b/examples/css/style.css new file mode 100644 index 0000000000..1cf7145cda --- /dev/null +++ b/examples/css/style.css @@ -0,0 +1,4 @@ +body { + margin: 0; + overflow: hidden; +} \ No newline at end of file