Reply to Re: line drawing?

Your name:

Reply:


Posted by Richard Brooks on 11/24/06 14:40

Bart op de grote markt said the following on 24/11/06 14:32:
> J.O. Aho schreef:
>
>> I guess javascript or even java would be a better option, what I can think of
>> you can do with php, would be place out one pixel large images by somewhat
>> controlled random (has to have one side connected to another black dot) with
>> the help of div-tags (html).
>>
>>
>> //Aho
>
> Hmm, I wouldn't do that... I guess there's some overhead then...
>
> Why not use the image library from php? (http://be.php.net/gd)
> I don't know about it much, but I use it to dynamically create captchas
> and buttons on my site.
>
> Greets,
>
> Bart

I think you're on the right track as this little number is in there.

<http://be.php.net/manual/en/function.imageline.php>

The OP only needs short lines, the end coordinates of the first line
then become the start coordinates of the next line, the end coordinates
being part of a random routine all in a short loop.


Richard.


--
"Naturally the common people don't want war, but they can always be
brought to the bidding of the leaders. Tell them they are being
attacked and denounce the pacifists for lack of patriotism and
endangering the country. It works the same in every country."
Reichsmarshall Herman Goering, Nuremberg, 1946

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация