Category Archives: JavaScript

Three.js: Simple Collision Detection

I’ve been spending some time trying to work out how to perform basic collision detection with the three.js library. After a combination of Googling, looking at the three.js source code and looking at the sample code on the three.js github … Continue reading

Posted in 3D, JavaScript | Tagged , , | 3 Comments

Three.js: Moving Objects

Thought that I should write another post about my discoveries with the Three.js library as my last post was written sometime before Christmas. Having said that I didn’t make much progress with my Three.js investigations over the Christmas and New … Continue reading

Posted in 3D, JavaScript | Tagged , , | Leave a comment

Three.js: Moving the Camera

My previous post took a look at the three.js 3D JavaScript engine. I’ve made some simple embellishments since that last post. I’ve worked out how to implement an orthographic camera rather than a PerspectiveCamera and how to move the camera … Continue reading

Posted in JavaScript | Leave a comment

The Three.js Library

I’ve been taking a look at the three.js JavaScript library recently. Well, 3D engine I suppose. Essentially it allows the implementation of 3D graphics within the browser using no plug-ins but just JavaScript in a modern browser. When it comes … Continue reading

Posted in JavaScript | Tagged , | Leave a comment

SVG-edit

For some time now I’ve wanted to develop a set of classes, or a code library, to allow the drawing of simple, line-based images such as boxes, circles and polygons. I may have finally found a bit of a shortcut. … Continue reading

Posted in JavaScript | Tagged , | Leave a comment