Get mp3 Michael Buble Pitbull MP3 search Gipsy Kings Nat King Cole All mp3 genres Coil Neil Young Suzy Solar Shakira Eva Cassidy Stevie Ray Vaughan Cobra Starship Useless Pickles » 2006 » October

Archive for October, 2006

Javascript Triangles (and real-time 3d)

Wednesday, October 18th, 2006

Update: Now works in IE6 thanks to a hack. Just look for the <!–[if lt IE 7]> conditional comment in the source code for details

For some reason, I decided that I want to draw triangles in a browser… without Flash, the canvas tag, or Java applets. I also wanted it to be as fast as possible, so that rules out the obvious method of creating a thin DIV for every horizontal scanline of the triangle (too many DIVs). After 2 evenings of work, I present this proof of concept.

If you like it, please digg it!

Updated $class Library Released

Saturday, October 14th, 2006

I’ve finally released an updated version of the $class library. Includes many optimizations and refinements to make it even easier to develop complex object-oriented javascript. My next step will be to work on commenting the code and creating better documentation and examples.