feat: initial design of parameter ui

This commit is contained in:
2024-03-06 18:31:06 +01:00
parent 154c9a8383
commit 71ebbfc348
21 changed files with 1667 additions and 337 deletions

View File

@ -1,8 +1,14 @@
<script lang="ts">
import App from "$lib/components/App.svelte";
import { invoke } from "@tauri-apps/api/core";
import { onMount } from "svelte";
import { Canvas } from "@threlte/core";
import Scene from "$lib/components/Scene.svelte";
import { GraphManager } from "$lib/graph-manager";
const graph = GraphManager.createEmptyGraph();
graph.load();
onMount(async () => {
try {
const res = await invoke("greet", { name: "Dude" });
@ -21,7 +27,9 @@
</script>
<div>
<App />
<Canvas shadows={false}>
<Scene {graph} />
</Canvas>
</div>
<style>