-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.txt
49 lines (39 loc) · 1.73 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Group Members:
- Khoi Le (le000171)
- Jessica Thorne (thorn573)
Khoi Le Contributions:
- Circle.java
- Triangle.java
- Code clean-up
Jessica Thorne Contributions:
- Rectangle.java
- FractalDrawer.java
- Code clean-up
-----
To Compile & Run:
1) Open a terminal window.
2) Navigate to directory with FractalDrawer.java and related files.
3) Enter 'javac FractalDrawer.java' in terminal to compile.
4) Enter 'java FractalDrawer' in terminal in run program.
5) Select shape from given options (circle, triangle, rectangle.)
Assumptions:
- Assume users will enter one of the given shape options (circle, triangle, rectangle.)
Known Bugs or Defects:
- Canvas does not draw all fractal elements unless resized.
- If user enters a non-shape option, blank canvas will be drawn.
Warning given in console, but canvas not closed.
Outside Sources:
- Use Math.sqrt() to find hypotenuse length: Oracle Java Documentation.
(https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html)
- Use Math.PI to calculate circle perimeter & area: Oracle Java Documentation.
(https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html)
- Use Color.red, Color.blue, and Color.green as fractal level colors: Oracle Java Documentation.
(https://docs.oracle.com/javase/7/docs/api/java/awt/Color.html)
- Use toLowerCase() to standardize user shape inputs: Oracle Java Documentation.
(https://docs.oracle.com/javase/7/docs/api/java/lang/String.html)
-----
I certify that the information contained in this README file is complete and accurate.
I have both read and followed the course policies in the 'Academic Integrity - Course Policy'
section of the course syllabus.
Signed: Jessica Thorne 10/1/2021
Signed: Khoi Le 10/03/2021