I am "The Imp". I like creating things. Some of the things I make end up here. Take a look - some of it is licenced as public domain!

This website does not use cookies, because they were all eaten up by the bear.

Starfield

18/03/2017

Three.js is a javascript library designed to assist developers in programming 3D web graphics. This mini app is one of my first experiments with using this library. I wanted to see if I could create the classic "travelling through space" effect. The main challenges here were devising an algorithm to place stars randomly, and have new stars created before they come into view, and destroyed after they have passed behind the camera, to preserve system resources. WebGL, the technology that Three.js is an abstraction for, is quite system-intensive.

Comments (0)

Replying to: Noname

Error

Utilising this page as a billboard for marketing purposes is not allowed. Any messages posted by users that appear to be commercial in nature will be deleted, and any user found breaching this term will have their IP address reported to ICANN. This may result in their networks appearing in worldwide electronic communication blacklists.