Medium
What will the following code generate?
const geometry = new THREE.SphereGeometry( 1, 32, 18 );
const material = new THREE.MeshBasicMaterial( { color: 'yellow' } );
const sphere = new THREE.Mesh( geometry );
scene.add(sphere);
Author: DamienStatus: PublishedQuestion passed 101 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Which class(es) do not exist in ThreeJS?2
Change the position of an object ***cube*** specifically on the x-axis in ThreeJS0
Which class is used to implement post-processing in three.js?1
Animate a mesh object horizontally from left to right in ThreeJS1
What is the main object used to display 3D scenes in three.js?0
Which are the true overlay libraries for Three.js for front-end frameworks?1
Import a 3D model in ThreeJS