Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail From: JohnF Newsgroups: comp.graphics.algorithms Subject: Re: decorative random colors algorithm Date: Tue, 3 Jul 2012 10:27:15 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 42 Message-ID: References: NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1341311235 26518 166.84.1.3 (3 Jul 2012 10:27:15 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 3 Jul 2012 10:27:15 +0000 (UTC) User-Agent: tin/2.0.0-20110823 ("Ardenistiel") (UNIX) (NetBSD/5.1.2 (i386)) Xref: csiph.com comp.graphics.algorithms:912 gernot.hoffmann@hs-emden-leer.de wrote: > John, thanks for the feedback. No problem at all. Thanks so very much for the information and advice to feedback on. > Sorry I've lost the overview. Also no problem. The internet will keep it forever, whether it's worth keeping or not. > Also, too many questions! Sorry about that. Since the last post, I've settled by trial-and-error on what seems to my eye like the best-looking ranges, 0<=h<360, 0.1<=l<=0.5, 0.6<=s<=1.0 with values selected randomly by drand48() within those ranges (I haven't tried your prng algorithm yet). Anyway, that's what looks best to me so far (your kiolmeterage may vary). You (and similarly "nobody@nowhere") were right that the hls color model (about which I knew nothing when first posting) is what's needed to do this properly. And your hlstorgb code in hlscone...pdf was by far the simplest implementation of any I subsequently googled. I'm surprised your algorithm doesn't seem to have become the standard way to do it. > Perhaps this Swatch Book can give you an impression about > the relation between numbers and appearance, here - for RGB - > only the last(!) page: > http://www.fho-emden.de/~hoffmann/swatch22112002.pdf Thanks, that looks great! And rather than the original decorative.ps design I was looking at, I ran hls-parameter-range tests against the design at http://www.forkosh.com/decorative0.ps which displays the individual color lines better. -- John Forkosh ( mailto: j@f.com where j=john and f=forkosh )