def draw(self, x, y, generation, time=None, ease=None):
angle = self.angle<EOL>if time is not None and ease:<EOL><INDENT>angle = min(self.angle, self.angle * time / ease)<EOL><DEDENT>self._timed = True<EOL>if not time:<EOL><INDENT>self._timed = False<EOL>time = maxint<EOL><DEDENT>mode = _ctx.transform()<EOL>_ctx.transform(CORNER)<EOL>_ctx.push()<EOL>_ctx.translate(x, y)<EOL>self._reset()<EOL>self._grow(generation, self.root, angle, self.d, time, draw=True)<EOL>_ctx.pop()<EOL>_ctx.transform(mode)<EOL>
Draws a number of generations at the given position.

        The time parameter can be used to progress the system in an animatiom.
        As time nears LSystem.duration(generation), more segments will be drawn.

        The ease parameter can be used to gradually increase the branching angle
        as more segments are drawn.