ub-movements/src/main.ts

21 lines
438 B
TypeScript
Raw Normal View History

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
},
// intro: true,
})
export default app