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 95 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Animate a mesh object horizontally from left to right in ThreeJS1
Import a 3D model in ThreeJS1
Which class(es) do not exist in ThreeJS?2
Change the position of an object ***cube*** specifically on the x-axis 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?0
Which class is used to implement post-processing in three.js?