Ask Your Question

kimyeji's profile - activity

2019-06-07 09:49:46 +0200 asked a question 3D tree(fractal)

We want to make this tree by using fractal.

sage: T = sum(Cone(exp(-n/5), 4/3*exp(-n/5),
....:              color=(0, .5, 0)).translate(0, 0, -3*exp(-n/5))
....:         for n in [1 .. 7])
sage: T += Cone(1/8, 1, color='brown').translate(0, 0, -3)
sage: T.show(aspect_ratio=1, frame=False)

We find this code. but error we want to get 3D tree graph.