Skip to content

.getIntensity()


Description

This function returns the current exponential intensity value of an EasyEase Object.



Examples:

getIntensity_01.pde
import easy.ease.*;

EasyEase curve = new EasyEase(this, 4.0);

void setup() {
    size(600, 400);
    float intensity = curve.getIntensity();
    // prints 4.0 to the console
    println(intensity);
}

getIntensity_02.pde
import easy.ease.*;

EasyEase curve = new EasyEase(this);

void setup() {
    size(600, 400);
    float intensity = curve.getIntensity();
    // prints 1.0 to the console
    println(intensity);
}


Syntax

myCurve.getIntensity()


Return

float