Skip to content

Commit

Permalink
new website changes (#1085)
Browse files Browse the repository at this point in the history
* add images!

* fix components positioning issue
  • Loading branch information
LimesKey committed Sep 9, 2024
1 parent fc3d831 commit 1f8d298
Show file tree
Hide file tree
Showing 35 changed files with 364 additions and 200 deletions.
3 changes: 2 additions & 1 deletion showcase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@threlte/core": "^7.3.1",
"@threlte/extras": "^8.11.5",
"@threlte/flex": "^1.0.3",
"three": "^0.168.0"
"three": "^0.167.0",
"vite-multiple-assets": "^1.3.1"
}
}
114 changes: 71 additions & 43 deletions showcase/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions showcase/src/lib/components/Scene.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,23 @@
</script>

<T.AmbientLight intensity={1} />
<T.AmbientLight intensity={2} />

<T.OrthographicCamera
zoom={20}
zoom={50}
makeDefault
position={[0, 0, 100]}
<!-- on:create={({ ref }) => {
ref.lookAt(0, 1, 0);
}}> -->

<OrbitControls
autoRotate
enableDamping
enablePan={false}
enableZoom={false}
/>

</T.OrthographicCamera>

<Model scale={100} position.x={-15} position.y={8} position.z={0} />
<Model scale={100} position.x={-15} position.y={8} position.z={0} />
Loading

0 comments on commit 1f8d298

Please sign in to comment.