![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
You actually get a lot of junky colors when they are too random, so it creates a more aesthetically pleasing effect when they are less random. For instance, you can create an array of colors by incrementing the first parameter of getHSBColor() from 0 to 1.0 (increment size being the inverse of the array size, of course), then use that more limited "spectrum" for a more visually pleasing effect.Replies:
|
Sponsored Links
|