[PD] [PD-announce] recursion in Gem - a tutorial

cyrille henry cyrille.henry at la-kitchen.fr
Tue Jul 24 19:27:51 CEST 2007


i forget to ask : did you look at the [fifo] object?
it does help a lot for this kind of recursive stuff.

cyrille

cyrille henry a écrit :
> hello,
> 
> i just had a look at your patch.
> 
> you can remove most [t a a], as every gem primitive output the pointer they reciving.
> 
> on your 1st patch, you can remove the separator, they are useless.
> 
> for patch 6 : i usually did not care storing the data on a table, i usually generated them on the fly using random, and seed the random at every frame. this is not really slower, and lot's easier to program.
> 
> for the other, why don't you use a LSystem?
> i you don't need infinit recurtion depth, i think it's easier to code and more flexible (every recurtion can be adjusted independantly)?
> 
> cyrille
> 
> 
> 
> 
> Claude Heiland-Allen a écrit :
>> Hi everyone,
>>
>> I figured out how to implement [nrepeat] and [nnrepeat] in pure-Pd, they 
>> still require [repeat] from Zexy, and also the [list] objects from 
>> pd-0.40-2 or greater (and obviously Gem is required too).
>>
>> The updated files (just Pd patches, no externals required) can be 
>> downloaded from:
>>
>> https://devel.goto10.org/dl.php?repname=maximus&path=%2Ftutorials%2Fgem-recursion%2F&rev=0&isdir=1
>>
>> Thanks,
>>
>>
>> Claude
>>
>>
>> Claude Heiland-Allen wrote:
>>> Hi everyone,
>>>
>>> I've been playing around with recursion in Gem, and thought I'd document 
>>> my experiences.
>>>
>>>
>>> You can download the patches here (Gzip'd Tar):
>>>
>>> https://devel.goto10.org/dl.php?repname=maximus&path=%2Ftutorials%2Fgem-recursion%2F&rev=0&isdir=1
>>>
>>>
>>> You will also need a couple of externals that you can download here 
>>> (Gzip'd Tar, C source code only):
>>>
>>> https://devel.goto10.org/dl.php?repname=maximus&path=%2Fclodlib%2F&rev=0&isdir=1
>>>
>>> These externals are necessary because I haven't figured out a nice way 
>>> to handle recursive re-entrancy in a Pd patch.  If I do I'll update the 
>>> tutorial with the dependancy removed.
>>>
>>>
>>> Screenshots are here, in case you're not near a computer with Pd+Gem:
>>>
>>> http://www.blurty.com/users/claudiusmaximus/day/2007/07/18#407
>>>
>>>
>>> Please let me know if you find it useful, or if you don't.  Thanks for 
>>> your attention,
>>>
>>>
>>> Claude
> 
> _______________________________________________
> 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