The New Olio

Using Three.js and JigLibJS Together

Posted by in Code

For whatever reason, one of my projects at my current employer led me to a need for doing some 3D work in HTML5′s canvas element. After a few hack-ish, amateur attempts at repurposing what I’d done for Mega Hovertank Wars, I decided to use something with a community behind it and found three.js from Mr.doob, a man you may have heard of through his work on Arcade Fire’s HTML5 experiment “The Wilderness Downtown.” There are plenty of other options out there (including some that use WebGL rather than a pure…read more

9

HTML5 Canvas Particle Animation

Posted by in Code

UPDATE: yes, I know some people out there will see some flickering when viewing the demo. This is because a) I didn’t implement a double buffer, and b) there is no built-in canvas support for double buffering. There is a very simple solution, but I’ll save that for another time. Having never really been a user of Apple products, I guess it’s not all that surprising that I’ve never been to the MobileMe website. However, after Googling something like the lines of “most popular e-mail providers,” I came across its…read more

CSS3 Trickery: A Lesson in Gradients and Masks

Posted by in Code, Design

I’m currently working on a project where one of the designs I’m to implement involves making one of these suckers: However, that’s not all. Based on where the user is amidst these four steps, it will actually end up looking something like this: Normally, I’d achieve this with CSS sprites and be rather sad about it all since whatever I’d be doing would be either a) not semantically correct, or b) terribly convoluted. Luckily, this project is specified to only having to run on Chrome, which I finally get to…read more

0

Drupal Versus CakePHP

Posted by in Code

Although Drupal is generally considered a CMS rather than a web application framework, there’s a fair bit of overlap in either regard, which I guess excuses the fact that I’ve been using it as such. At my current job with Eyemart Express where I work as one of two(!) software developers for a company that really requires somewhere near 20, I work a lot with CakePHP because, quite frankly, it was the first framework I could think of when the two of us met and started discussing rebuilding the company’s…read more

19

Using WebSockets With PHP

Posted by in Code

Mega Hovertank Wars

For my senior design project class, my group decided to try our hand at making a multiplayer 3D tank shooter game (called Mega Hovertank Wars) that plays in an HTML5-compliant browser. Along with one other team member (the other two were pretty much dead weight), we worked heartily on the game engine, but it turns out he didn’t have much experience with programming in anything except JavaScript. Obviously, that won’t cut it for writing a game server.

2