Clean up white spaces.

This commit is contained in:
Jürg Lehni 2011-07-07 16:09:02 +02:00
parent e573fe5dcd
commit 5655981f6d
34 changed files with 147 additions and 148 deletions

View file

@ -52,7 +52,7 @@ function onMouseMove(event) {
size = size.floor();
secondPath.position += isLandscape
? [size.width, 0]
: [0, size.height];
: [0, size.height];
secondPath.fillColor = raster.getAverageColor(secondPath);
secondPath.insertBelow(path);

View file

@ -16,7 +16,7 @@
// The amount of paths to produce:
amount: 200
};
// Create a raster object, using the image
// Create a raster object, using the image
var raster = new Raster('sunflower');
// Transform the raster so it fills the bounding rectangle
@ -29,7 +29,7 @@
// Create the group of circle shaped paths and scale it up a bit:
var group = createPhyllotaxis(values.amount);
group.scale(3);
function createPhyllotaxis(amount) {
var group = new Group();
// The Golden Angle (http://en.wikipedia.org/wiki/Golden_angle)

View file

@ -59,7 +59,7 @@
if (path)
path.remove();
position = view.center;
count = 0;
path = new Path();