AAAAAAAAAAAAAAAAAAAAAAAAA
//
// Not in editor. Must use by hand for now.
// Author : Fýrat Tiryaki hide@address.com
// Draws a 2-D Leaf
//
function leaf($image, $scale, $x, $y)
{
$white=ImageColorAllocate($image,255,255,255);
$blue=ImageColorAllocate($image,1,18,250);
$red=ImageColorAllocate($image,125,12,89);
$centerx = $x*$scale;
$centery = $y*$scale;
$size = 6;
$size = $size*$scale;
for ($x=-$size;$x<=$size;$x++) {
for ($sub=500;$sub<=10000;$sub+=500){
// $new = ($x*$x)/$sub;
// $new = ($x*$x*$x)/$sub;
// $new = ($x*$x*$x*$x)/($sub*$sub);
$new = (.5*$x*$x*$x*$x*$x)/$sub;
// $new = ($x*$x*$x*$x*$x*$x)/$sub;
imagesetpixel ($image, $centerx+$x, $centery-$new, $blue);
imagesetpixel ($image, $centery-$new, $centerx+$x, $white);
imagesetpixel ($image, $centerx-$x, $centery-$new, $red);
imagesetpixel ($image, $centery+$new, $centerx+$x, $blue);
}
}
}
BBBBBBBBBBBBBBBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCCCCCCCCCC
function leaf($image,$scale,$x,$y){}
DDDDDDDDDDDDDDDDDDDDDDDDDD
$inthemenu = "no";
$dirlist= array("NA");
$lenlist= array("NA");
$txtitem="AAAAAA";
EEEEEEEEEEEEEEEEEEEEEEEEEE