Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 630 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 630 Bytes

SpaceFlying

Space Flight

Experience space travelling right from your computer

This is an experimental project to explore webGL technology using ThreeJS library

Challenges Faced

  • Using a library without a bundler & CDN
  • Structuring JS code to run in <script> tag

Solutions To Challenges

  • Download min.js file to use the library
  • Write code in terms of fuctions rather than class

Learnings

  • Creating scene, camera & rendering it onto a canvas
  • Using textureLoader, Geometry, Points & PointsMaterial to create stars
  • Transforming goemetries