boid


  
  var Boid = function(x, y, size) {
          this.x = x;
          this.y = y;
  
          this.xVelocity = 1;
          this.yVelocity = -1;
  
          this.circle = paper.circle(x, y, size).attr({fill: '#FF0000'});
  }