Homework 2, CSE 481b, Winter 2007

Due Thursday, January 18, 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.



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.


By the deadline, send a screenshot of your application to cmprince@cs.