def render(self, graphics):
        "Displays the boids on the graphics every time called."
        self.add_fish()
        graphics.clear()
        fish = 0
        for school in self.schools:
            school.render(graphics)
            fish += school.size()
        graphics.write(5, 5, fish, 'white')
Displays the boids on the graphics every time called.
recipes/Python/578007_processing_DEMO_Boids/recipe-578007.py