banner ad

Friday, March 24, 2006

Dynamic text kearning »

Working for design firms, I always get  asked to create complex animations with text.  Unfortunately flash kearning on dynamic text is hard to do especialy when you seperate your text string in pieces.  There is also the multiline aspect...

Wednesday, March 22, 2006

Simple 3D flythrough »

I tried to write the simplest 3D flythrough script, as short as a few lines.  In the following example, individual items move in 3D space along the z axis by increasing their z value.  I realise that for quick and dirty 3D worlds, making...

Friday, March 10, 2006

3D starfield simulator »

3d starfield simulations are fun, expecially for screensavers.  I sightly modified the 3D panning script by adding the following speed varaible, see full code bellow. //Increase z position with speed this.z -= this._parent.oCamera.s; On...

Monday, March 06, 2006

3D Panning »

In my previous examples, I made sure to explore elements of a 3D engine.  Mathematics put asside, once one can zoom in a 3D world, one usually wants to pan left and right using the mouse cursor. I used the following to lines to create panning,...