Methods
-
<static> inQuad( input ) → {Number}
-
Description
inQuadParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inQuad } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inQuad }; ani.enqueue(wave);
Details
-
<static> outQuad( input ) → {Number}
-
Description
outQuadParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outQuad } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outQuad }] }; ani.enqueue(wave);
Details
-
<static> inOutQuad( input ) → {Number}
-
Description
inOutQuadParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutQuad } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutQuad }; ani.enqueue(wave);
Details
-
<static> inCube( input ) → {Number}
-
Description
inCubeParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inCube } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inCube }; ani.enqueue(wave);
Details
-
<static> outCube( input ) → {Number}
-
Description
outCubeParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outCube } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outCube }] }; ani.enqueue(wave);
Details
-
<static> inOutCube( input ) → {Number}
-
Description
inOutCubeParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutCube } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutCube }; ani.enqueue(wave);
Details
-
<static> inQuart( input ) → {Number}
-
Description
inQuartParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inQuart } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inQuart }; ani.enqueue(wave);
Details
-
<static> outQuart( input ) → {Number}
-
Description
outQuartParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outQuart } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outQuart }] }; ani.enqueue(wave);
Details
-
<static> inOutQuart( input ) → {Number}
-
Description
inOutQuartParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutQuart } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutQuart }; ani.enqueue(wave);
Details
-
<static> inQuint( input ) → {Number}
-
Description
inQuintParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inQuint } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inQuint }; ani.enqueue(wave);
Details
-
<static> outQuint( input ) → {Number}
-
Description
outQuintParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outQuint } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outQuint }] }; ani.enqueue(wave);
Details
-
<static> inOutQuint( input ) → {Number}
-
Description
inOutQuintParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutQuint } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutQuint }; ani.enqueue(wave);
Details
-
<static> inSine( input ) → {Number}
-
Description
inSineParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inSine } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inSine }; ani.enqueue(wave);
Details
-
<static> outSine( input ) → {Number}
-
Description
outSineParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outSine } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outSine }] }; ani.enqueue(wave);
Details
-
<static> inOutSine( input ) → {Number}
-
Description
inOutSineParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutSine } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutSine }; ani.enqueue(wave);
Details
-
<static> inExpo( input ) → {Number}
-
Description
inExpoParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inExpo } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inExpo }; ani.enqueue(wave);
Details
-
<static> outExpo( input ) → {Number}
-
Description
outExpoParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outExpo } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outExpo }] }; ani.enqueue(wave);
Details
-
<static> inOutExpo( input ) → {Number}
-
Description
inOutExpoParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutExpo } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutExpo }; ani.enqueue(wave);
Details
-
<static> inCirc( input ) → {Number}
-
Description
inCircParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inCirc } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inCirc }; ani.enqueue(wave);
Details
-
<static> outCirc( input ) → {Number}
-
Description
outCircParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outCirc } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outCirc }] }; ani.enqueue(wave);
Details
-
<static> inOutCirc( input ) → {Number}
-
Description
inOutCircParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutCirc } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutCirc }; ani.enqueue(wave);
Details
-
<static> inBack( input ) → {Number}
-
Description
inBackParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inBack } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inBack }; ani.enqueue(wave);
Details
-
<static> outBack( input ) → {Number}
-
Description
outBackParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outBack } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outBack }] }; ani.enqueue(wave);
Details
-
<static> inOutBack( input ) → {Number}
-
Description
inOutBackParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutBack } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutBack }; ani.enqueue(wave);
Details
-
<static> inBounce( input ) → {Number}
-
Description
inBounceParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inBounce } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inBounce }; ani.enqueue(wave);
Details
-
<static> outBounce( input ) → {Number}
-
Description
outBounceParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { outBounce } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 0.5, 1], keyFrames: [0, 90, { value: 180, easing: outBounce }] }; ani.enqueue(wave);
Details
-
<static> inOutBounce( input ) → {Number}
-
Description
inOutBounceParameters
Name Type Description input
Number value [0, 1] Returns
Examples
import Servo from "j5e/servo"; import Animation from "j5e/animation"; import { inOutBounce } from "j5e/easing"; const servo = await new Servo(13); const ani = await new Animation(servo); const wave = { duration: 4000, cuePoints: [0, 1], keyFrames: [0, 180], easing: inOutBounce }; ani.enqueue(wave);
Details