Re: Visualization strategy/choosing a framework

2009-01-08 Thread Adam Foltzer
Jan 6, 2009 at 10:00 AM > Subject: Re: Visualization strategy/choosing a framework > To: Andrew Farmer > > > I found the Accelerate framework after posting this, and have had some good > success with it on my Intel Mac. For the iPhone, I found this bit of code > for accessing the

Visualization strategy/choosing a framework

2009-01-06 Thread Adam Foltzer
To the list this time :D -- Forwarded message -- From: Adam Foltzer Date: Tue, Jan 6, 2009 at 10:00 AM Subject: Re: Visualization strategy/choosing a framework To: Andrew Farmer I found the Accelerate framework after posting this, and have had some good success with it on my

Re: Visualization strategy/choosing a framework

2009-01-06 Thread John Kestner
If it doesn't require a Cocoa app, there's also tools tuned for 2D/3D visualization like Processing. It's very easy to get into, but since it's based on Java, you can dig deeper. There are several libraries that increase its usefulness, including one which apparently adds OpenGL acceleratio

Re: Visualization strategy/choosing a framework

2009-01-06 Thread E. Wing
> Off to do some refactoring of my Swarm class; at the risk of spawning a > tangent, am I just completely missing a Cocoa data structure that's suited > to matrices of scalar values? I had a working implementation using nested > NSMutableArrays, but the code wound up looking disgusting (my fault, n

Re: Visualization strategy/choosing a framework

2009-01-06 Thread Andrew Farmer
On 01 Jan 09, at 10:56, Adam Foltzer wrote: Off to do some refactoring of my Swarm class; at the risk of spawning a tangent, am I just completely missing a Cocoa data structure that's suited to matrices of scalar values? I had a working implementation using nested NSMutableArrays, but the co

Re: Visualization strategy/choosing a framework

2009-01-06 Thread Barry Wark
On Wed, Dec 31, 2008 at 7:19 PM, Adam Foltzer wrote: > Hello everyone, > > I've been lurking here for a while as I've been learning the Cocoa ropes, > and I'm at the point where I need to put the (excellent) Hillegass theory > into practice. My app is an interactive particle swarm optimization ( >

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Jens Bauer
Hi Adam, Happy New Year to you too! Go for OpenGL. If you choose something else, you might run into problems along the road. I know OpenGL can handle both 2D and 3D, and you get a fairly good support from samples on the Web. -Take a look at the CocoaGLView at http://developer.apple.com/ s

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Adam Foltzer
Hi Ken, The Particle Swarm patch in QC is exactly the sort of visual effect I'm looking for, but unfortunately it seems like a closed box in terms of being able to place each particle yourself. You can decide where the swarm is and how it behaves, but not in a way that would let my algorithm place

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Ken Thomases
Hi, This isn't my area of expertise, but I just have one point to make: On Dec 31, 2008, at 9:19 PM, Adam Foltzer wrote: I also see Quartz mentioned as a friendlier wrapper for OpenGL, but again I get the impression that it's more geared toward 2-D rendering than anything else. I think y

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Adam Foltzer
Thanks very much for your input, everyone. This seems to be the key theme: On Thu, Jan 1, 2009 at 3:48 AM, Andrew Farmer wrote: > It isn't. Quartz is a 2D graphics library and has no 3D capabilities - if > what you're after is 3D rendering of any variety, go directly to OpenGL; do > not pass GO;

Re: Visualization strategy/choosing a framework

2009-01-05 Thread E. Wing
> My app is an interactive particle swarm optimization ( > http://en.wikipedia.org/wiki/Particle_swarm_optimization for the curious) > that generates N-dimensional coordinates representing individuals in a very > compelling, organic way. For visualization, of course, I'm mainly concerned > with two

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Rob Rix
OpenGL has a steep learning curve, but it’s the only truly 3D framework out of all of these mentioned. Quartz is 2D-only, and only wraps OpenGL as a matter of performance and/or convenience; CoreAnimation is a really clever system for compositing 2D layers in 3D; managing the drawing yourse

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Rob Keniger
On 01/01/2009, at 1:19 PM, Adam Foltzer wrote: I also see Quartz mentioned as a friendlier wrapper for OpenGL, but again I get the impression that it's more geared toward 2-D rendering than anything else. Is a straight dive into full OpenGL the way to go here? I realize that these framewor

Re: Visualization strategy/choosing a framework

2009-01-05 Thread Andrew Farmer
On 31 Dec 08, at 19:19, Adam Foltzer wrote: My trouble is in deciding which graphics framework to pursue for the visualization. Since all I need are representations of points, the path of least resistance for 2-D visualization seems to be using a simple loop with calls to [NSBezierPath fillre

Visualization strategy/choosing a framework

2009-01-01 Thread Adam Foltzer
Hello everyone, I've been lurking here for a while as I've been learning the Cocoa ropes, and I'm at the point where I need to put the (excellent) Hillegass theory into practice. My app is an interactive particle swarm optimization ( http://en.wikipedia.org/wiki/Particle_swarm_optimization for the