def grow(plant=[], branch=0.01):
    ' Updates each root in the given list to a new position.\n        Roots can branch and will disappear over time.\n        Returns the updated list.\n    '
    new = []
    for root in plant:
        root.update()
        if (root.time > 0.05):
            new.append(root)
        elif (len(plant) < 50):
            (x, y, angle) = choice((((200 + random(50)), (- 50), (90 + random((- 10), 10))),))
            new.append(Root(x, y, angle=angle, color=CLR, time=random(0.5, 3.5, bias=0.3)))
        if (random() < branch):
            new.append(root.copy())
    return new
Updates each root in the given list to a new position.
Roots can branch and will disappear over time.
Returns the updated list.
def grow(plant=[], branch=0.01):
    ' Updates each root in the given list to a new position.\n        Roots can branch and will disappear over time.\n        Returns the updated list.\n    '
    new = []
    for root in plant:
        root.update()
        if (root.time > 0.05):
            new.append(root)
        elif (len(plant) < 50):
            (x, y, angle) = choice((((200 + random(50)), (- 50), (90 + random((- 10), 10))),))
            new.append(Root(x, y, angle=angle, color=CLR, time=random(0.5, 3.5, bias=0.3)))
        if (random() < branch):
            new.append(root.copy())
    return new