Version: 1.0

Type: Full Script

Category: Graphics

License: GNU General Public License

Description: Uses lines to build a wireframe concav deltoid



<?
  //******* Author : Frat Tiryaki *********// 
  //*******          firat@pleksus.net.tr **//
  $width=410; 
  $height=410; 

  Header("Content-type: image/gif"); 
  $im = imagecreate($width,$height); 
  $gray=ImageColorAllocate($im,225,225,225); 

  $black=ImageColorAllocate($im,0,0,0); 

   for ($i=0;$i<=200;$i+=10) 
       { 
         imageline($im,210-$i,200,210,$i,$black); 
         imageline($im,210+$i,200,210,$i,$black); 
         imageline($im,210,210+$i,$i,200,$black); 
         imageline($im,210,410-$i,210+$i,200,$black); 
       } 
  imagePng($im); 
  ImageDestroy($im); 
?>