Homework 2, CSE 490ra

Due Tuesday, October 14, 11:59 am

Stroke counter

There is nothing inspired about this assignment - however, it will give you a chance to start exploring the ink structures. You are to write an application that keeps track of the number of strokes, the total length of strokes, and the number of connected components formed by the strokes. Below is a screen shot of a sample solution.

Hints

Creativity

Feel free to extend this. For example, it would be nice to color the connected components with different colors. There is no requirement to reproduce the sample solution exactly.

Submission

Submit a screen shot by the deadline by email to the instructor (anderson@cs.washington.edu). Also, submit a zipped directory of your code, project files, and executable.