ofColor ofxAnimatableOfColor::getCurrentColor() {

    float mappedDistribution = calcCurveAt(percentDone_);	///percentDone_ is [0..1] & tells me where we are between orig and target
    float newC[4];
    ofColor r;
    for (int i = 0; i < 4; i++) {
        newC[i] = ( (int)targetColor_[i] - (int)originalColor_[i]) * mappedDistribution;
        r[i] = originalColor_[i] + newC[i];
    }
    return r;
}
ofPoint ofxAnimatableOfPoint::getCurrentPosition(){
	float mappedDistribution = calcCurveAt(percentDone_);	///percentDone_ is [0..1] & tells me where we are between orig and target
	return originalPoint_ + ( targetPoint_ - originalPoint_) * mappedDistribution ;
}
float ofxAnimatableFloat::val(){
	
	float mappedDistribution = calcCurveAt( percentDone_ );	///percentDone_ is [0..1] & tells me where we are between orig and target
	return originalVal_ + ( targetVal_ - originalVal_ ) * mappedDistribution ;
}