If you use an embedded lisp such as ECL or PLT Scheme, you can take advantage of whatever graphics facilities the host offers, and code in lisp with a "live" repl.
This project might get you started:
http://createuniverses.blogspot.com/2009/09/qtimagine-skelet...