On 4/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
While you are at it apply color using the rank operator... Now how would you represent a color primitive ? ;O)
Am I in serious trouble for taking this as a serious question? I usually implement color as a list of three floating point numbers, typically in the range of 0..1 where 0 is black, and 1 is as bright as can be. Typically, the first number represents red, the second green, and the third blue. Hypothetically speaking, you can also have numbers greater than 1 (which, from an implementation point of view, if you are modeling vision, should tend to wash out neighboring pixels and, if time is involved, should have a persistence effect -- first positive, then negative vaguely like a damped spring -- which means you could also have numbers less than 0). As for a primitive... primitive for what? Do you just want a constant function representing a specific color? -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
