|
raingod >> resources >> Java >> Software >> Chameleon Bar
Chameleon Bar
Last updated: 08.05.2002
Another abuse of technology to brighten up your Web pages. If you can't see the applet immediately, watch the coloured separator bars closely.
ChameleonBarApplet
The applet inserts a separator bar in the page, which changes colour continuously. You can specify the initial colour and the speed of the change via parameters.
The various parameters of the applet also allow you to specify a lower and upper bound for the colour values (so that they will always remain within a certain range) and to specify a seed for the random number generator. By giving the same seed (and start colour) to two or more bars, you can ensure that they remain synchronized. The two lower bars on this page are synchronized.
|