Dark Bit Factory & Gravity
GENERAL => Projects => Topic started 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
-
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.
-
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 :-\
-
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.
-
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...
-
If we can push the boundaries of PHP, imagine what greatness we could do with JavaScript.