[PD] self-centering random walk

Frank Barknecht fbar at footils.org
Thu May 10 11:43:23 CEST 2007

Jamie Bullock hat gesagt: // Jamie Bullock wrote:

> Two questions:
> - What are the arrays for? Are they intended for some kind of mapping
> after [random] ?

I guess they are just used to visualize the self-centering of the
walking process

> - Why do you use $0- for the subpatches, is there some reason why they
> need to have names that are unique to the enclosing root canvas?

Claude is supercautious here, but it's a good habit IMO: Subpatches,
like tables, create automatic receiver targets called
"pd-NAME-OF-SUBPATCH".  Using $0 here will make sure, that the
receiver is local to the currently opened patch: "pd-$0-NAME".

Otherwise a message like:


issued from somewhere in your running Pd will clear ever subpatch with
the same name, which might not be what you want.

 Frank Barknecht                 _ ______footils.org_ __goto10.org__

More information about the Pd-list mailing list