This demo is identical to the graphicsTest demo, except that it uses the tiny interface on Graphics to compact the drawing commands. It's possible to have even more compact drawing instructions using the Graphics.decodePath() method, but that format is not human readable.