ub-movements/src/main.ts

14 lines
307 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({
target: document.getElementById('viz')!,
})
export default app