from maya.cmds import curve from math import cos,sin class FractalTree(): '''Every branch is a curve (exact, 20.000+ curves in it-8)''' def __init__(self): self.it = 6 # tree iterations self.r = .7 # branch length factor self.s = .5 # branch spreading (0