Skip to main content

Posts

Showing posts with the label javascript

A star field WebGL demo application with three.js

WebGL with three.js As an avid gamer I've always been interested in what it might take to create a simple game. I started looking into frameworks and ways to develop and publish games across multiple platforms using things like  Steam , Python, or Javascript. I've been interested trying to span both desktop and mobile devices with the same codebase. I stumbled across  three.js , a javascript library, and it looks like a great framework to get started with WebGL development. I thought it might be neat to put together a star field simulation demo to start to learn more about WebGL and refresh some of that college computer graphics material. With some guides and examples of three.js I put together the demo application in the window below. If you see the star field simulation above then you've got WebGL support in your browser. If not you'll want to search on the web about how to enable WebGL in your browser, or get a browser like Chrome that has WebGL support. I...