Skip to content

Instantly share code, notes, and snippets.

@middisp
Created October 2, 2018 10:51
Show Gist options
  • Select an option

  • Save middisp/31482a7295ae0a613643ee16725bd6ca to your computer and use it in GitHub Desktop.

Select an option

Save middisp/31482a7295ae0a613643ee16725bd6ca to your computer and use it in GitHub Desktop.

Revisions

  1. middisp created this gist Oct 2, 2018.
    3 changes: 3 additions & 0 deletions ease.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    ease(value, power = 3) {
    return 1 - Math.pow(1 - value, power);
    }