implemented noCanvas() as in issue #322

I'm making some examples that do not need a canvas and implemented a `noCanvas()` method (#322).  If this is not correct, let me know and I can resubmit!