Using Sphere Geometry to create different shapes
Sphere Geometry
Some understanding about the Spherical Coordinate System will be helpful.๐
https://en.wikipedia.org/wiki/Spherical_coordinate_system
Replace the previous Torus Geometry with this:
const geometry = new THREE.SphereGeometry(10, 25, 2...
vjk03.hashnode.dev2 min read