Add hover effect on Location

This commit is contained in:
2021-09-30 23:30:13 +02:00
parent 624f02d84d
commit 7777d26907
6 changed files with 313 additions and 126 deletions

6
src/utils/functions.ts Normal file
View File

@@ -0,0 +1,6 @@
/**
* Linear Interpolation
*/
export const lerp = (start: number, end: number, amt: number): number => {
return (1 - amt) * start + amt * end
}