def update(self, interval):
        "Change velocity and location with respect to time."
        self.velocity += self.steering / interval
        self.location += self.velocity.limit(self.MAX_SPEED) * interval
        self.wraparound()
Change velocity and location with respect to time.
recipes/Python/578007_processing_DEMO_Boids/recipe-578007.py