git.cweiske.de
/
paste
/
214.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(initial)
(no commit message)
master
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 6 Aug 2015 13:36:52 +0000
(15:36 +0200)
committer
www-cweiske
<www-cweiske@localhost.localdomain>
Thu, 6 Aug 2015 13:36:52 +0000
(15:36 +0200)
phork0.php
[new file with mode: 0644]
patch
|
blob
diff --git a/phork0.php
b/phork0.php
new file mode 100644
(file)
index 0000000..
5507194
--- /dev/null
+++ b/
phork0.php
@@ -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