Dark Bit Factory & Gravity

GENERAL => Projects => Topic started by: derpat on September 09, 2013

Title: fooling around with php
Post by: derpat on September 09, 2013
hi all,

i tried to do some gfx stuff with php and thats what came around:

http://asm.16-bit.tk/demo1/index.php?a=1 (http://asm.16-bit.tk/demo1/index.php?a=1)

it has a random generator for html color codes.

i know its laggy, but i dont know how to fix it.

how you like it?  :)

*fixed link
Title: Re: fooling around with php
Post by: combatking0 on September 09, 2013
Cool output! Reminds me of 80's modern art.

We need more PHP demos. They wouldn't run very fast, but could take advantage of AJAX for JavaScript enhancements, or create a single image from input text and a randomiser.

I might put together a random news headline script in PHP just for laughs.
Title: Re: fooling around with php
Post by: derpat on September 09, 2013
hey,

thanks for the reply.
maybe anyone got more information about the php-demoscene? google just finds one good hit and its a bit outdated  :-\
Title: Re: fooling around with php
Post by: combatking0 on September 10, 2013
Here's a couple I did a while ago:
(http://barcodebattler.co.uk/SORR/FengShue.php)

(http://barcodebattler.co.uk/SORR/What.php)

Yes, "shue" and "shuey" should be spelled "shui", but I didn't want to get sued.
Re-loading the images forces the PHP to generate a different series of words.

By tinkering with the script, it is possible to draw things other than words, or to create an ASCII Art generator from an uploaded image.
Title: Re: fooling around with php
Post by: jace_stknights on September 10, 2013
For this kind of code, you should only use Javascript. Php is a server language, so everything will be HTML to be understood by the browser.
Thus, with a JS script you can do the whole things and take less time to load. And also makes changes AFTER loading. That's why I think ther are nearly no PHP demos...


Title: Re: fooling around with php
Post by: combatking0 on September 11, 2013
If we can push the boundaries of PHP, imagine what greatness we could do with JavaScript.