02_user_tutorials:21_exercices
Exercices
Implement 'plant like structures'
Implement the 'plant like structures' as described in the book “The Algorithmic Beauty of Plants” by Prusinkiewicz and Lindenmayer (1990) on page 25 in Figure 1.24.
From 3D binary tree to 2D binary tree
From binary to ternary tree
Change the default 3d binary tree to a ternary version, a tree with tree instead of two branches.
Generate some spirals
Write some code to generate simple spirals.
s1: a=50 degree, s=0.88
s2: a=80 degree, s=1.0
s3: a=120 degree, s=0.75
s4: a=145 degree, s=1.05
Play around with different angles and shrinking factors.
02_user_tutorials/21_exercices.txt · Last modified: 2025/12/10 16:19 by gaetan





