Сама сфера:let scene = new THREE.Scene();
let camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 50);
let renderer = new THREE.WebGLRenderer();
renderer.setSize(window.innerWidth, window.innerHeight);
document.body.appendChild(renderer.domElement);
let geometry = new THREE.SphereBufferGeometry( 10, 32, 32, 0, 6.3, 6, 6.3 );
let material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
let sphere = new THREE.Mesh( geometry, material );
scene.add( sphere );
camera.position.z = 30;
console.log(geometry)
function animate() {
requestAnimationFrame(animate);
renderer.render(scene, camera);
sphere.rotation.x += 0.01;
sphere.rotation.y += 0.01;
}
animate();