Mathieu Fenniak's Weblog

2002/10/30

Colourful Website

Filed under: programming — admin @ 9:48 pm

Heh heh heh. I got an idea yesterday that it would be cool to make websites recolour themselves based upon domain names. So, say, ‘pink.stompstompstomp.com’ would be all pink, and red would be all red, and so on.

So I wrote a python script to recolour images on the fly, and implemented it on stompstompstomp.com. It works on jpg, tif, and png images, but not palette images (gif, some pngs, I suppose some tiff too..). Anyways, very nifty. Try visiting the normal pics page, and then add a colour in front of stompstompstomp.com. Here’s a link to the pink page, for example.

Beige, blue, brown, crimson, cyan, gold, goldenrod, gray, green, maroon, navy, orange, orangered, pink, purple, red, silver, teal, white, and yellow all work. Very fun.

This has been turned off and normal website operations restored. But that was niftyrific.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress