def render(self, graphics):
        "Draw the fish's shape on the given graphics context."
        polygon = self.SHAPE.copy()
        polygon.rotate(self.velocity.direction)
        polygon.translate(self.location)
        graphics.draw(polygon, self.body_color, self.trim_color)
Draw the fish's shape on the given graphics context.
recipes/Python/578007_processing_DEMO_Boids/recipe-578007.py