QC Iterations
From Physical Programming
Using Iterators
By: Scott Mitchell
Date: 30.03.08
Requires: Quartz Composer version 2.0 or greater
These Compositions demonstrate the use of "Iterators" in Quartz Composer. For a good (if a little quick) introduction see Christopher Wright's video tutorial.
Iterations 1
Download: Iterations_1.qtz
This composition uses two nested "Iterator" patches to displays a basic 10 x 10 grid of fuzzy dots. Screen shots of the Composition Editor window are shown above. Data, such as the dot's image, is passed to the Iterators by "Publishing" the "Image" input on the Sprite patch.
Iterations 2
Download: Iterations_2.qtz
This composition is slightly more complex. It "Publishes" the dot's "Radius" as a user variable and uses this to calculate the total number of dots that will fit in the Viewer window.
Return to Tutorials.
Return to Physical Programming Main_Page.





