import * as THREE from 'three'
import { OrbitControls } from 'three
/examples/jsm/controls/OrbitControls
.js'
const $app = document.getElementById
('app')
const scene = new THREE.Scene()
const camera = new THREE
.PerspectiveCamera(
window.innerWidth / window.innerHeight
,
camera.position.set(0, 0, 10)
const renderer = new THREE.WebGLRenderer
({
renderer.setSize(window.innerWidth,
window.innerHeight)
$app.appendChild(renderer.domElement)