Follow me on Twitter Follow me on GitHub
Chandler Prall Thoughts & Experiments for the Web

Category Archives: Javascript

requestAnimationFrame is not your [logic's] friend

Intro If you have been anywhere but under a rock then you have heard about Javascript’s new requestAnimationFrame function. You have probably used the shim posted by Paul Irish, may have tinkered with the version created by Opera developer Erik … Continue reading

Physijs – a physics plugin for three.js

After working on the Tower game I mentioned in the last post, I wanted to write a physics plugin for three.js to make it very easy to include physics in 3D scenes. While the plugin has been up on github … Continue reading

Physics with Ammo.js + Three.js

Let’s explore the basics of using Ammo.js for physics in a Three.js environment. For my entry to the Pokki 1UP contest I rushed out a simple physics-based WebGL game. From start to finish I had 9 days left until the … Continue reading

Constructive solid geometry with Three.js

A few days ago Evan Wallace released his Constructive solid geometry library for WebGL. This library uses Boolean operations (addition, subtraction, union, intersect) to be applied on 3D geometry such as cubes, spheres, or anything else you can throw at … Continue reading