MacResource
How to create a logo that automatically changes every day? - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: How to create a logo that automatically changes every day? (/showthread.php?tid=30165)



How to create a logo that automatically changes every day? - Todd's keyboard - 03-21-2007

How would one go about creating a logo for a web page that changes color every day?

I'd like to have a logo that is mostly gray scale, with a small patch of color. It would be nice if that spot of color could change hue every day.

If I understand correctly, colors are the Internet are given numeric values. One approach might be to assign a transparent space in the logo, and then have a different file with a specific RGB number superimposed on top of that transparent space. Then write a script so that the RGB number increases by one every day, until it cycles through to the original number again.

Any thoughts on how to write a script to get the RGB value to change automatically every day?

thanks, Todd's hue-challenged keyboard


Re: How to create a logo that automatically changes every day? - M A V I C - 03-21-2007

Using PHP it's not too tough.

PS. Hit refresh and watch my sig change colors!


Re: How to create a logo that automatically changes every day? - JoeM - 03-21-2007

[quote M A V I C]Using PHP it's not too tough.

PS. Hit refresh and watch my sig change colors!
FWIW: sig is not changing colors for me on multiple refreshes( is that a word?), althought I remember seeing it red a few times.

You can also do it swapping out graphics in Javascript. There are scripts on the web.


Re: How to create a logo that automatically changes every day? - Ken Sp. - 03-21-2007

Changed for me the first time in Safari


Re: How to create a logo that automatically changes every day? - Seacrest - 03-21-2007

Any server-side scripting language can do this easily with either the GD or ImageMagick libraries installed. Or you could use a client-side javascript.

Your actual logo, which elements of it, and how many iterations you want to create will determine which method you choose to use.

You could probably use Flash as well.


Re: How to create a logo that automatically changes every day? - Kramerica - 03-21-2007

pretty easy in flash I think

First guess, I'd probably just choose a random number for each of the R,G,B values and tint it the resulting color.


Re: How to create a logo that automatically changes every day? - ArtP - 03-21-2007

That is why the view count is so high on this post the refreshing SIG....


Re: How to create a logo that automatically changes every day? - mediumcool - 03-22-2007

How refreshing! Sig chaged for me (Camino).


Re: How to create a logo that automatically changes every day? - JoeM - 03-22-2007

Forgot to mention I was on IE 6 PC today at work when it wasn't changing. At home on Safari it changes as everyone else reports.