Homework 2, CSE 481b, Winter 2006

Due Tuesday, January 17, 6:00 pm

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

By the deadline, post a screenshot of your application to your project portal. When you have completed the assignment, send mail to the valentin@cs informing him that the assignment is complete.