Horje
three.js create sphere Code Example
three.js create sphere
const geometry = new THREE.SphereGeometry(5, 32, 32); // (radius, widthSegments, heightSegments)
const material = new THREE.MeshBasicMaterial( {color: 0xffff00} );
const sphere = new THREE.Mesh(geometry, material);
scene.add(sphere);
Source: threejs.org




Javascript

Related
javascript get text between two words Code Example javascript get text between two words Code Example
three.js sphere Code Example three.js sphere Code Example
javascript angle from two points Code Example javascript angle from two points Code Example
pick a random element from an array javascript Code Example pick a random element from an array javascript Code Example
jquery checkbox set checked Code Example jquery checkbox set checked Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8