Tree is generated from a trunk consisting of a rectangle and a triangle.
- Drag the small red points to change the shape of the tree.
- Adjust color of trunk and leaf.
- Change shape of the trunk.
- What happens of the triangle of the trunk is equilateral?
View source code:
PaPythagoreanTree.java of applet,
PjPythagoreanTree.java of project,
PjPythagoreanTree_IP.java of info panel.