From: Axel Etzold Date: 2008-08-16T00:44:50+09:00 Subject: Re: vector graphics library with pan and zoom -------- Original-Nachricht -------- > Datum: Fri, 15 Aug 2008 21:01:02 +0900 > Von: "Patrick Doyle" > An: ruby-talk@ruby-lang.org > Betreff: Re: vector graphics library with pan and zoom > Thanks. > I'll take a look at that. > > It's funny you should mention simulink -- I meant to add to my > original post that I was hoping to find something that provided > similar capabilities (zoom, aspect ratio control, and auto scale, in > particular) as are provided by the plotting capabilities of MATLAB. > > Basically, I would like to plot some shapes I've drawn in a Ruby > program and to be able to zoom in and out to see more or less detail. > My current "simplest, because I know exactly how to do it, but > stupidly complex" plan is to dump the data to a file which I would > read and plot from a MATLAB script. > > I'm hoping to find a more elegant solution than that, and to add that > capability to my bag o' tricks. > > I'll try talking to your Tkar process. I don't need the animation > capabilities you provide, but if I can draw my lines, arcs, and > polygons, and I can zoom in and out of the drawn figure, then I can > check this box off and move on to the next problem. > > --wpd Dear Patrick, scalable vector graphics can be created using the Processing language : http://processing.org/ There are Ruby bindings for it by _why: http://the-shoebox.org/apps/44 Also, you might like RMagick: http://rmagick.rubyforge.org/portfolio3.html Best regards, Axel -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx