[PD] Foreground / Background handling dynamically

Frank Barknecht fbar at footils.org
Sat Feb 9 11:17:34 CET 2008


Hallo,
jean-martin barbut hat gesagt: // jean-martin barbut wrote:

> If anybody has an idea to solve this foreground/background problem or
> another idea to create those loop indicators and playback cursor... I
> already tried the idea to put [hsl] at array bottom or top but it is not
> very practical !

You could also use data structures for this instead of a cnv. For an
example check out the help-files for the mean-calculating
objects in the [list]-abs collection: [list-mean],
[list-geometric-mean] and [list-arithmetic-mean] and [list-centroid]

The trick is to hide a [pd ...] subpatch with GOP enabled behind the
array. GOP subpatches with data structures inside are a bit tricky:
You should manually set the Properties of the subpatch with the
context menu to use a 1/1 mapping of ranges to pixels like:

X range: 0 to 200 size: 200
Y range: 0 to 140 size: 140

The numbers in range and size (200 rsp. 140) should be the same for a
1/1 mapping.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__




More information about the Pd-list mailing list