Skip to content

Instantly share code, notes, and snippets.

@jimkang
Created November 13, 2019 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimkang/c1ae26f468a945d5e60df47e9f609cfe to your computer and use it in GitHub Desktop.
Save jimkang/c1ae26f468a945d5e60df47e9f609cfe to your computer and use it in GitHub Desktop.
Get static cubic easing values. I just ran these in the Node REPL to get the numbers.
var { easeCubic } = require('d3-ease')
var { range } = require('d3-array')
range(0, 1, 0.05).map(easeCubic).map(n => n.toFixed(2)).join(';')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment