iterator different times

bernardo's picture

hello everyone this time for another reg idea....to all how can i make a simple iterator with different times inside. in the attached comp please find a comp that when mouse is clicked iterates a sphere copied along x axis in the screen my problem is: how can i make a interpolation patch inside the iterator worked from start when the new sphere is added? as if i ad a new sphere and it starts its animation from the real start not the general time

thanks bern

PreviewAttachmentSize
iterated Sphere.qtz27.99 KB

bernardo's picture
Re: iterator WITH different times

no one ? still searching...

jrs's picture
Re: iterator different times

You can't store state inside an iterator - use the javascript patch to record the start times (from the patch time object) for each new object and pass them into the iterator. Then if you use an external time base for the interpolation patch you can offset each one by the time they started

bernardo's picture
Re: iterator different times

thanks jrx made it here is the comp please comment if you wish another reg idea from me

PreviewAttachmentSize
iterated Sphere.qtz40.63 KB

gtoledo3's picture
Re: iterator WITH different times

How about this? I think it's what you mean. It starts the movement you have going "from the top" everytime you add or decrease iteration count with the setup you already have.

PreviewAttachmentSize
iterated_Sphere w: Stopwatch.qtz35.86 KB

bernardo's picture
Re: iterator WITH different times

sorry mr Gtoledo3 i missed some how your comment, but i allready did it in the ocmp bellow... thanks anyway for the help and you can comment on the comp to make it faster please do....

gtoledo3's picture
Re: iterator different times

Ohhh, now I see what you meant.

bernardo's picture
Re: iterator different times

got to work on my english i know...