Reload this page to see a new color combination. This is similar to my Twentythree Million Chastity Belt Girl Images, but instead of using a Java applet that creates the new image on the client side, I use a PHP script that creates the image on the server side. This has the advantage to work with any browser that understands the PNG image format, even if both Java and Javascript are disabled and Flash not installed. Furthermore, the image can be saved like any other image (the mime type is "image/png", while the ending is "php5", so make sure your browser saves is with the correct ending; Firefox, for example, is smart enough to suggest to save the image as "bicolore.php5.png", adding another ".png" to the file name). A disadvantage is that the full image must be send through the wire for every new request, so this is a bit slow. On the other hand, the image manipulation of coloring and merging eight layers of size 485 × 691 would take some time on older machines, too, so depending on what machine resides on the client side, computing the image on the server side and sending it might actually be faster.
The ground is colored with one random color, the sky with another. The girl carries five items which are colored with either the earth color or the sky color. This makes
2563 ∙ 2563 ∙ 25 = 253 ≈ 9 ∙ 1015
different possible outcomes, which is either nine quadrillion (short scale) or nine billiard (long scale), depending on where you live. Strictly speaking, there are 2563 cases in which earth and sky color are the same, and in those cases, there is only one way to color the girl’s items, not 25 different one, so it’s a bit less (253 - 229 + 1), but the difference is miniscule.
More relevant, I suspect it is a lot less than that, since I suppose that the random number generator I use has a shorter periodicity. If you would like to see the source code, you can find it over here.
The script allows you to plug in your own colors, instead of using random values. If you would like to provide your own colors, use this form. Or link to the image like this to get a static (in this case, yellow-blue) version:
2007-08-10
Jan Thor
www.janthor.com
jan@janthor.de