• Welcome to Dark Bit Factory & Gravity.
 

fooling around with php

Started by derpat, September 09, 2013

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

derpat

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

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

combatking0

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.
You are our 9001st visitor.
Challenge Trophies Won:

derpat

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  :-\

combatking0

Here's a couple I did a while ago:




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.
You are our 9001st visitor.
Challenge Trophies Won:

jace_stknights

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...


Challenge Trophies Won:

combatking0

If we can push the boundaries of PHP, imagine what greatness we could do with JavaScript.
You are our 9001st visitor.
Challenge Trophies Won: