Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/postcss-spring-easing. PostCSS plugin to add that bounce and boogie that only springs can bring
easings linear postcss postcss-plugin spring spring-easing
Something went wrong. Try again.
33 kB · 194 lines
HTML
at commit 23712df9
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194<!doctype html><html class="default" lang="en"><head><meta charset="utf-8"><link rel="preconnect" href="https://fonts.googleapis.com/"><link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin=""><link href="https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;700&display=swap" rel="stylesheet"><meta name="keyword" content="spring easing, spring animation, custom easing, framework agnostic, gsap, animejs"><meta name="color-scheme" content="dark light"><link rel="shortcut icon" href="/media/favicon.ico"><link rel="icon" type="image/svg+xml" href="/media/assets/favicon.svg"><meta name="web-author" content="Okiki Ojo"><meta name="robots" content="index, follow"><meta name="twitter:url" content="https://spring-easing.okikio.dev/"><meta name="twitter:site" content="@okikio_dev"><meta name="twitter:creator" content="@okikio_dev"><link href="https://twitter.com/okikio_dev" rel="me"><link rel="webmention" href="https://webmention.io/spring-easing.okikio.dev/webmention"><link rel="pingback" href="https://webmention.io/spring-easing.okikio.dev/xmlrpc"><link rel="pingback" href="https://webmention.io/webmention?forward=https://spring-easing.okikio.dev/endpoint"><script async defer type="module" data-host-url="https://bundlejs.com" data-domains="spring-easing.okikio.dev,okikio.dev" data-website-id="4921ec19-210c-45b0-b5b8-cb9aaae292e9" src="/media/measure.js"></script><meta http-equiv="x-ua-compatible" content="IE=edge"><title>BatchSpringEasing | spring-easing - v2.3.0</title><meta name="description" content="Documentation for spring-easing"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="../assets/style.css"><link rel="stylesheet" href="../assets/highlight.css"><link rel="stylesheet" href="../assets/custom.css"><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">spring-easing - v2.3.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">spring-easing</a></li><li><a href="BatchSpringEasing.html">BatchSpringEasing</a></li></ul><h1 id="function-batchspringeasing">Function BatchSpringEasing</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link" id="BatchSpringEasing"><span class="tsd-kind-call-signature">Batch<wbr>Spring<wbr>Easing</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TReturn</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">values</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">customInterpolate</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">TReturn</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span><a href="#BatchSpringEasing" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Generates an Array of values using frame functions which in turn create the effect of spring easing.To use this properly make sure to set the easing animation option to "linear".Check out a demo of SpringEasing at <a href="https://codepen.io/okikio/pen/MWEdzNg" target="_blank" rel="noopener">https://codepen.io/okikio/pen/MWEdzNg<span><span class="external-icon"><svg preserveAspectRatio="xMidYMid meet" width="1.2em" height="1.2em" viewBox="0 0 24 24"><path d="M10.75 3a.75.75 0 0 0 0 1.5h7.67L3.22 19.7a.764.764 0 1 0 1.081 1.081l15.2-15.2v7.669a.75.75 0 0 0 1.5 0v-9.5a.75.75 0 0 0-.75-.75h-9.5Z"></path></svg></span></span></a></p><p>SpringEasing has 3 properties they are <code>easing</code> (all the easings from <a href="../variables/EasingFunctions.html" class="tsd-kind-variable">EasingFunctions</a> are supported on top of frame functions like SpringFrame, SpringFrameOut, etc..), <code>numPoints</code> (the size of the Array the frame function should create), and <code>decimal</code> (the number of decimal places of the values within said Array).</p><table><thead><tr><th>Properties</th><th>Default Value</th></tr></thead><tbody><tr><td><code>easing</code></td><td><code>spring(1, 100, 10, 0)</code></td></tr><tr><td><code>numPoints</code></td><td><code>50</code></td></tr><tr><td><code>decimal</code></td><td><code>3</code></td></tr></tbody></table><p>By default, Spring Easing support easings in the form,</p><table><thead><tr><th align="left">constant</th><th align="left">accelerate</th><th align="left">decelerate</th><th align="left">accelerate-decelerate</th><th align="left">decelerate-accelerate</th></tr></thead><tbody><tr><td align="left"></td><td align="left">spring / spring-in</td><td align="left">spring-out</td><td align="left">spring-in-out</td><td align="left">spring-out-in</td></tr></tbody></table><p>All <strong>Spring</strong> easing's can be configured using theses parameters,</p><p><code>spring-*(mass, stiffness, damping, velocity)</code></p><p>Each parameter comes with these defaults</p><table><thead><tr><th>Parameter</th><th>Default Value</th></tr></thead><tbody><tr><td>mass</td><td><code>1</code></td></tr><tr><td>stiffness</td><td><code>100</code></td></tr><tr><td>damping</td><td><code>10</code></td></tr><tr><td>velocity</td><td><code>0</code></td></tr></tbody></table><p> e.g.</p><pre><code class="language-ts"><span class="hl-3">import</span><span class="hl-1"> { SpringEasing, SpringOutFrame } </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">"spring-easing"</span><span class="hl-1">;</span><br><span class="hl-3">import</span><span class="hl-1"> anime </span><span class="hl-3">from</span><span class="hl-1"> </span><span class="hl-2">"animejs"</span><span class="hl-1">;</span><br><br><span class="hl-4">// Note: this is the return value of {@link SpringEasing} and {@link GenerateSpringFrames}, you don't need the object to get this format</span><br><span class="hl-3">let</span><span class="hl-1"> [translateX, duration] </span><span class="hl-3">=</span><span class="hl-1"> </span><span class="hl-0">SpringEasing</span><span class="hl-1">([</span><span class="hl-6">0</span><span class="hl-1">, </span><span class="hl-6">250</span><span class="hl-1">], {</span><br><span class="hl-1"> easing: </span><span class="hl-2">"spring-out-in(1, 100, 10, 0)"</span><span class="hl-1">,</span><br><br><span class="hl-1"> </span><span class="hl-4">// You can change the size of Array for the SpringEasing function to generate</span><br><span class="hl-1"> numPoints: </span><span class="hl-6">200</span><span class="hl-1">,</span><br><br><span class="hl-1"> </span><span class="hl-4">// The number of decimal places to round, final values in the generated Array</span><br><span class="hl-1"> </span><span class="hl-4">// This option doesn't exist on {@link GenerateSpringFrames}</span><br><span class="hl-1"> decimal: </span><span class="hl-6">5</span><span class="hl-1">,</span><br><span class="hl-1">});</span><br><br><span class="hl-0">anime</span><span class="hl-1">({</span><br><span class="hl-1"> targets: </span><span class="hl-2">"div"</span><span class="hl-1">,</span><br><br><span class="hl-1"> </span><span class="hl-4">// Using spring easing animate from [0 to 250] using `spring-out-in`</span><br><span class="hl-1"> translateX,</span><br><br><span class="hl-1"> </span><span class="hl-4">// You can set the easing without an object</span><br><span class="hl-1"> rotate: </span><span class="hl-0">SpringEasing</span><span class="hl-1">([</span><span class="hl-2">"0turn"</span><span class="hl-1">, </span><span class="hl-6">1</span><span class="hl-1">, </span><span class="hl-6">0</span><span class="hl-1">, </span><span class="hl-6">0.5</span><span class="hl-1">], [SpringOutFrame, </span><span class="hl-6">1</span><span class="hl-1">, </span><span class="hl-6">100</span><span class="hl-1">, </span><span class="hl-6">10</span><span class="hl-1">, </span><span class="hl-6">0</span><span class="hl-1">])[</span><span class="hl-6">0</span><span class="hl-1">],</span><br><br><span class="hl-1"> </span><span class="hl-4">// TIP... Use linear easing for the proper effect</span><br><span class="hl-1"> easing: </span><span class="hl-2">"linear"</span><span class="hl-1">,</span><br><br><span class="hl-1"> </span><span class="hl-4">// The optimal duration for this specific spring</span><br><span class="hl-1"> duration</span><br><span class="hl-1">})</span></code><button>Copy</button></pre></div><section class="tsd-panel"><h4 id="type-parameters">Type Parameters</h4><ul class="tsd-type-parameter-list"><li><h4 id="t-extends-unknown--number"><span class="tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">[]</span> = <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4></li><li><h4 id="treturn-extends-unknown--t"><span class="tsd-kind-type-parameter">TReturn</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">[]</span> = <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h4></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title" id="parameters">Parameters</h4><ul class="tsd-parameter-list"><li><h5 id="values-t"><span class="tsd-kind-parameter">values</span>: <span class="tsd-signature-type tsd-kind-type-parameter">T</span></h5><div class="tsd-comment tsd-typography"><p>Values to animate between, e.g. <code>["50px", 60]</code></p><blockquote><p><em><strong>Note</strong>: You can interpolate with more than 2 values, but it's very confusing, so, it's best to choose 2</em></p></blockquote></div></li><li><h5 id="options-typeeasingoptions--typeeasings--"><span class="tsd-kind-parameter">options</span>: <a href="../types/TypeEasingOptions.html" class="tsd-signature-type tsd-kind-type-alias">TypeEasingOptions</a><span class="tsd-signature-symbol"> | </span><a href="../types/TypeEasings.html" class="tsd-signature-type tsd-kind-type-alias">TypeEasings</a><span class="tsd-signature-symbol"> = {}</span></h5><div class="tsd-comment tsd-typography"><p>Accepts <a href="../types/TypeEasingOptions.html" class="tsd-kind-type-alias">EasingOptions</a> or <a href="../types/TypeEasingOptions.html#__type.easing" class="tsd-kind-property">array frame functions</a></p></div></li><li><h5 id="custominterpolate-igenericbatchinterpolationfunctiont-treturn--"><span class="tsd-kind-parameter">customInterpolate</span>: <a href="../interfaces/IGenericBatchInterpolationFunction.html" class="tsd-signature-type tsd-kind-interface">IGenericBatchInterpolationFunction</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type tsd-kind-type-parameter">TReturn</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></h5></li></ul></div><h4 class="tsd-returns-title" id="returns-readonly-treturn-number">Returns <span class="tsd-signature-symbol">readonly </span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">TReturn</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">]</span></h4><pre><code class="language-ts"><span class="hl-4">// An array of keyframes that represent said spring animation and</span><br><span class="hl-4">// Total duration (in milliseconds) required to create a smooth spring animation</span><br><span class="hl-1">[</span><br><span class="hl-1"> [</span><span class="hl-6">50</span><span class="hl-1">, </span><span class="hl-6">55</span><span class="hl-1">, </span><span class="hl-6">60</span><span class="hl-1">, </span><span class="hl-6">70</span><span class="hl-1">, </span><span class="hl-6">80</span><span class="hl-1">, </span><span class="hl-3">...</span><span class="hl-1">], </span><br><span class="hl-1"> </span><span class="hl-6">3500</span><span class="hl-1"> </span><br><span class="hl-1">]</span></code><button>Copy</button></pre><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/okikio/spring-easing/blob/9e5fa22/src/batch.ts#L247" target="_blank" rel="noopener">batch.ts:247<span><span class="external-icon"><svg preserveAspectRatio="xMidYMid meet" width="1.2em" height="1.2em" viewBox="0 0 24 24"><path d="M10.75 3a.75.75 0 0 0 0 1.5h7.67L3.22 19.7a.764.764 0 1 0 1.081 1.081l15.2-15.2v7.669a.75.75 0 0 0 1.5 0v-9.5a.75.75 0 0 0-.75-.75h-9.5Z"></path></svg></span></span></a></li></ul></aside></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-accordion"><summary class="tsd-accordion-summary"><h3 id="settings"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><h4 class="uppercase" id="member-visibility">Member Visibility</h4><form><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-private" name="private"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Private</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div><div class="tsd-theme-toggle"><h4 class="uppercase" id="theme">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4-path"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)" id="icon-4-text"></path></svg><span>spring-<wbr>easing -<wbr> v2.3.0</span></a><ul class="tsd-small-nested-navigation"><li><a href="../modules.html#default"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-8388608-path"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)" id="icon-8388608-text"></path></svg><span>default</span></a></li><li><a href="../interfaces/IGenericBatchInterpolationFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>IGeneric<wbr>Batch<wbr>Interpolation<wbr>Function</span></a></li><li><a href="../types/TypeArrayFrameFunctionFormat.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-4194304-path"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)" id="icon-4194304-text"></path></svg><span>Type<wbr>Array<wbr>Frame<wbr>Function<wbr>Format</span></a></li><li><a href="../types/TypeCSSEasingOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>TypeCSSEasing<wbr>Options</span></a></li><li><a href="../types/TypeEasingOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Type<wbr>Easing<wbr>Options</span></a></li><li><a href="../types/TypeEasings.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Type<wbr>Easings</span></a></li><li><a href="../types/TypeFrameFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Type<wbr>Frame<wbr>Function</span></a></li><li><a href="../types/TypeInterpolationFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg><span>Type<wbr>Interpolation<wbr>Function</span></a></li><li><a href="../variables/EasingDurationCache.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg><span>Easing<wbr>Duration<wbr>Cache</span></a></li><li><a href="../variables/EasingFunctionKeys.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg><span>Easing<wbr>Function<wbr>Keys</span></a></li><li><a href="../variables/EasingFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg><span>Easing<wbr>Functions</span></a></li><li><a href="../variables/FramePtsCache.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg><span>Frame<wbr>Pts<wbr>Cache</span></a></li><li><a href="../variables/INFINITE_LOOP_LIMIT.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg><span>INFINITE_<wbr>LOOP_<wbr>LIMIT</span></a></li><li><a href="BatchSpringEasing.html" class="current"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg><span>Batch<wbr>Spring<wbr>Easing</span></a></li><li><a href="CSSSpringEasing.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>CSSSpring<wbr>Easing</span></a></li><li><a href="EaseInOut.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Ease<wbr>In<wbr>Out</span></a></li><li><a href="EaseOut.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Ease<wbr>Out</span></a></li><li><a href="EaseOutIn.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Ease<wbr>Out<wbr>In</span></a></li><li><a href="EasingOptions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Easing<wbr>Options</span></a></li><li><a href="GenerateSpringFrames.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Generate<wbr>Spring<wbr>Frames</span></a></li><li><a href="SpringEasing.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Spring<wbr>Easing</span></a></li><li><a href="SpringFrame.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Spring<wbr>Frame</span></a></li><li><a href="SpringInFrame.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Spring<wbr>In<wbr>Frame</span></a></li><li><a href="SpringInOutFrame.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Spring<wbr>In<wbr>Out<wbr>Frame</span></a></li><li><a href="SpringOutFrame.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Spring<wbr>Out<wbr>Frame</span></a></li><li><a href="SpringOutInFrame.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>Spring<wbr>Out<wbr>In<wbr>Frame</span></a></li><li><a href="batchInterpolateComplex.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>batch<wbr>Interpolate<wbr>Complex</span></a></li><li><a href="batchInterpolateNumber.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>batch<wbr>Interpolate<wbr>Number</span></a></li><li><a href="batchInterpolateSequence.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>batch<wbr>Interpolate<wbr>Sequence</span></a></li><li><a href="batchInterpolateString.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>batch<wbr>Interpolate<wbr>String</span></a></li><li><a href="batchInterpolateUsingIndex.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>batch<wbr>Interpolate<wbr>Using<wbr>Index</span></a></li><li><a href="getLinearSyntax.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr>Linear<wbr>Syntax</span></a></li><li><a href="getOptimizedPoints.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr>Optimized<wbr>Points</span></a></li><li><a href="getSpringDuration.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr>Spring<wbr>Duration</span></a></li><li><a href="getUnit.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>get<wbr>Unit</span></a></li><li><a href="interpolateComplex.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>interpolate<wbr>Complex</span></a></li><li><a href="interpolateNumber.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>interpolate<wbr>Number</span></a></li><li><a href="interpolateSequence.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>interpolate<wbr>Sequence</span></a></li><li><a href="interpolateString.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>interpolate<wbr>String</span></a></li><li><a href="interpolateUsingIndex.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>interpolate<wbr>Using<wbr>Index</span></a></li><li><a href="isNumberLike.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>is<wbr>Number<wbr>Like</span></a></li><li><a href="limit.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>limit</span></a></li><li><a href="parseEasingParameters.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>parse<wbr>Easing<wbr>Parameters</span></a></li><li><a href="ramerDouglasPeucker.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>ramer<wbr>Douglas<wbr>Peucker</span></a></li><li><a href="registerEasingFunction.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>register<wbr>Easing<wbr>Function</span></a></li><li><a href="registerEasingFunctions.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>register<wbr>Easing<wbr>Functions</span></a></li><li><a href="scale.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>scale</span></a></li><li><a href="squaredSegmentDistance.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>squared<wbr>Segment<wbr>Distance</span></a></li><li><a href="toAnimationFrames.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>to<wbr>Animation<wbr>Frames</span></a></li><li><a href="toFixed.html"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg><span>to<wbr>Fixed</span></a></li></ul></nav></div></div></div><div class="tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank" rel="noopener">TypeDoc<span><span class="external-icon"><svg preserveAspectRatio="xMidYMid meet" width="1.2em" height="1.2em" viewBox="0 0 24 24"><path d="M10.75 3a.75.75 0 0 0 0 1.5h7.67L3.22 19.7a.764.764 0 1 0 1.081 1.081l15.2-15.2v7.669a.75.75 0 0 0 1.5 0v-9.5a.75.75 0 0 0-.75-.75h-9.5Z"></path></svg></span></span></a></p></div><div class="overlay"></div></body></html>