mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Flock example: remove unused variable.
This commit is contained in:
parent
3751dd0a38
commit
c0febab6c1
1 changed files with 1 additions and 2 deletions
|
@ -224,8 +224,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var boids = [],
|
var boids = [];
|
||||||
center = document.bounds.center;
|
|
||||||
for (var i = 0; i < 30; i++) {
|
for (var i = 0; i < 30; i++) {
|
||||||
var position = Point.random() * document.size;
|
var position = Point.random() * document.size;
|
||||||
boids.push(new Boid(position, 10, 0.05));
|
boids.push(new Boid(position, 10, 0.05));
|
||||||
|
|
Loading…
Reference in a new issue