Easing functions.
List of all are in easings-list
.
Easing functions. List of all are in [[easings-list]].
(back-in t)
(back-in s t)
BackIn easing.
Parameter s
(default: 1.70158) defines overshoot.
BackIn easing. Parameter `s` (default: 1.70158) defines overshoot.
(back-in-out t)
(back-in-out s t)
BackInOut easing.
Parameter s
(default: 1.70158) defines overshoot.
BackInOut easing. Parameter `s` (default: 1.70158) defines overshoot.
(back-out t)
(back-out s t)
BackOut easing.
Parameter s
(default: 1.70158) defines overshoot.
BackOut easing. Parameter `s` (default: 1.70158) defines overshoot.
Map of easing names (as keywords) and functions.
Map of easing names (as keywords) and functions.
(elastic-in t)
(elastic-in amplitude period)
ElasticIn.
When called with t
parameter, returns easing value (for amplitude=1.0
and period=0.3
).
When called with amplitude
and period
returns custom easing function.
ElasticIn. When called with `t` parameter, returns easing value (for `amplitude=1.0` and `period=0.3`). When called with `amplitude` and `period` returns custom easing function.
(elastic-in-out t)
(elastic-in-out amplitude period)
ElasticInOut.
When called with t
parameter, returns easing value (for amplitude=1.0
and period=0.3
).
When called with amplitude
and period
returns custom easing function.
ElasticInOut. When called with `t` parameter, returns easing value (for `amplitude=1.0` and `period=0.3`). When called with `amplitude` and `period` returns custom easing function.
(elastic-out t)
(elastic-out amplitude period)
ElasticOut.
When called with t
parameter, returns easing value (for amplitude=1.0
and period=0.3
).
When called with amplitude
and period
returns custom easing function.
ElasticOut. When called with `t` parameter, returns easing value (for `amplitude=1.0` and `period=0.3`). When called with `amplitude` and `period` returns custom easing function.
(in-out easeing)
Create in-out easing for given easing
function.
Create in-out easing for given `easing` function.
(out easeing)
Create out easing for given easing
function.
Create out easing for given `easing` function.
(poly-in t)
(poly-in e t)
PolyIn easing.
Optional exponent e
defaults to 3.0.
PolyIn easing. Optional exponent `e` defaults to 3.0.
(poly-in-out t)
(poly-in-out e t)
PolyInOut easing.
Optional exponent e
defaults to 3.0.
PolyInOut easing. Optional exponent `e` defaults to 3.0.
(poly-out t)
(poly-out e t)
PolyOut easing.
Optional exponent e
defaults to 3.0.
PolyOut easing. Optional exponent `e` defaults to 3.0.
(reflect easing center)
Create in-out easing for given easing
function and center
.
Create in-out easing for given `easing` function and `center`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close