[PD] data structures - color?

Miller Puckette mpuckett at imusic1.ucsd.edu
Fri Mar 24 03:05:34 CET 2006


On the other hand, I noticed that the '999=white' color scheme
(used for data) wasn't working very well, and have tried to improve it
for the next version...

cheers
Miller

On Fri, Mar 24, 2006 at 01:49:42AM +0100, Frank Barknecht wrote:
> Hallo,
> Jo?o Miguel Pais hat gesagt: // Jo?o Miguel Pais wrote:
> 
> > I just made a patch to see which colors are available in the data  
> > structures. it seems that they're not the same as in the normal pd scheme,  
> > and that they repeat themselves. is it normal that colors 0 == 100 == 200  
> > == 300, 400 == 500 and 600 == 700?
> 
> By definition these are not the same, though they really look like it
> and they show the same rgb-values when captured and tested in the
> Gimp. Strange.
> 
> > wouldn't it be useful for all color schemes to be synchronised?
> 
> Surely, however as it currently is, we have at least 3 color schemes
> in Pd and Gem: IEM colors, which nobody really understands, Gem
> colors, which are lists of R G B values with R G and B going from 0 to
> 1, and data structure colors which are similar to Gem colors, but R G
> and B go from 0 to 9 instead of from 0 to 1 and they can only be
> integers and they are not lists but concatenated numbers.
> 
> So: 
> Black Gem: 0 0 0
> Black DS:  000
> Red Gem:   1 0 0
> Red DS:    900 (^= "9 * 1 0 0")
> White Gem: 1 1 1
> White DS:  999 (^= "9 * 1 1 1")
> 
> etc.
> 
> Ciao
> -- 
>  Frank Barknecht                 _ ______footils.org_ __goto10.org__
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list