<?php

$rx 
200;
$ox 350;
$ry 200;
$oy 300;
$oa 36*6+18;
for (
$a 0+$oa$a<=360+$oa$a+=360/10) {
 
$ra $a*(M_PI/180);
 
$x cos($ra);
 
$x $ox $x*$rx;
  
 
$y sin($ra);
 
$y $oy $y*$ry;
 
//echo "Angle: $a sin($ra) = ",sin($ra),"<BR>";
 
?>

<div id="<?php echo "LAYER".$a;?>" style="position:absolute; z-index:1; left: <?php echo $x,"px"?>; top: <?php echo $y,"px"?>; overflow: hidden; background-color: #000000; layer-background-color: #000000; border: 1px none #000000; width: 85px;">
   <table width="100%"  border="1" cellspacing="0" cellpadding="0">
     <tr>
      <td><div align="center"><font color="white"><?php echo "layer ".($a-$oa)/36?> </font> </div></td>
    </tr>
   </table>
 </div>
 
<?php

 
}

?>