<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nobody</title>
    <description>The latest articles on DEV Community by Nobody (@nobody_4fb7fd10637d3b88a3).</description>
    <link>https://dev.to/nobody_4fb7fd10637d3b88a3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4138425%2F86a431f2-601e-43f3-b07b-2d71ced470e3.png</url>
      <title>DEV Community: Nobody</title>
      <link>https://dev.to/nobody_4fb7fd10637d3b88a3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nobody_4fb7fd10637d3b88a3"/>
    <language>en</language>
    <item>
      <title>Why easing makes animation feel alive</title>
      <dc:creator>Nobody</dc:creator>
      <pubDate>Thu, 24 Sep 2026 04:27:25 +0000</pubDate>
      <link>https://dev.to/nobody_4fb7fd10637d3b88a3/why-easing-makes-animation-feel-alive-4g3f</link>
      <guid>https://dev.to/nobody_4fb7fd10637d3b88a3/why-easing-makes-animation-feel-alive-4g3f</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://getnobody.org/blog/easing-makes-animation-feel-alive/" rel="noopener noreferrer"&gt;getnobody.org&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Move a box from left to right at a constant speed and it looks mechanical, like a machine part. Let it start quickly and settle gently into place and it suddenly feels like an object with weight. The only thing that changed is the &lt;strong&gt;easing curve&lt;/strong&gt;: how progress is spread out over time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Progress versus time
&lt;/h2&gt;

&lt;p&gt;Every animation has a &lt;strong&gt;progress&lt;/strong&gt; value that goes from 0 (start) to 1 (end). Easing is a function that takes linear time and returns how far along the motion should be.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Chart: see the &lt;a href="https://getnobody.org/blog/easing-makes-animation-feel-alive/" rel="noopener noreferrer"&gt;original post&lt;/a&gt;.)&lt;/em&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Curve&lt;/th&gt;
&lt;th&gt;Formula (p = time from 0 to 1)&lt;/th&gt;
&lt;th&gt;Feels like&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Linear&lt;/td&gt;
&lt;td&gt;&lt;code&gt;p&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A machine. Constant speed, abrupt start and stop&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ease in&lt;/td&gt;
&lt;td&gt;&lt;code&gt;p³&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Something gathering speed, like falling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ease out&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1 - (1 - p)³&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Something arriving and settling&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ease in-out&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;4p³&lt;/code&gt; for the first half, then &lt;code&gt;1 - (-2p + 2)³ / 2&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;A deliberate move from A to B&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Which one to use
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Things entering the screen: ease out.&lt;/strong&gt; They arrive fast and settle. This is the most useful curve by far, because the viewer's eye catches the movement early and the element is readable sooner.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Things leaving the screen: ease in.&lt;/strong&gt; They start slowly and accelerate away, so they don't distract at the end.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Things moving from one place to another on screen: ease in-out.&lt;/strong&gt; Both ends are gentle, so the move reads as intentional.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linear: almost never for movement.&lt;/strong&gt; It works for things that should feel mechanical or continuous: a progress bar filling, a clock hand, a line being drawn at a steady pace.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Timing matters as much as the curve
&lt;/h2&gt;

&lt;p&gt;The same curve feels different depending on how long it lasts and how elements are staggered:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Chart: see the &lt;a href="https://getnobody.org/blog/easing-makes-animation-feel-alive/" rel="noopener noreferrer"&gt;original post&lt;/a&gt;.)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A few rules of thumb from building animated explainers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stagger entrances by 150 to 400 ms&lt;/strong&gt;, in reading order. Everything appearing at once reads as a flash; one thing at a time reads as a story.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep small entrances short&lt;/strong&gt;, around 300 to 600 ms. Longer feels sluggish.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time motion to speech.&lt;/strong&gt; In a narrated video, an element should appear just as the narrator mentions it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Combine properties.&lt;/strong&gt; A fade plus a small 20 to 40 pixel rise looks far more polished than a fade alone.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  In code
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;EASING&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;linear&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="na"&gt;p&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;easeIn&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="na"&gt;p&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;easeOut&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="na"&gt;p&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;easeInOut&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="na"&gt;p&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;number&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mf"&gt;0.5&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;p&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;**&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;),&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="c1"&gt;// Where an element is at time t, for a move from `from` to `to`:&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;value&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="nx"&gt;EASING&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;easeOut&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;progress&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are cubic curves. CSS offers similar built-in curves (&lt;code&gt;ease-in&lt;/code&gt;, &lt;code&gt;ease-out&lt;/code&gt;, &lt;code&gt;ease-in-out&lt;/code&gt;) defined with &lt;code&gt;cubic-bezier()&lt;/code&gt;, whose exact shapes differ slightly but follow the same idea.&lt;/p&gt;

&lt;p&gt;Earlier in this series: &lt;a href="https://dev.to/blog/how-a-video-editor-works/"&gt;how a video editor works&lt;/a&gt; and &lt;a href="https://dev.to/blog/render-mp4-in-the-browser/"&gt;rendering MP4 video in the browser&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Nobody&lt;/em&gt;&lt;/p&gt;

</description>
      <category>animation</category>
      <category>design</category>
      <category>explainer</category>
    </item>
  </channel>
</rss>
