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