Created
February 21, 2021 03:45
-
-
Save joehonton/66f900a3e4091c6c6547649b640d620b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var initialDistance = Math.hypot(initialRise, initialRun); | |
var latestDistance = Math.hypot(latestRise, latestRun); | |
var deltaDistance = Math.abs(latestDistance - initialDistance); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment