Galaxy Geometry for THREE js
var geometry = new THREE.GalaxyGeometry();
var material = new THREE.PointsMaterial();
var galaxy = new THREE.Points(geometry, material);
scene.add(galaxy);
- radius
- numberOfStars
- length
- width
Please note that this type of geometry only have vertices (haven't faces, and uvs), so you can only use it for THREE.Points!