This is a small project I made over the weekend to get my head around some WebGL concepts. Much of the code used was adapted from https://threejs.org/. The stars are created using line segments and will appear randomly every time the game is loaded. Left click the screen to move the camera and use the scroll wheel to zoom in/ out.

Code adapted and inspired by:

https://threejs.org/docs/index.html#manual/en/introduction/Creating-a-scene

https://threejs.org/examples/#webgl_instancing_performance

https://threejs.org/examples/#webgl_camera_cinematic

Star design was inspired by the following video:

https;//www.youtube.com/embed/ihGiJLYrNWw

Leave a comment

Log in with itch.io to leave a comment.