Nested Iterators

Swiftlikeninja's picture

I am having a heck of a time getting nested iterators to work with the particle system patch. Currently I have 12 different iterators going through doing what I feel should be pretty simple to do using one set of nested iterators but every time I try its not responding properly. The only way I can get the correct results is by using all the separated iterators.

Im attaching my qtz so hopefully someone will be able to assist me. Im using the weighted grid generator and renderer from Here and using some ugly JS (cant quite wrap my head around JS nested loops either :P) and feeding the resulting structure into the iterators and just changing the source index for each of the iterators. My thought process is to nest the iterator and have the current index go to the source index and then it should step through the entire structure to do what all 12 iterators are doing, but again, Nothing usable It only appears to render one index of the structure.

Thanks in advanced

PreviewAttachmentSize
motion_grid.qtz366.83 KB