💥 Update interactive Globe with latest features

It was long and painful but it's finally looking neat!

- place markers on globe following camera world matrix
- show location on marker hover instead of showing label near dot
- make marker easier to select
- make rotation constant no matter the monitor refresh rate by using a delta timed animation
- [wip] lighting the globe with a dark area / todo: how to get current sun lighting from a location?

Merci Julien :)
This commit is contained in:
2022-09-24 23:42:00 +02:00
parent b764b4d1d1
commit 71625dbce0
13 changed files with 394 additions and 422 deletions

View File

@@ -22,6 +22,7 @@
"motion": "^10.14.2",
"ogl": "^0.0.99",
"sanitize.css": "^13.0.0",
"suncalc": "^1.9.0",
"swell-js": "^3.17.6",
"tweakpane": "^3.1.0"
},
@@ -29,13 +30,13 @@
"@sveltejs/adapter-auto": "^1.0.0-next.80",
"@sveltejs/adapter-node": "^1.0.0-next.95",
"@sveltejs/adapter-vercel": "^1.0.0-next.77",
"@sveltejs/kit": "^1.0.0-next.499",
"@sveltejs/kit": "^1.0.0-next.503",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"base-64": "^1.0.0",
"browserslist": "^4.21.4",
"cssnano": "^5.1.13",
"eslint": "^8.23.1",
"eslint": "^8.24.0",
"eslint-plugin-svelte3": "^4.0.0",
"postcss": "^8.4.16",
"postcss-focus-visible": "^7.1.0",