Skip to content

andraswebcode/GalaxyGeometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

GalaxyGeometry

Galaxy Geometry for THREE js

Usage

var geometry = new THREE.GalaxyGeometry();
var material = new THREE.PointsMaterial();
var galaxy = new THREE.Points(geometry, material);
scene.add(galaxy);

Parameters

  • radius
  • numberOfStars
  • length
  • width

Note

Please note that this type of geometry only have vertices (haven't faces, and uvs), so you can only use it for THREE.Points!

About

Galaxy Geometry for THREE js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published