Studio moh


Colour by Complex Math

Posted on Sunday, December 9th, 2007 at 4:42 pm

Hotlink collage

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:

How to process colours mechanically
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...

Related posts

Reply to this post

What your friends call you.

A valid email address is required and will link to your Gravatar. Your email won't show up online.

A link to your personal website or blog. (This is optional).

Use this space to write your response. Simple HTML is allowed: <a href=""></a>, <b></b>, <u></u>, <i></i>, and a few more. Off-topic posts will be moderated.

Robots don't know my first name, but you should.

Search

Tag Cloud

Feeds