CS491b Project Taichi Murase
CS491a Project Project name: Pythagoras Tree Goal: As a CS major student, create a good work for the Curve Bank project Objective: Improve the ability to cope with 2Dimensional graphic programming
Pythagoras Tree When user click a button with the information, it gradually draws the shape from the square to the pythagoras tree.
Pythagoras Tree Pythagoras theorem Information - Size - Angle - Iteration
Pythagoras Tree Platform Language: Java Class Library: Java2D -- affine transform method deals with rotation and transformation Applet on Web Browser
Pythagoras Tree Applet Interface User input a value of the angle -- here, the angle is the angel between a base edge and left-up edge User select colors: Red, Blue, Green, Black
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw Left Draw
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw Left Draw Right Draw
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
Pythagoras Tree Final result with Depth 15
Pythagoras Tree The End