nderer ) ) {

			const canvas = renderer.domElement;
			camera.aspect = canvas.clientWidth / canvas.clientHeight;
			camera.updateProjectionMatrix();
			composer.setSize( canvas.width, canvas.height );

		}

		cubes.forEach( ( cube, ndx ) => {

			const speed = 1 + ndx * .1;
			const rot = now * speed;
			cube.rotation.x = rot;
			cube.rotation.y = rot;

		} );

		composer.render( deltaTime );

		requestAnimationFrame( render );

	}

	requestAnimationFrame( render );

}

main();
</script>
</html>
