Copyright © University of Cambridge. All rights reserved.
'LOGO Challenge - Trees' printed from https://nrich.maths.org/
Here are some procedures that might prove helpful:
Alter the parameter :T within BRAN3 and BRAN4 as you think fit.
TO BRAN3 :T
IF 20 > :T [STOP]
FD :T
RT 15
BRAN3 :T - 25
LT 30
BRAN3 :T - 10
RT 15
BK :T
END
Start with BRAN3 140 and explore from there!
TO BRAN4 :T
IF 30 > :T [STOP]
FD :T
RT 30
BRAN4 :T * (.6 + .02 * RANDOM
10)
LT 60
BRAN4 :T * (.6 + .02 * RANDOM
10)
RT 30
BK :T
END
Try BRAN4 180 and explore from there!