You might want to try Katsmall's memory-canvas class: http://www.cs.utah.edu/plt/develop/memory-canvas.plt Matthew