Skip to content

Commit ad81c02

Browse files
authored
chore: update sparkles camera coordinates (#91)
* chore: adjust camera position and controls target in SparkleStory
1 parent 2a022dc commit ad81c02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.storybook/stories/Sparkles.stories.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ export const SparkleStory = async () => {
2727
gui = new GUI({ title: SparkleStory.storyName })
2828
renderer.shadowMap.enabled = true
2929
renderer.toneMapping = THREE.ACESFilmicToneMapping
30-
camera.position.set(12, 12, 12)
30+
camera.position.set(8, 5, 8)
3131

3232
const controls = new OrbitControls(camera, renderer.domElement)
33-
controls.target.set(0, 6, 0)
33+
controls.target.set(0, 2, 0)
3434
controls.update()
3535

3636
const floor = new THREE.Mesh(

0 commit comments

Comments
 (0)