Java examples for java.lang:Math Geometry
quadratic Out Ease animation value
//package com.java2s; public class Main { public static int quadraticOutEase(float currentTime, float startValue, float changeInValue, float duration) { currentTime /= duration;//from w w w .ja va 2 s .c om int returnValue = (int) (-changeInValue * currentTime * (currentTime - 2) + startValue); return returnValue; } }