@@ -0,0 +1,1293 @@
+package com.haxademic.sketch.test;%0A%0Aimport com.haxademic.core.app.PAppletHax;%0Aimport com.haxademic.core.draw.util.DrawUtil;%0Aimport com.haxademic.core.draw.util.OpenGLUtil;%0Aimport com.haxademic.core.math.easing.ElasticFloat;%0A%0Aimport controlP5.ControlP5;%0A%0A@SuppressWarnings(%22serial%22)%0Apublic class ElasticFloatTest%0Aextends PAppletHax %7B%0A%09%0A%09public float fric = 0.5f;%0A%09public float accel = 0.5f;%0A%09protected ElasticFloat _elasticX = new ElasticFloat(0, fric, accel);%0A%09protected ElasticFloat _elasticY = new ElasticFloat(0, fric, accel);%0A%09protected ControlP5 _cp5;%0A%0A%09protected void overridePropsFile() %7B%0A%09%09_appConfig.setProperty( %22fps%22, %2260%22 );%0A%09%7D%0A%0A%0A%09public void setup() %7B%0A%09%09super.setup();%09%0A%09%09p.smooth( OpenGLUtil.SMOOTH_HIGH );%0A%0A%09%09_cp5 = new ControlP5(this);%0A%09%09_cp5.addSlider(%22fric%22).setPosition(20,60).setWidth(200).setRange(0,1);%0A%09%09_cp5.addSlider(%22accel%22).setPosition(20,100).setWidth(200).setRange(0,1);%0A%09%7D%0A%0A%09public void drawApp() %7B%0A%09%09background(0);%0A%09%09%0A%09%09_elasticX.setFriction(fric);%0A%09%09_elasticY.setFriction(fric);%0A%09%09_elasticX.setAccel(accel);%0A%09%09_elasticY.setAccel(accel);%0A%09%09%0A%09%09_elasticX.setTarget(p.mouseX);%0A%09%09_elasticY.setTarget(p.mouseY);%0A%09%09%0A%09%09_elasticX.update();%0A%09%09_elasticY.update();%0A%09%09%0A%09%09DrawUtil.setDrawCenter(p);%0A%09%09p.fill(255);%0A%09%09p.ellipse(_elasticX.val(), _elasticY.val(), 40, 40);%0A%09%7D%0A%0A%7D%0A

Add testing applet for ElasticFloat objects