I don't know if anyone uses this library anymore, but I happened to like the penner easing library. I have to admit I haven't looked into the ShapeTween library, so maybe I should just switch ... but, I found a bug—
It seems that if the Change is greater than the Beginning than the tween doesn't work. Doesn't seem like too big a thing to fix so i'm going to attempt. I'll post progress.
UPDATEOkay so I think I found the problem when looking at the source. Below is an example with the class Linear for Penner's Easing Library:
Code:
package penner.easing;
public class Linear {
public static float easeNone (float t,float b , float c, float d) {
if(b<c) b = b*(-1); // Just added by jonobrone
return c*t/d + b;
}
public static float easeIn (float t,float b , float c, float d) {
if(b<c) b = b*(-1); // Just added by jonobrone
return c*t/d + b;
}
public static float easeOut (float t,float b , float c, float d) {
if(b<c) b = b*(-1); // Just added by jonobrone
return c*t/d + b;
}
public static float easeInOut (float t,float b , float c, float d) {
if(b<c) b = b*(-1); // Just added by jonobrone
return c*t/d + b;
}
}
I think that this does the trick, but I foolishly went in not really knowing anything about Java Development. I went to the Developer section on the Processing site, but I'm not too familiar with Terminal. I tried creating the directories and subdirectories myself, then archiving it, and renaming the the extension from .zip to .jar...That's not right is it?
When relaunching Processing after replacing the files I get the following error: "The package 'penner' does not exist. You might be missing a library"
Once I figure this part out I'll post the update.