JavaView Logo  
Home Demos Applications Tutorial Download Help Feedback

Pythagorean Tree

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.


© 1999-2006 Last modified: 14.09.2006 --- http://www.javaview.de --- The JavaView Project