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