Download presentation
Presentation is loading. Please wait.
1
CS491b Project Taichi Murase
2
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
3
Pythagoras Tree When user click a button with the information, it gradually draws the shape from the square to the pythagoras tree.
4
Pythagoras Tree Pythagoras theorem Information - Size - Angle - Iteration
5
Pythagoras Tree Platform Language: Java Class Library: Java2D -- affine transform method deals with rotation and transformation Applet on Web Browser
6
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
7
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base
8
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw
9
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw
10
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw
11
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw
12
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw Left Draw
13
Pythagoras Tree Algorithm: Binary Tree (Depth-first) Base Left Draw Right Draw Left Draw Right Draw
14
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
15
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
16
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
17
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
18
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
19
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
20
Pythagoras Tree Algorithm: Binary Tree (Depth-first)
21
Pythagoras Tree Final result with Depth 15
22
Pythagoras Tree The End
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.