Any GUI tool with the word “canvas” in it, such as TkCanvas.
TkCanvas is pretty good for 2D animations. I’ve used it in engineering
tools (including as a plug-in block for a simulink-based tool for a car
I developed a general tool called tkar that runs as a standalone
It’s based on ruby/tk, but you can feed it data from anywhere, not just
ruby code. It accepts data from pipes and sockets. Your controlling
process can decide when to send data, so you would probably handle
spacebar events on the upstream end of the socket.
It handles basic user interaction fairly well, allowing pan, zoom,
click, drag-n-drop (the latter two send the commands back out the
socket, so you can control the effects).
For an overview, see
and of course the movie
Full docs–most importantly the data stream protocol and shape defs–are
The program itself is all one file:
This simulink plugin is quite nice–beats the native simulink 2D
animation, and is just about as flexible as the simulink plotter block.
But probably not of interest on this list.