Colour by Complex Math
Posted on Sunday, December 9th, 2007 at 4:42 pm

The hotlinked error images are now mathemagically coloured with random, complimenting or high contrasting tints.
I was busy geeking around with the graphics processing powers of PHP...when I became suddenly inspired and discovered a solution to a very difficult colour processing problem I had been having!
One of the new features I've been working on for FAP2 is the ability to search by colour. Currently, artists can tag colours themselves, but I would like to automate it so that the server calculates the colours upon upload and adds the correct tags for you.
Writing a program that evaluates colours quickly has been...difficult. But! I think I discovered a faster method tonight:

So, like, it creates a list of the 9 most frequently occurring colours, then compares to a limited list of colour tags (eg, black, white, orange, red, pink, purple, blue, etc...). Awesome.
I need to release the new fap, like, now. So I can play with these features on a larger base of art...grumble...
Preventing Hotlinking, the sexy way
Posted on Sunday, December 9th, 2007 at 4:40 pm

Recently, a lot of FAP's bandwidth has been going towards hotlinked images. This isn't very cool. But, instead of slapping down an ugly 403-image...like...

...FAP sends a polite, eloquent, beautiful little message to the person trying to take our bandwidth.
Ghost Code and AI
Posted on Sunday, December 9th, 2007 at 4:39 pm
I was working on the new FAP, adding some fun little suggestion-type-AI things...when something unexpected caught my eye.
The program was organizing things alphabetically. I didn't tell it how to organize anything...it just did it.
...why did the program do this? I never told it to...?
It's called Ghost Code, where the program starts doing unexpected things...nothing harmful, but curious little changes...like sorting things alphabetically, or putting things incrementally.
As a program becomes increasingly more complex, the possibilities for Ghost Code and the intensity of their effect increases...
There was a story about an uber-advanced society that created a series of computers linked together (internet, anyone?), and after a while...the combined computing power created a consciousness from fragments of Ghost Code. Ha, that would be hot.
The program was organizing things alphabetically. I didn't tell it how to organize anything...it just did it.
...why did the program do this? I never told it to...?
It's called Ghost Code, where the program starts doing unexpected things...nothing harmful, but curious little changes...like sorting things alphabetically, or putting things incrementally.
As a program becomes increasingly more complex, the possibilities for Ghost Code and the intensity of their effect increases...
There was a story about an uber-advanced society that created a series of computers linked together (internet, anyone?), and after a while...the combined computing power created a consciousness from fragments of Ghost Code. Ha, that would be hot.
Search
Tag Cloud
ajax as3 businesscard captcha chumby css design fap fapi flash hack hotlinking interface javascript jquery json lightbox myspace pipes site translation typography usability webservice wigits xss yahoo