Advice on macruby and graphics

C

cs ss

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 :)
 
J

Jonathan Waddilove

cs said:
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
 
C

cs ss

Great - thanks for that Jonathan,

I had a look at Core Plot. Looks really interesting.

I'd planned on using macruby and hotcocoa. The less time spent in
interface builder the better ;)

Tough area to be getting started in as the documentation is a bit thin
on the ground. Guess I'll be spending some time in rdocs!

I know there is an O'Reily title coming out soon on MacRuby etc Any
other good sites,, books people know about? I haven't seen much when
I've looked.
 
J

Jonathan Waddilove

I haven't seen much about the O'Reilly book, it would be good if there
is a beta copy.

One of the best resources I've seen is John Shea's stuff. He's busy
writing openGL games in MacRuby and he's also ported the Hillegass cocoa
examples. You can find a repository of stuff at
http://public.me.com/johnmshea - in particular look at the /MacRuby/Game
related/mine/presentation (he used to have a ppt version but that seems
to have disappeared).

I've also tried to contribute a little about pointers in MacRuby:
http://jonathan.waddilove.net/macruby_pointers.html

Jonathan
 
J

Josh Cheek

[Note: parts of this message were removed to make it a legal post.]

Great - thanks for that Jonathan,

I had a look at Core Plot. Looks really interesting.

I'd planned on using macruby and hotcocoa. The less time spent in
interface builder the better ;)

Tough area to be getting started in as the documentation is a bit thin
on the ground. Guess I'll be spending some time in rdocs!

I know there is an O'Reily title coming out soon on MacRuby etc Any
other good sites,, books people know about? I haven't seen much when
I've looked.
Peepcode has a video for it https://peepcode.com/products/meet-macruby

But I don't know if it is still current, they seem to have taken the links
down from their homepage, I had to guess the url.
 
C

cs ss

Thanks Josh.

I got the peepcode screencast the other day. I've contributed a lot to
TopFunky's retirement fund over the last few years :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top