Difference between revisions of "CSC212 Final Project 2014"
(Created page with "--~~~~ ---- <bluebox> This project is due on the last day of exam period, at 4:00 p.m. No extensions will be granted. </bluebox> <br /> =Assignment= * Implement a Model-Vie...") |
(→Assignment) |
||
Line 8: | Line 8: | ||
=Assignment= | =Assignment= | ||
* Implement a Model-View-Controller in Processing that visualizes a network of vertices. | * Implement a Model-View-Controller in Processing that visualizes a network of vertices. | ||
− | * The model should use the graph implementation shown on [[ | + | * The model should use the graph implementation shown on [[CSC212_Disjkstra%27s_Shortest_Path | this page]]. |
* Inspire yourself from the video below when designing your MVC. | * Inspire yourself from the video below when designing your MVC. | ||
<br /> | <br /> | ||
Line 16: | Line 16: | ||
::* It should be able to highlight all the vertices connected to the vertex under the mouse pointer. | ::* It should be able to highlight all the vertices connected to the vertex under the mouse pointer. | ||
::* It should be able to display the shortest path from the last clicked vertex (marked with a red dot) to the vertex currently under the mouse pointer. | ::* It should be able to display the shortest path from the last clicked vertex (marked with a red dot) to the vertex currently under the mouse pointer. | ||
− | ::* It should implement a third functionality that | + | ::* It should implement a ''third functionality'' that you are '''free to choose'', and will depend on how ambitious you are. |
<br /> | <br /> | ||
+ | |||
=Features= | =Features= | ||
<br /> | <br /> |
Revision as of 11:11, 28 November 2014
--D. Thiebaut (talk) 11:09, 28 November 2014 (EST)
This project is due on the last day of exam period, at 4:00 p.m. No extensions will be granted.
Assignment
- Implement a Model-View-Controller in Processing that visualizes a network of vertices.
- The model should use the graph implementation shown on this page.
- Inspire yourself from the video below when designing your MVC.
- Your MVC should provide 3 different features:
- It should be able to highlight all the vertices connected to the vertex under the mouse pointer.
- It should be able to display the shortest path from the last clicked vertex (marked with a red dot) to the vertex currently under the mouse pointer.
- It should implement a third functionality that you are 'free to choose, and will depend on how ambitious you are.
Features
- Your MVC should have at least 3 buttons
- one button will control whether the connected component of a vertex is shown or not.
- one button will control whether the shortest path from the last-clicked vertex to the one under the mouse should be shown or not
- one button will display a simple box on the applet that will contain:
- Your name
- The date you submitted your project
- A short description of your project (40 to 50 words, max)
- one button (optional) that will control your selected feature (see Assignment section above)