PHP for Art
PHP August 8th, 2008
I think you know that PHP have GD Library extension to image manipulation. Yeah.. Usually it’s used to captcha application or anti spam. Like in my previous post. Today I’m Googling and found GD Library tutorial with examples (just visit http://phpgd.com). Amazing there are some example to making art with GD Library. Lookout this pictures bellow:

Not an image generator script as such, but one that uses GD to take an image file and convert it into coloured HTML.
Fractal images are made using a mathmatical function to derive the points at which to draw a point. In this script the function creates a series of branching lines that look very similar to a fern leaf.
The colour of the leaf is based on the x and y coordinates of the drawn point.
Wow, It’s very2 nice^^ that’s full PHP script. How to make it?
Don’t worry.. the author of phpgd.com share source code for free. So I can learn about it. Happy then. hehe.
Sphere: Related Content| Tags: GD Library, Info, PHP, Tutorial |



About




Leave a Comment