Preamble: I'm currently working on writing an external that implements the Perlin noise in pd. The Perlin noise is an algorithm for efficiently generating band-limited pseudo-random signals, and it's often used as a building block for creating somewhat random, "natural" looking visuals. But as far as I know, it's never been implemented in an audio environment, so creating an external for it for pure data seems like a fun experiment.
Anyway, the reason for this thread is that I thought it would be nice if all a patch's objects created from this external could share the same table of random "seed" numbers, so that the same results could be gotten from each of them. It would also be necessary for any of the objects to be able to update and reshuffle the table of values whenever a bang is sent to its "reseed" inlet.
I assume that this kind of data-sharing between objects from the same library is possible, because something similar must be going on with [send] and [receive], right? I also imagine it's got something to do with where you declare the data in the code, but that's as far as I've got. Could anyone point me in the right direction for this?