We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Groovy (Read 1973 times)
Groovy
Sep 16th, 2008, 1:39am
 
I started to use groovy in eclipse. It works well with processing. I think the good thing is that I could use the operators like +-

Code:
Vector a = new Vector(1,2,3);
Vector b = new Vector(2,3,4);

Vector c = a+b;


How could it be used in processing? What do you think of Groovy?

http://groovy.codehaus.org/
Re: Groovy
Reply #1 - Sep 17th, 2008, 12:03am
 
Interesting. I'm new to Groovy. I was actually trying to find some info on Groovy and Processing here yesterday.
Re: Groovy
Reply #2 - Sep 17th, 2008, 12:35am
 
At least, in Eclipse, the integration works for me perfectly, you could call every normal Java class. I didn't test too much, but it seems interresting.
Re: Groovy
Reply #3 - Sep 17th, 2008, 10:23am
 
I am not sure, I lack knowledge on Groovy, although I find it interesting.
I see it has a good Java2D support, simplifying operations, not unlike Processing itself. See for example the GraphicsBuilder Tutorial showing various strokes.
I wonder how easy it is to make applets with Groovy. And how big it is...
I should try it.
Re: Groovy
Reply #4 - Sep 24th, 2008, 10:32am
 
I just posted a processing sketch that uses groovy.

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=implementations;action=display;num=1222245041

Page Index Toggle Pages: 1