Jump to content
GreenSock

Quart

[Deprecated as of GSAP 2.0.0; use Power3 instead which is IDENTICAL] 

Provides an easeIn, easeOut, and easeInOut with a power (or strength) of 3 which is identical to the Power3 ease. The more power, the more exaggerated the easing effect. Using a numeric approach like Power3 instead of Quart makes experimenting easier and the code reads more intuitively.

This is one of the eases that is natively accelerated in TweenLite and TweenMax. All of the "Power" eases and their counterparts (Linear (0), Quad (1), Cubic (2), Quart (3), Quint (4), and Strong (4)) are accelerated.

GreenSock Ease Visualizer

Hints

Add point: ALT-CLICK on line

Toggle smooth/corner: ALT-CLICK anchor

Get handle from corner anchor: ALT-DRAG

Toggle select: SHIFT-CLICK anchor

Delete anchor: press DELETE key

Undo: CTRL-Z


progress


value
1.00
Power0
Power1
Power2
Power3
Power4
Back
Elastic
Bounce
Rough
SlowMo
Stepped
Circ
Expo
Sine
Custom
Type:
// click and modify the underlined values
TweenLite.to( , , {
  
ease: . ,
  
y: -500
});
// *Requires CustomEase which can be downloaded at greensock.com/customease (not the CDN or github).

Example usage:

TweenLite.to(obj, 1, {x:100, ease:Quart.easeOut});

Properties

easeIn : Ease

[static] Eases in with a power of 3.

easeInOut : Ease

[static] Eases in and then out with a power of 3.

easeOut : Ease

[static] Eases out with a power of 3.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×