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.
IndexProcessing DevelopmentLibraries,  Tool Development › say hello to ani (another new animation library)
Pages: 1 2 
say hello to ani (another new animation library) (Read 9601 times)
Re: say hello to ani (another new animation library)
Reply #15 - Mar 22nd, 2010, 11:29pm
 
Sorry, I haven't been coding the past few days and don't have anything to add at the moment.

-spxl
Re: say hello to ani (another new animation library)
Reply #16 - Mar 22nd, 2010, 11:56pm
 
pas de problème Smiley

and after some rethinking i feel that even better would be to get completely rid of NO_REPEAT, COUNT, FOREVER and setRepeatMode() ...

what about:
setRepeat(1) (=NO_REPEAT)
setRepeat(26) (=COUNT)
setRepeat(-1) (=FOREVER)

best
bene
Re: say hello to ani (another new animation library)
Reply #17 - Mar 23rd, 2010, 12:33am
 
Less descriptive, but perhaps easier to use.

Maybe setRepeat(0); "0" is kind of circular, endless
Re: say hello to ani (another new animation library)
Reply #18 - Mar 23rd, 2010, 1:19am
 
hmm i like the setRepeat idea, like subpixel said, much easier to use.
but woudlnt it make sense to say, 0 is no repeat, 1 is repeat, like true/false ? hmm missleading too, cause if you take 1 as count it actually means no repeat.

Re: say hello to ani (another new animation library)
Reply #19 - Mar 23rd, 2010, 2:47am
 
noRepeat() would be more in keeping with Processing's noLoop(), noStroke(), noFill(), etc
Re: say hello to ani (another new animation library)
Reply #20 - Mar 23rd, 2010, 11:03am
 
and with noRepeat() we are exactly at that point where we have been with the first preview i posted Smiley

next suggestion:
noRepeat() (=NO_REPEAT)
repeat() (=FOREVER)
repeat(x=>1) (=COUNT)
repeat(x<1) (=NO_REPEAT)

now less missleading?

bene
Re: say hello to ani (another new animation library)
Reply #21 - Mar 23rd, 2010, 12:15pm
 
i guess thats a good solution and it is similar to the processing syntax i think.
Re: say hello to ani (another new animation library)
Reply #22 - Jun 9th, 2010, 7:23am
 
hi all,

i had finally the time to complete all missing parts (bugs, website, demos, examples, javadoc ...) and put them together Smiley

so here we go with the first official release 1.2 of Ani:
http://www.looksgood.de/libraries/Ani/

give it a try!
benedikt
Pages: 1 2