Hans is actively blogging about Graphite, his “perpetual Tablet PC graphing project.” Here, for instance, he reveals his heuristic for differentiating shapes from other things.
You can get the source for Graphite here (BSD-style license).
Found through links by John Tokash, Warner Crocker and Marc Orchant.