Skip to content

Constellations BSC5 Branch

Description

<>

The Constellations example demonstrates,

  • using the CSS2DRenderer to generate labels for the stars and constellations,
  • using the THREE.Points and THREE.BufferGeometry to create the stars mesh,
  • using the THREE.ShaderMaterial to render the stars in different colors and sizes,
  • using the THREE.Line and THREE.LineBasicMaterial to draw the constellation lines,
  • loading resources, such as the star and constellation data into the project by using the XMLHttpRequest object.

To load the Constellations example, checkout the bsc5 branch.

git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git

cd Three.js-TypeScript-Boilerplate

git checkout bsc5

npm install

npm run dev

Comments