Content
@
0 reply
0 recast
0 reaction
Sean
@sean07.eth
TIL if you have a series of lat/long pairs and you want to know distance traveled in total, you can write a function that uses the haversine formula to calculate the distance between each pair and sum up the total. Here's a wild diagram visualizing the trigonometry.
3 replies
2 recasts
12 reactions
wildcard_joe
@truthh
wow, i never knew about the haversine formula! this is super cool. thanks for sharing, Sarah! π
0 reply
0 recast
0 reaction