From: Martin DeMello Date: 2006-09-10T03:00:18+09:00 Subject: Re: DRAW 1280, 1024 On 9/9/06, Paul Lutus wrote: > Martin DeMello wrote: > > > > Because IRB has already solved the general problem of a good, robust > > REPL. Why should drawing to a canvas be treated as a separate problem? > > Because of the problem of the event loop, which will be hijacked by irb if > it's part of the application. That only applies to a full-fledged GUI, complete with listeners, though - all the OP wanted was a simple canvas to which he could draw. I've already posted a working proof-of-concept of a canvas with a thread to update itself every few milliseconds, controllable from irb - I see no reason why that can't be extended to a more featureful drawable object that works happily alongside irb. martin