February’s Landing Page Experiment: Roaming
Though a bit late, this month’s experiment builds on last month setup and adds a bit of AI. Cubes now roam and avoid each other when near collision. A very basic detection system using a vector and couple of recursive functions. All calculations are made using Away3D’s functions like distanceTo() and movement is handled by moveForward(). The newer post are represented by bigger cubes. The icons are from PJ Onori’s excellent iconic.
Click here to view this experiment. Source code can be viewed here.
Update: For Valentine’s Day here is a special version and its source code.

February 10th, 2010 at 9:54 am
Hi Jerome,
first of all, great work
did you do this roaming in away3d or away3dLite? and for light are you using baked texture? I really want to know how to that such colored cubes with ligt into my projects. What you mind share code for that? I’m using away3dLite, so baked textures are only option (as far as I know)
Thank you,
Franto
February 10th, 2010 at 10:24 am
Hi Franto,
I used Away3D (for FP10). The shading is done with a ShadingColorMaterial, the colors are from Kuler.
I updated the file and you can right click to view the source code.You can view the source here.
Enjoy,
Jerome.