3 $i = imagecreatetruecolor($w, $h);
\r
6 for ($x = $w; $x > 0; --$x) {
\r
7 $color = 255 / $w * ($w - $x);
\r
8 $col = imagecolorallocate($i, 0, $color, 0);
\r
9 imagefilledellipse($i, $w / 2, $h / 2, $x, $x, $col);
\r
12 header('Content-type: image/png');
\r