(no commit message)
[paste/214.git] / phork0.php
1 <?php\r
2 $w = $h = 600;\r
3 $i = imagecreatetruecolor($w, $h);\r
4 \r
5 $color = 0;\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
10 }\r
11 \r
12 header('Content-type: image/png');\r
13 imagepng($i);\r
14 ?>\r