(no commit message) master
authorChristian Weiske <cweiske@cweiske.de>
Thu, 6 Aug 2015 13:36:52 +0000 (15:36 +0200)
committerwww-cweiske <www-cweiske@localhost.localdomain>
Thu, 6 Aug 2015 13:36:52 +0000 (15:36 +0200)
phork0.php [new file with mode: 0644]

diff --git a/phork0.php b/phork0.php
new file mode 100644 (file)
index 0000000..5507194
--- /dev/null
@@ -0,0 +1,14 @@
+<?php\r
+$w = $h = 600;\r
+$i = imagecreatetruecolor($w, $h);\r
+\r
+$color = 0;\r
+for ($x = $w; $x > 0; --$x) {\r
+    $color = 255 / $w * ($w - $x);\r
+    $col = imagecolorallocate($i, 0, $color, 0);\r
+    imagefilledellipse($i, $w / 2, $h / 2, $x, $x, $col);\r
+}\r
+\r
+header('Content-type: image/png');\r
+imagepng($i);\r
+?>\r