If you are going to use processing from Clojure, you'll want to checkout Quil:
https://github.com/quil/quil It's a more Clojure friendly take on processing sketches, and it's a lot less painful to get up and running. -Jeff On Mar 19, 4:15 pm, Lee Spector <lspec...@hampshire.edu> wrote: > On Mar 16, 2012, at 10:05 AM, Niels van Klaveren wrote: > > > AFAIK there's not much projects focussing on 3D in Clojure, but you can > > take a look at processing (http://processing.org) and one of it's Clojure > > wrappers. It's a great little language for 2D/3D visuals, and there's > > plenty of swarm-like demos for it (http://openprocessing.org). For 3D > > calculations, (verlet) physics and more there's the java library toxiclibs > > (http://toxiclibs.org), whose author is currently porting/wrapping to > > Clojure. > > > It's not really a cut-and-dried solution, but it's pretty flexible and has > > a simple API unlike a lot of 3D projects which focus very narrowly on games > > development. > > Thanks Niels. > > I've actually used Processing quite a bit -- even taught a couple of courses > with it -- and I've played a little with the Processing library via Clojure. > I'll have to look into that again in this context. > > I recall some frustration with Clojure+Processing which I think stemmed from > (1) feeling trapped in the applet context, (2) not knowing how to run > programs that use the library on nodes without graphic displays (from which I > would dump data to files -- I do lots of runs on cluster nodes to collect > data), and (3) not knowing how to get Processing-based projects to take > advantage of multiple cores. If you or anyone else has comments related to > these issues then I would love to hear them. > > The toxiclibs library also looks quite interesting. Do you know of any > examples that show this being invoked from Clojure? > > -Lee -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en