[PD] Sending [color $1( or [size $1( type messages to objects

William Huston williamahuston at gmail.com
Thu Dec 24 02:08:11 CET 2015


Hi --

1: Is the technique of setting object attributes via messages documented
anywhere?

   (x2.html has most things, but I don't see this.)

2: Is there a list of all the standard objects, and the names of all
attributes (methods) which are settable via messages?
(A language specification or reference should have this)

3: If I send the message [color $1(  to an object, say a tgl,
it seems to follow an index into a table (modulo 30)
which corresponds to the little table that comes up in
the object properties dialog box:


​
So my last question is, can I rely on that table staying
the same across all versions of PD? Will index 13 always
be Red?

(In Yoda speak, "Faith in this I do not have")

4: Can I change that table?

5: I would prefer to set an object's color via an RGB value
Can I do that?

Thanks!

-- 
--
May you, and all beings
be happy and free from suffering :)
-- ancient Buddhist Prayer (Metta)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151223/9c109261/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: object color table.jpg
Type: image/jpeg
Size: 17837 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151223/9c109261/attachment.jpg>


More information about the Pd-list mailing list