[PD] data structures - color?
Hans-Christoph Steiner
hans at eds.org
Sun Mar 26 16:48:07 CEST 2006
On Mar 26, 2006, at 2:42 AM, Frank Barknecht wrote:
> Hallo,
> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>
>> I think floats would be simplest, tho there would be three atoms in
>> place of one.
>
> Which is a problem, because a one-element specification for colors is
> needed as well (e.g. to pass colors as abstraction arguments, in data
> structures etc.)
What makes this requirement one element for color? Changing the
format will break backwards compatibility anyway, so you could change
one to three elements. I think 3 floats would make things much
easier to use, like [colorRGB].
> Personally I like hex colors, but I'm used to them from web work.
If it must be one element, then hex colors would be the way.
.hc
________________________________________________________________________
____
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle man
for Big Business, for Wall Street and the bankers.
- General Smedley Butler
More information about the Pd-list
mailing list