# Magic

Music Visuals
https://magicmusicvisuals.com/forums/

## Question/Help on Iteration Module

https://magicmusicvisuals.com/forums/viewtopic.php?f=2&t=2431

Page 1 of 1

### Question/Help on Iteration Module

Posted: Sat Jan 16, 2021 8:28 pm
Hi,
I am trying to better understand how the iteration module works -- better understand.

The help says "Draws inputs the specified number of iterations".

I understand or take that to mean, that if I input an image (png) or an object (shape like a pentagon) - that the module will output the same input 'x' number of times based on what the iteration number is set to. So, if the iteration is to 50, the input will be output or be generated 50 times; is this correct?

The confusion here is that "iteration" suggests in a way that you keep doing something over and over again, but it takes some time to do it, or to "iterate" over it.

PLEASE.... HELP....... is there a time frame involved in the iteration process or module? If so, what controls the time frame?
If the iteration number is set to say 33, how fast with it iterate from 1 to 33?

Confused in Columbus

https://magic-music.s3.amazonaws.com/iteration-question.png

### Re: Question/Help on Iteration Module

Posted: Sat Jan 16, 2021 8:44 pm
The thing to understand about the Iterator is that it draws something a specified number of times, all within one video frame.

To make it actually do something interesting, you have to make an incremental change between each iteration, such as the color, size, or position of what's being iterated.

As a place to start, I suggest you look at all the relevant sections that are indicated in the Iterator module section in the User's Guide: https://magicmusicvisuals.com/downloads/Magic_UsersGuide.html#Iterator

Then look at the sample projects (included with Magic) that are described above.

Also, Sadler's tutorials are good: viewtopic.php?f=3&t=2390

### Re: Question/Help on Iteration Module

Posted: Sun Jan 17, 2021 4:19 am
Thank you. I saw a few sample files with the word iteration. I'm looking through them now.

All times are UTC
Page 1 of 1