~~NOTOC~~ ===== From 3D binary tree to 2D binary tree ===== Change the default 3d binary tree to a 2d version, growing planar in one plane. {{ :tutorials:tree_3d.png?direct&250 |}}{{ :tutorials:tree_2d.png?direct&250 |}} ==== Solution ==== To remove the 3rd dimension, we just need to remove the **RU(90)** commands from the original code. public void run1() [ A(x) ==> F(x) [RU( 30) A(x*0.8)] // first branch [RU(-30) A(x*0.8)]; // second branch ]