material-motion-archive / starmap

Issue tracker for the starmap
https://material-motion.github.io/material-motion/
4 stars 0 forks source link

Spring configuration based on desired duration #116

Open jverkoey opened 7 years ago

jverkoey commented 7 years ago

From https://github.com/material-motion/material-motion-js/issues/21:

Would be cool to calculate the longest distance in a transition and use that to dynamically set spring stiffness such that the whole thing completes in a reasonable amount of time.