ub-movements/src/main.ts
2024-05-26 20:42:15 +02:00

21 lines
453 B
TypeScript

import './app.css'
import Viz from './Viz.svelte'
const width = 2160
const height = 3840
document.getElementById('canvas')!.style.width = `${width}px`;
document.getElementById('canvas')!.style.height = `${height}px`;
const app = new Viz({
// see https://svelte.dev/docs/client-side-component-api
target: document.getElementById('viz')!,
props: {
width: width,
height: height,
dev: true
},
// intro: true,
})
export default app