def __init__(self, x, y): """ Create new boid at position x,y with a random unit velocity and no acceleration """ self.position = Vector2D(x,y) self.velocity = Vector2D.random2D() self.acceleration = Vector2D(0,0) """ experiment by changing the constants above """ self.size = boidSize self.maxspeed = boidSpeed self.maxaccel = boidAccel