diff --git a/web/src/lib/components/earth.svelte b/web/src/lib/components/earth.svelte deleted file mode 100644 index 10c52716..00000000 --- a/web/src/lib/components/earth.svelte +++ /dev/null @@ -1,714 +0,0 @@ - - - - - - {#await gltf} - - {:then gltf} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {:catch error} - - {/await} - - - diff --git a/web/src/lib/components/mountain.svelte b/web/src/lib/components/mountain.svelte new file mode 100644 index 00000000..6f48ae25 --- /dev/null +++ b/web/src/lib/components/mountain.svelte @@ -0,0 +1,810 @@ + + + + + + {#await gltf} + + {:then gltf} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {:catch error} + + {/await} + + + diff --git a/web/src/lib/components/scene.svelte b/web/src/lib/components/scene.svelte index 97b60753..7d79591d 100644 --- a/web/src/lib/components/scene.svelte +++ b/web/src/lib/components/scene.svelte @@ -4,11 +4,11 @@ import { onMount } from "svelte"; import { tweened } from "svelte/motion"; import * as THREE from "three"; - import Earth from "./earth.svelte"; + import Mountain from "./mountain.svelte"; let rotation = 0; useTask((delta) => { - rotation += delta / 4; + rotation += delta / 2; }); const { toneMapping } = useThrelte(); @@ -42,7 +42,7 @@ { ref.lookAt(0, 0, 0); }} @@ -52,7 +52,8 @@ {/if} - + +