News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kore Nordmann's Blog:
New Image_3D release
March 20, 2006 @ 07:34:12

Kore Nordmann has released the latest edition of his PEAR Image_3D package - version 0.4-alpha - including some great new features.

The new release of Image_3D (0.4-alpha) is out. It was quite some time ago, Richard Davey wrote his great introduction into Image_3D. He asked for some different types of lights, I didn't thought of, when I released Image_3D first. This needed a minor change in the API you use to create lights, but offers some great improvements. See changelog for details.

Some of the other additions mentioned include, as mentioned, the ability to create different types of lights (light, ambient, point, and spotlight) and the inclusion of an object that allows for the creation of bezier areas from an array of points.

0 comments voice your opinion now!
PEAR package image_3d different lights bezier areas PEAR package image_3d different lights bezier areas


Kore Nordmann's Blog:
Image_Turtle & Image_Curve
March 13, 2006 @ 07:36:27

Kore Nordmann has written up some graphics manipulation functionality in PHP that can draw two different types of images automatically - those based on the Lindenmayer system and ones using bezier curves and BSplines. He describes them in this new blog post.

The last days I was busy learning for a lecture for computer science which covers a lot of algorithms in graphics manipulation. For personal education I tried to implement some of them in the language I know best ... PHP.

This implements the Lindenmayer system in PHP. This is a system to draw images based on simple grammars. Most used for fractals or to simulate natural growth of plants.

Another thing I needed to understand - and imho the easiest way is just to implement it - are bezier curves and BSplines. This class offers a simple way to draw lines, bezier curves or BSplines from an array with points.

You can see examples (and get the code) for these libraries from:

1 comment voice your opinion now!
image_turtle image_curve Lindenmayer system bezier curves bsplines image_turtle image_curve Lindenmayer system bezier curves bsplines



Community Events





Don't see your event here?
Let us know!


configure symfony install framework language api code application release unittest wordpress podcast list threedevsandamaybe library interview series community introduction developer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework