Project: threejs
Task (easy): Edit index.js 1: Generate a basic Scene named scene and assign to window.scene. 2: Generate a basic PerspectiveCamera named camera and assign to window.camera. Do not add any other code. 2: Generate a basic WebGLRenderer and assign to window.renderer with full window size, named renderer, and append render dom into #root. 3: Auto render the scene and camera with requestAnimationFrame.