 );

				//gui

				const gui = new GUI();

				gui.add( centerObject.material, 'roughness', 0, 1, 0.01 );
				gui.add( centerObject.material, 'metalness', 0, 1, 0.01 );

			}

			function onWindowResize() {

				camera.aspect = window.innerWidth / window.innerHeight;
				camera.updateProjectionMatrix();

				renderer.setSize( window.innerWidth, window.innerHeight );

			}

			function animate() {

				const time = performance.now() / 1000;
				const lightTime = time * 0.5;

				light1.position.x = Math.sin