CMSC 405 CMSC 335
Please arrange the files with the proper titles and project numbers
2 years ago 100
Project27.pdf
Project4-2.pdf
Project14.pdf
Homework44.pdf
CMSC335Project21.pdf
CMSC335Project22.pdf
Project34.pdf
Project27.pdf
1
Project 2
JOGL OpenGL Project
Overview
In this project you will create a unique 3 graphics scene composed of OpenGL graphic components using
transformation methods.
Requirements:
1. Using Netbeans or Eclipse, develop a JOGL application that displays a unique 3D scene. The
scene has the following specifications:
a. Size: minimum 640x480
b. Includes at least 6 different shapes
c. Uses at least 6 different transformation methods
2. Use Java and JOGL for your implementation of OpenGL
3. All Java source code should be written using Google Java style guide.
4. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing.
Deliverables:
1. All Java source code used for this project. Code should adhere to the Google Java style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the successful execution of your 3D graphics scene. The document should be well-
written, well-organized, include the test plan, include page numbers, captions for all screen
captures, and a title page including your name, class, section number and date. References
should be included for all sources used and formatted in APA style.
Project4-2.pdf
1
Project 4
WebGL 3D Project
Overview
In this project you will create a unique 3D animated scene composed of WebGL graphic components.
The scene should include animation, lighting, textures, frame buffers and multiple objects.
Requirements:
1. Using WebGL create a unique 3D animated scene. The scene has the following specifications:
a. Size: minimum 640x480
b. Includes at least 10 different objects.
c. Uses multiple lighting effects on different materials
d. Uses multiple textures
e. Includes radio buttons, slider bars or other widgets to turn on or off certain components
of the animation.
f. Uses frame buffers to organize the memory resources that are needed to render the
scene.
2. Use WebGL
3. All JavaScript source code should be written using Google JavaScript style guide.(
http://google.github.io/styleguide/jsguide.html)
4. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing
Deliverables:
1. All JavaScript source code used for this project. Code should adhere to the Google Javascript
style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the successful execution of your 3D WebGL animated scene. The document should
be well-written, well-organized, include your test plan, include page numbers, captions for all
screen captures, and a title page including your name, class, section number and date.
References should be included for all sources used and formatted in APA style.
Project14.pdf
1
Project 1
Java 2D Graphics
Overview
In this project you will create 3 simple, images or your choice and use Java 2D graphic methods to
rotate, scale and translate each of the images.
Requirements:
1. Using Netbeans or Eclipse, develop a Java 2D graphics application that creates 3 images. The
images should have the following specifications:
a. Size: minimum 25x25 pixels, larger images are Okay
b. Type: Color (consists of two or more colors)
c. Simple form or shape (Hint: consider a letter or number, or even simple shapes such as
crossing lines, rectangles, or circles
d. You should generate the image inside of separate methods and store them as 2D arrays.
2. Use Java 2D graphics to display your original images.
3. For each image use the existing Java 2D graphics transformation methods to translate, rotate
and scale each object. You should perform the following transformations on each image:
a. Translate -5 in x direction, Translate +7 in the y direction.
b. Rotate 45 counter clockwise.
c. Rotate 90 clockwise
d. Scale 2 times for the x component, scale 0.5 times for the y component
e. Each of these transformations should be displayed in sequence with the images always
starting from the previous transformation as opposed to the original image.
f. Use Java 2D graphics to display each transformation for each image. (Hint: review the
Project 1 template for a good start for this project.)
4. All Java source code should be written using Google Java style guide.
5. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing.
Deliverables:
1. All Java source code used for this project. Code should adhere to the Google Java style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the success execution of your 2D graphics transformation. The document should
be well-written, well-organized, include your test plan, include page numbers, captions for all
screen captures, and a title page including your name, class, section number and date.
References should be included for all sources used and formatted in APA style.
Homework44.pdf
1
Homework 4 1. (10 pts) For the following program, explain the interesting elements related to threads. Focus on explaining the output of the program.
1 public class TaskThreadDemo { 2 public static void main (String args []) { 3 String [] sa = {"a", "X", "+", "."}; 4 for (String s: sa) { 5 Runnable ps = new PrintChar (s, 200); 6 Thread ts = new Thread (ps, s); 7 ts.start (); 8 } // end for each character 9 } // end main 10 } // end class TaskThreadDemo 11 12 class PrintChar implements Runnable { 13 String ch; 14 int times; 15 16 public PrintChar (String c, int n) { 17 ch = c; 18 times = n; 19 } // end constructor 20 21 public void run () { 22 for (int i = 0; i < times; i++) { 23 System.out.print (ch); 24 } // end for loop 25 } // end method run 26 } // end class PrintChar
2. (10 pts) What is changed if the method called on line 7, start(), is replaced with run()? Explain (of course). Focus on explaining the output of the program.
3. (10 pts) What is changed if the method Thread.yield() is added between lines 23 and 24? Explain. Focus on explaining the output of the program.
4. (10 pts) Modify the above program so that the Thread.sleep method is called after each character has been printed causing it to sleep for 500 milliseconds. Describe how that modification has altered the output and explain why the change had the effect that you described.
5. (10 pts) Modify the above program so that the Thread.sleep method is called after each thread is created in the main method causing it to sleep for 500 milliseconds. Describe how that modification has altered the output and explain why the change had the effect that you described.
2
Grading Rubric:
Attribute Meets Does not meet Problem 1 10 points
Explains the interesting elements related to threads. Focuses on explaining the output of the program.
0 points Does not explain the interesting elements related to threads. Does not focus on explaining the output of the program.
Problem 2 10 points Explains what is changed if the method called on line 7, start(), is replaced with run().Focuses on explaining the output of the program.
0 points Does not explain what is changed if the method called on line 7, start(), is replaced with run(). Does not focus on explaining the output of the program.
Problem 3 10 points Explains what is changed if the method Thread.yield() is added between lines 23 and 24. Focuses on explaining the output of the program.
0 points Does not explain what is changed if the method Thread.yield() is added between lines 23 and 24. Does not focus on explaining the output of the program.
Problem 4 10 points Explains how the output is changed if the Thread.sleep method is called after each character has been printed.
0 points Does not explain how the output is changed if the Thread.sleep method is called after each character has been printed.
Problem 5 10 points Explains how the output is changed if the Thread.sleep method is called after each thread is created in the main method.
0 points Does not explain how the output is changed if the Thread.sleep method is called after each thread is created in the main method.
CMSC335Project21.pdf
CMSC 335 Project 2 Overview
In the project you will construct a Java GUI that uses event handlers and listeners while expanding on the project 1 Shape theme. Before completing this exercise, be sure to review and try the Java class and inheritance examples and materials found on the Java Tutorial:
https://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html
Please also review the tutorial on Java FX (newer package) or legacy Java Swing. Java FX:
• https://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm • https://docs.oracle.com/javafx/2/ui_controls/jfxpub-ui_controls.htm • https://docs.oracle.com/javase/8/javase-clienttechnologies.htm • https://docs.oracle.com/javafx/2/
Java Swing (Legacy): https://docs.oracle.com/javase/tutorial/uiswing/index.html
Assignment Details
Design, implement and test a set of Java classes that allows a user to select a shape from a list of available shape images, enter appropriate dimensional parameters (suggest a dropdown box of dimensional size choices) and then display that shape in a frame (either as an image or as a drawing).
Your list of shapes should be similar, if not identical to the ones used in project one:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Take your time on understanding how the graphical components and listeners work so you can easily display appropriate actions based on any event.
Submission Requirements:
1. Submit all of your Java source files (each class should be in a separate .java file). These files
should be zipped and submitted with the documentation. 2. UML class diagram showing the type of the class relationships. 3. Developer’s guide describing how to compile and execute the program. The guide should
include a comprehensive test plan that includes evidence of testing each component of the menu with screen captures and descriptions supporting each test. Documentation includes Lessons learned.
4. Test Plan in table format: #, Description, Screenshot, PASS/FAIL
Your compressed zip file should be submitted to the Project 2 folder as directed.
Grading Rubric: Attribute
Meets
Design 45 points Designs a Java class Inheritance hierarchy that would satisfy the following is- a and has-a relationships:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Functionality 85 points Contains no coding errors.
Contains no compile warnings.
Constructs a Java Swing GUI that uses event handlers and listeners while expanding on the project 1 Shape theme.
Displays shapes in a frame of your FX or Swing -based GUI. For 3-D shapes consider loading an image from a file and displaying that as a representative.
Test Data and Test Plan
45 points Tests the application using multiple and varied test cases. Test plan in format described in requirements.
Documentation and submission
40 points Source code files include header comment block, including file name, date, author, purpose, appropriate comments within the code, appropriate variable and function names, correct indentation.
Submission includes Java source code files, Data files used to test your program, Configuration files used.
Documentation includes a UML class diagram showing the type of the class relationships.
Documentation includes a user's Guide describing of how to set up and run your application.
Documentation includes a test plan with sample input and expected results, test data and results and screen snapshots of some of your test cases.
Documentation includes Lessons learned.
Documentation is in an acceptable format. Document is well-organized. The font size should be 12 point.
The page margins should be one inch. The paragraphs should be double spaced. All figures, tables, equations, and references should be properly labeled and formatted using APA style.
The document should contain minimal spelling and grammatical errors.
Any submissions that do not represent work originating from the student will be submitted to the Dean’s office and evaluated for possible academic integrity violations and sanctions.
CMSC335Project22.pdf
CMSC 335 Project 2 Overview
In the project you will construct a Java GUI that uses event handlers and listeners while expanding on the project 1 Shape theme. Before completing this exercise, be sure to review and try the Java class and inheritance examples and materials found on the Java Tutorial:
https://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html
Please also review the tutorial on Java FX (newer package) or legacy Java Swing. Java FX:
• https://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm • https://docs.oracle.com/javafx/2/ui_controls/jfxpub-ui_controls.htm • https://docs.oracle.com/javase/8/javase-clienttechnologies.htm • https://docs.oracle.com/javafx/2/
Java Swing (Legacy): https://docs.oracle.com/javase/tutorial/uiswing/index.html
Assignment Details
Design, implement and test a set of Java classes that allows a user to select a shape from a list of available shape images, enter appropriate dimensional parameters (suggest a dropdown box of dimensional size choices) and then display that shape in a frame (either as an image or as a drawing).
Your list of shapes should be similar, if not identical to the ones used in project one:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Take your time on understanding how the graphical components and listeners work so you can easily display appropriate actions based on any event.
Submission Requirements:
1. Submit all of your Java source files (each class should be in a separate .java file). These files
should be zipped and submitted with the documentation. 2. UML class diagram showing the type of the class relationships. 3. Developer’s guide describing how to compile and execute the program. The guide should
include a comprehensive test plan that includes evidence of testing each component of the menu with screen captures and descriptions supporting each test. Documentation includes Lessons learned.
4. Test Plan in table format: #, Description, Screenshot, PASS/FAIL
Your compressed zip file should be submitted to the Project 2 folder as directed.
Grading Rubric: Attribute
Meets
Design 45 points Designs a Java class Inheritance hierarchy that would satisfy the following is- a and has-a relationships:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Functionality 85 points Contains no coding errors.
Contains no compile warnings.
Constructs a Java Swing GUI that uses event handlers and listeners while expanding on the project 1 Shape theme.
Displays shapes in a frame of your FX or Swing -based GUI. For 3-D shapes consider loading an image from a file and displaying that as a representative.
Test Data and Test Plan
45 points Tests the application using multiple and varied test cases. Test plan in format described in requirements.
Documentation and submission
40 points Source code files include header comment block, including file name, date, author, purpose, appropriate comments within the code, appropriate variable and function names, correct indentation.
Submission includes Java source code files, Data files used to test your program, Configuration files used.
Documentation includes a UML class diagram showing the type of the class relationships.
Documentation includes a user's Guide describing of how to set up and run your application.
Documentation includes a test plan with sample input and expected results, test data and results and screen snapshots of some of your test cases.
Documentation includes Lessons learned.
Documentation is in an acceptable format. Document is well-organized. The font size should be 12 point.
The page margins should be one inch. The paragraphs should be double spaced. All figures, tables, equations, and references should be properly labeled and formatted using APA style.
The document should contain minimal spelling and grammatical errors.
Any submissions that do not represent work originating from the student will be submitted to the Dean’s office and evaluated for possible academic integrity violations and sanctions.
Project34.pdf
Project 3
Three js Project
Overview
In this project you will create a unique 3D animated scene composed of Three.js graphic components.
The scene should include animation, lighting and multiple objects.
Requirements:
1. Using Three.js create a unique 3D animated scene. The scene has the following specifications:
a. Size: minimum of 640x480
b. Includes at least 6 different shapes
c. Uses multiple lighting effects
d. Includes radio buttons, slider bars or other widgets to turn on or off certain components
of the animation.
2. Use Three.js
3. All JavaScript source code should be written using Google JavaScript style guide.(
http://google.github.io/styleguide/jsguide.html)
4. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing
Deliverables:
1. All JavaScript source code used for this project. Code should adhere to the Google Javascript
style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the successful execution of your 3D Three.js animated scene. The document should
be well-written, well-organized, includes the test plan, include page numbers, captions for all
screen captures, and a title page including your name, class, section number and date.
References should be included for all sources used and formatted in APA style.
Project27.pdf
1
Project 2
JOGL OpenGL Project
Overview
In this project you will create a unique 3 graphics scene composed of OpenGL graphic components using
transformation methods.
Requirements:
1. Using Netbeans or Eclipse, develop a JOGL application that displays a unique 3D scene. The
scene has the following specifications:
a. Size: minimum 640x480
b. Includes at least 6 different shapes
c. Uses at least 6 different transformation methods
2. Use Java and JOGL for your implementation of OpenGL
3. All Java source code should be written using Google Java style guide.
4. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing.
Deliverables:
1. All Java source code used for this project. Code should adhere to the Google Java style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the successful execution of your 3D graphics scene. The document should be well-
written, well-organized, include the test plan, include page numbers, captions for all screen
captures, and a title page including your name, class, section number and date. References
should be included for all sources used and formatted in APA style.
Project4-2.pdf
1
Project 4
WebGL 3D Project
Overview
In this project you will create a unique 3D animated scene composed of WebGL graphic components.
The scene should include animation, lighting, textures, frame buffers and multiple objects.
Requirements:
1. Using WebGL create a unique 3D animated scene. The scene has the following specifications:
a. Size: minimum 640x480
b. Includes at least 10 different objects.
c. Uses multiple lighting effects on different materials
d. Uses multiple textures
e. Includes radio buttons, slider bars or other widgets to turn on or off certain components
of the animation.
f. Uses frame buffers to organize the memory resources that are needed to render the
scene.
2. Use WebGL
3. All JavaScript source code should be written using Google JavaScript style guide.(
http://google.github.io/styleguide/jsguide.html)
4. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing
Deliverables:
1. All JavaScript source code used for this project. Code should adhere to the Google Javascript
style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the successful execution of your 3D WebGL animated scene. The document should
be well-written, well-organized, include your test plan, include page numbers, captions for all
screen captures, and a title page including your name, class, section number and date.
References should be included for all sources used and formatted in APA style.
Project14.pdf
1
Project 1
Java 2D Graphics
Overview
In this project you will create 3 simple, images or your choice and use Java 2D graphic methods to
rotate, scale and translate each of the images.
Requirements:
1. Using Netbeans or Eclipse, develop a Java 2D graphics application that creates 3 images. The
images should have the following specifications:
a. Size: minimum 25x25 pixels, larger images are Okay
b. Type: Color (consists of two or more colors)
c. Simple form or shape (Hint: consider a letter or number, or even simple shapes such as
crossing lines, rectangles, or circles
d. You should generate the image inside of separate methods and store them as 2D arrays.
2. Use Java 2D graphics to display your original images.
3. For each image use the existing Java 2D graphics transformation methods to translate, rotate
and scale each object. You should perform the following transformations on each image:
a. Translate -5 in x direction, Translate +7 in the y direction.
b. Rotate 45 counter clockwise.
c. Rotate 90 clockwise
d. Scale 2 times for the x component, scale 0.5 times for the y component
e. Each of these transformations should be displayed in sequence with the images always
starting from the previous transformation as opposed to the original image.
f. Use Java 2D graphics to display each transformation for each image. (Hint: review the
Project 1 template for a good start for this project.)
4. All Java source code should be written using Google Java style guide.
5. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing.
Deliverables:
1. All Java source code used for this project. Code should adhere to the Google Java style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the success execution of your 2D graphics transformation. The document should
be well-written, well-organized, include your test plan, include page numbers, captions for all
screen captures, and a title page including your name, class, section number and date.
References should be included for all sources used and formatted in APA style.
Homework44.pdf
1
Homework 4 1. (10 pts) For the following program, explain the interesting elements related to threads. Focus on explaining the output of the program.
1 public class TaskThreadDemo { 2 public static void main (String args []) { 3 String [] sa = {"a", "X", "+", "."}; 4 for (String s: sa) { 5 Runnable ps = new PrintChar (s, 200); 6 Thread ts = new Thread (ps, s); 7 ts.start (); 8 } // end for each character 9 } // end main 10 } // end class TaskThreadDemo 11 12 class PrintChar implements Runnable { 13 String ch; 14 int times; 15 16 public PrintChar (String c, int n) { 17 ch = c; 18 times = n; 19 } // end constructor 20 21 public void run () { 22 for (int i = 0; i < times; i++) { 23 System.out.print (ch); 24 } // end for loop 25 } // end method run 26 } // end class PrintChar
2. (10 pts) What is changed if the method called on line 7, start(), is replaced with run()? Explain (of course). Focus on explaining the output of the program.
3. (10 pts) What is changed if the method Thread.yield() is added between lines 23 and 24? Explain. Focus on explaining the output of the program.
4. (10 pts) Modify the above program so that the Thread.sleep method is called after each character has been printed causing it to sleep for 500 milliseconds. Describe how that modification has altered the output and explain why the change had the effect that you described.
5. (10 pts) Modify the above program so that the Thread.sleep method is called after each thread is created in the main method causing it to sleep for 500 milliseconds. Describe how that modification has altered the output and explain why the change had the effect that you described.
2
Grading Rubric:
Attribute Meets Does not meet Problem 1 10 points
Explains the interesting elements related to threads. Focuses on explaining the output of the program.
0 points Does not explain the interesting elements related to threads. Does not focus on explaining the output of the program.
Problem 2 10 points Explains what is changed if the method called on line 7, start(), is replaced with run().Focuses on explaining the output of the program.
0 points Does not explain what is changed if the method called on line 7, start(), is replaced with run(). Does not focus on explaining the output of the program.
Problem 3 10 points Explains what is changed if the method Thread.yield() is added between lines 23 and 24. Focuses on explaining the output of the program.
0 points Does not explain what is changed if the method Thread.yield() is added between lines 23 and 24. Does not focus on explaining the output of the program.
Problem 4 10 points Explains how the output is changed if the Thread.sleep method is called after each character has been printed.
0 points Does not explain how the output is changed if the Thread.sleep method is called after each character has been printed.
Problem 5 10 points Explains how the output is changed if the Thread.sleep method is called after each thread is created in the main method.
0 points Does not explain how the output is changed if the Thread.sleep method is called after each thread is created in the main method.
CMSC335Project21.pdf
CMSC 335 Project 2 Overview
In the project you will construct a Java GUI that uses event handlers and listeners while expanding on the project 1 Shape theme. Before completing this exercise, be sure to review and try the Java class and inheritance examples and materials found on the Java Tutorial:
https://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html
Please also review the tutorial on Java FX (newer package) or legacy Java Swing. Java FX:
• https://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm • https://docs.oracle.com/javafx/2/ui_controls/jfxpub-ui_controls.htm • https://docs.oracle.com/javase/8/javase-clienttechnologies.htm • https://docs.oracle.com/javafx/2/
Java Swing (Legacy): https://docs.oracle.com/javase/tutorial/uiswing/index.html
Assignment Details
Design, implement and test a set of Java classes that allows a user to select a shape from a list of available shape images, enter appropriate dimensional parameters (suggest a dropdown box of dimensional size choices) and then display that shape in a frame (either as an image or as a drawing).
Your list of shapes should be similar, if not identical to the ones used in project one:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Take your time on understanding how the graphical components and listeners work so you can easily display appropriate actions based on any event.
Submission Requirements:
1. Submit all of your Java source files (each class should be in a separate .java file). These files
should be zipped and submitted with the documentation. 2. UML class diagram showing the type of the class relationships. 3. Developer’s guide describing how to compile and execute the program. The guide should
include a comprehensive test plan that includes evidence of testing each component of the menu with screen captures and descriptions supporting each test. Documentation includes Lessons learned.
4. Test Plan in table format: #, Description, Screenshot, PASS/FAIL
Your compressed zip file should be submitted to the Project 2 folder as directed.
Grading Rubric: Attribute
Meets
Design 45 points Designs a Java class Inheritance hierarchy that would satisfy the following is- a and has-a relationships:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Functionality 85 points Contains no coding errors.
Contains no compile warnings.
Constructs a Java Swing GUI that uses event handlers and listeners while expanding on the project 1 Shape theme.
Displays shapes in a frame of your FX or Swing -based GUI. For 3-D shapes consider loading an image from a file and displaying that as a representative.
Test Data and Test Plan
45 points Tests the application using multiple and varied test cases. Test plan in format described in requirements.
Documentation and submission
40 points Source code files include header comment block, including file name, date, author, purpose, appropriate comments within the code, appropriate variable and function names, correct indentation.
Submission includes Java source code files, Data files used to test your program, Configuration files used.
Documentation includes a UML class diagram showing the type of the class relationships.
Documentation includes a user's Guide describing of how to set up and run your application.
Documentation includes a test plan with sample input and expected results, test data and results and screen snapshots of some of your test cases.
Documentation includes Lessons learned.
Documentation is in an acceptable format. Document is well-organized. The font size should be 12 point.
The page margins should be one inch. The paragraphs should be double spaced. All figures, tables, equations, and references should be properly labeled and formatted using APA style.
The document should contain minimal spelling and grammatical errors.
Any submissions that do not represent work originating from the student will be submitted to the Dean’s office and evaluated for possible academic integrity violations and sanctions.
CMSC335Project22.pdf
CMSC 335 Project 2 Overview
In the project you will construct a Java GUI that uses event handlers and listeners while expanding on the project 1 Shape theme. Before completing this exercise, be sure to review and try the Java class and inheritance examples and materials found on the Java Tutorial:
https://docs.oracle.com/javase/tutorial/java/IandI/subclasses.html
Please also review the tutorial on Java FX (newer package) or legacy Java Swing. Java FX:
• https://docs.oracle.com/javafx/2/get_started/jfxpub-get_started.htm • https://docs.oracle.com/javafx/2/ui_controls/jfxpub-ui_controls.htm • https://docs.oracle.com/javase/8/javase-clienttechnologies.htm • https://docs.oracle.com/javafx/2/
Java Swing (Legacy): https://docs.oracle.com/javase/tutorial/uiswing/index.html
Assignment Details
Design, implement and test a set of Java classes that allows a user to select a shape from a list of available shape images, enter appropriate dimensional parameters (suggest a dropdown box of dimensional size choices) and then display that shape in a frame (either as an image or as a drawing).
Your list of shapes should be similar, if not identical to the ones used in project one:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Take your time on understanding how the graphical components and listeners work so you can easily display appropriate actions based on any event.
Submission Requirements:
1. Submit all of your Java source files (each class should be in a separate .java file). These files
should be zipped and submitted with the documentation. 2. UML class diagram showing the type of the class relationships. 3. Developer’s guide describing how to compile and execute the program. The guide should
include a comprehensive test plan that includes evidence of testing each component of the menu with screen captures and descriptions supporting each test. Documentation includes Lessons learned.
4. Test Plan in table format: #, Description, Screenshot, PASS/FAIL
Your compressed zip file should be submitted to the Project 2 folder as directed.
Grading Rubric: Attribute
Meets
Design 45 points Designs a Java class Inheritance hierarchy that would satisfy the following is- a and has-a relationships:
• Circle • Square • Triangle • Rectangle • Sphere • Cube • Cone • Cylinder • Torus
Functionality 85 points Contains no coding errors.
Contains no compile warnings.
Constructs a Java Swing GUI that uses event handlers and listeners while expanding on the project 1 Shape theme.
Displays shapes in a frame of your FX or Swing -based GUI. For 3-D shapes consider loading an image from a file and displaying that as a representative.
Test Data and Test Plan
45 points Tests the application using multiple and varied test cases. Test plan in format described in requirements.
Documentation and submission
40 points Source code files include header comment block, including file name, date, author, purpose, appropriate comments within the code, appropriate variable and function names, correct indentation.
Submission includes Java source code files, Data files used to test your program, Configuration files used.
Documentation includes a UML class diagram showing the type of the class relationships.
Documentation includes a user's Guide describing of how to set up and run your application.
Documentation includes a test plan with sample input and expected results, test data and results and screen snapshots of some of your test cases.
Documentation includes Lessons learned.
Documentation is in an acceptable format. Document is well-organized. The font size should be 12 point.
The page margins should be one inch. The paragraphs should be double spaced. All figures, tables, equations, and references should be properly labeled and formatted using APA style.
The document should contain minimal spelling and grammatical errors.
Any submissions that do not represent work originating from the student will be submitted to the Dean’s office and evaluated for possible academic integrity violations and sanctions.
Project34.pdf
Project 3
Three js Project
Overview
In this project you will create a unique 3D animated scene composed of Three.js graphic components.
The scene should include animation, lighting and multiple objects.
Requirements:
1. Using Three.js create a unique 3D animated scene. The scene has the following specifications:
a. Size: minimum of 640x480
b. Includes at least 6 different shapes
c. Uses multiple lighting effects
d. Includes radio buttons, slider bars or other widgets to turn on or off certain components
of the animation.
2. Use Three.js
3. All JavaScript source code should be written using Google JavaScript style guide.(
http://google.github.io/styleguide/jsguide.html)
4. Prepare, conduct and document a test plan verifying your application is working as expected.
This plan should include a test matrix listing each method you tested, how you tested it, and the
results of testing
Deliverables:
1. All JavaScript source code used for this project. Code should adhere to the Google Javascript
style guide.
2. Word or PDF file demonstrating with clearly labeled screen captures and associated well-written
descriptions, the successful execution of your 3D Three.js animated scene. The document should
be well-written, well-organized, includes the test plan, include page numbers, captions for all
screen captures, and a title page including your name, class, section number and date.
References should be included for all sources used and formatted in APA style.
- Sociology of Race and Ethnic Relations
- I need a owner's equity statement and balance sheet due 2/7 at 3pm
- How many gallons of water does one inch of rain falling on one acre of ground equal?
- paper and spreadsheet
- Advanced Operations Management
- Explain of Conclusions of Two Means - Independent Samples
- Response to another student discussion: Odds in logistic regression
- i need answer and show your work
- For this assignment, you will undertake an analysis based on a self-designed fictitious study that utilizes statistical methodologies. You will...
- Values and Ethics