add theatre plugin, add route for theatre editor, build simple animation with a spotlight that follows animating object
This commit is contained in:
23
src/routes/editor/+page.svelte
Normal file
23
src/routes/editor/+page.svelte
Normal file
@@ -0,0 +1,23 @@
|
||||
<script lang="ts">
|
||||
import Editor from '$lib/components/scenes/editor/Editor.svelte';
|
||||
</script>
|
||||
|
||||
<div>
|
||||
<Editor />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
:global(body) {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: rgb(0, 36, 6);
|
||||
background: linear-gradient(180deg, rgba(0, 36, 6, 1) 0%, rgba(0, 0, 0, 1) 100%);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user