I had to make a video of a rotating 3d object so i created a mini mel script to make it a bit more interesting than a simple box. Here it is:
( you have to create the first box, the script will duplicate it)
$i = 0;
$max = 500;
$width = 2;
$scale = 0.9;
for( $i; $i < $max; $i++ ){
select -r pCube1 ;
$x = gauss($width);
$y = gauss($width);
$z = gauss($width);
$sx = rand(0.1, $scale);
$rx = rand(0, 45);
$ry = rand(0, 45);
$rz = rand(0, 45);
duplicate;
move -r $x $y $z;
scale -r $sx $sx $sx ;
rotate -r -os $rx $ry $rz;
};