3D PHP experiment
Published June 23rd, 2006
I just spent the last hour or so creating an interesting experiment using PHP and the GD extension. I decided to use some 3D math that was festering in my brain, and I wrote matrix and vector PHP classes. Then I used my newly formed classes to draw some lines and rotate them. I added a few lines of JavaScript, and my beautiful lines were rotating right inside my web browser.
The lines themselves are not all that interesting, what is fascinating to me is that I actually created them, and didn’t let them bounce around in my head for ages. I have many ideas about assembling the lines into more structured elements. Something along the lines of 3D web interfaces that are generated from user preferences, online games, or anything with interesting pictures.
Related Articles