[upd] | Poliedro
// Camera: perspective const camera = new THREE.PerspectiveCamera(45, window.innerWidth / window.innerHeight, 0.1, 1000); camera.position.set(3, 2, 5); camera.lookAt(0, 0, 0);
<!-- Import Three.js core and add-ons --> <script type="importmap"> "imports": "three": "https://unpkg.com/three@0.128.0/build/three.module.js", "three/addons/": "https://unpkg.com/three@0.128.0/examples/jsm/" </script> poliedro
// --- setup scene, cameras, renderers --- const scene = new THREE.Scene(); scene.background = new THREE.Color(0x050b1a); scene.fog = new THREE.FogExp2(0x050b1a, 0.008); // subtle depth // Camera: perspective const camera = new THREE