[PD] infinite zoomer feedback

Peter Todd peter_todd82 at yahoo.co.uk
Sat Oct 16 11:20:10 CEST 2004


Well, the algorithm you were using was rather silly, and it should be pretty 
obvious why.  What you should probably do is use a fixed number of repeats 
(enough for as many spheres as you can see at once, rather than just 
increasing exponentially and indefinitely), and add a modulo-based algorithm 
to loop things back when they get deranged - deranged being the operative 
word, in the case of what you were tying to do before :-p.

Having got as far as thinking about it, I've rewritten it, too.  There are 
no comments, so let me know if you have any questions.  I haven't put in any 
controls, and if you want to change the spacing it will take a few 
modifications (try this, I'm sure you could use the exercise).

>
> Hi , im making a patch in  gem that performs infinite zooming, using
> iterative processing zexys "repeat" object. im  trying to do this by
> using a feedback algorithm that increase the number of the "repeat"
> parameter, but i have 2 problems:
> the first one is that after some time the continuity of the repeating
> element get broken.
> and the second one is that the patch begins to eat my cpu progresively.
> CAn u help me to fix this? or Maybe you know another way to make the
> same.
>
> many thanks for your help

you're welcome

>
> siggmus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feedrepeat.1.pd
Type: application/octet-stream
Size: 1931 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20041016/26e4da7b/attachment.obj>


More information about the Pd-list mailing list