[PD] Scatter objects using [repeat]

Cyrille Henry ch at chnry.net
Tue Nov 26 13:54:55 CET 2013



Le 26/11/2013 13:18, Antonio Roberts a écrit :
>> or give [random] a seed, so it will generate the sme PRN-sequence in
>> each frame. change the seed whenever you want to change the scattering.
>> (afair, this is also in the examples)
> Thanks, this mostly does what I want.
>
> Overall, I would like to be able to slow down the positioning of the
> shapes and have them move into place (using [line] ) rather than jump.
> Is this just a limitation of using [gemlist] and [until]/[repeat]?

with simple math you can interpolate between 2 position.
interpolate_position = (X*position_2 + (1-X)*position_1)
where X vary from 0 to 1.
you can do that with both the random /seed or with table (using iem_tab)

c

>
> Antonio
>
> On 26 November 2013 08:21, IOhannes m zmölnig <zmoelnig at iem.at> wrote:
>> On 2013-11-26 00:32, Cyrille Henry wrote:
>>> hello,
>>>
>>> look at the patch in gem help/02.advenced/20.double-gemhead_vs_repeat
>>> the right patch of this patch is almost what you want.
>>> you just have to insert 2 tabread instead of the select. the tabread
>>> should point to 3 random table.
>>>
>>
>> or give [random] a seed, so it will generate the sme PRN-sequence in
>> each frame. change the seed whenever you want to change the scattering.
>> (afair, this is also in the examples)
>>
>>
>> oh, and don't use [repeat]; instead of [until]+[gemlist], which doesn't
>> require zexy at all (only Pd-vanilla+Gem)
>>
>> gfmadsr
>> IOhannes
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>
>
>



More information about the Pd-list mailing list