From: Jonathan Waddilove Date: 2010-03-30T19:23:23+09:00 Subject: Re: Advice on macruby and graphics cs ss wrote: > Hi there Everyone, > > I've spent the last year or so away from ruby. That being said, I > wouldn't say I was a ruby guru at the height of my knowledge anyway! > > I'm interested in building a macruby desktop app for backtesting forex > data. There aren't any backtesting apps for OSX, and I hate having to > spend so much time in Win XP these days whilst I'm trading. Basically > the screen is filled with graphical elements representing the movement > of currencies. This window can be dragged and manipulated with other > graphical elements being overlaid on the screen. > > What would be the best library to use for the graphics with this in > mind? > > I've had a look at hotCocoa::graphics which lets me interact with core > graphics and core image etc within Mac OSX. That looks like the best > option at the moment. > > Any advise? Has anyone done anything like this before? > > be kind :) Hi, for most flexibility I'd look at the MacRuby project (http://www.macruby.org/) provided you're happy to work on Snow Leopard. You can then access as much (or as little) of the Cocoa graphics environment as you want: OpenGL, Quartz, etc as well as using HotCocoa if you want to avoid (Interface Builder). If you are plotting data you might also want to look at the core plot project at http://code.google.com/p/core-plot/ HTH Jonathan -- Posted via http://www.ruby-forum.com/.