Fluid.plotter / documentation / "colour" message method

Hello,

in the html reference for the fluid.plotter object it is mentionned that the colour message’s inputs where
The class (0 to 7) or Pd colour value (999 → RGB).

I’m having difficulties setting Pd colour value, my guess
is color can only be set by class (0 to x) Am I right ?

If so, would it be possible to have a rgb color value settable as in fluid.waveform?

Cheers

hello!

So I had to go think about that one seriously - I didn’t want to say stupid things.

The short answer is that you are right that you cannot do it yet, and that you can onl use the 11 colours I have baked in (using so clever science to chose them ( d3-scale-chromatic/src/categorical/category10.js at main · d3/d3-scale-chromatic · GitHub ) )

You are also right that it could be good to bring that feature at par with fluid.waveform, and with fluid.plotter for SC and Max. I just need a few days to do it right (including changing class colours for instance), and I don’t have that time until later in the spring to do it.

So one of the wishlist, I hope you will forgive my slowness. in the meantime I will change the reference.

p

2 Likes