const geometry = new THREE.SphereGeometry( 1, 1, 1, 1, 1, 1, 1);
const material = new THREE.MeshBasicMaterial( {color: "#2E46FE"} );

const cube = new THREE.Mesh( geometry, material );

scene.add( cube );

Patreon
Copy Code