nature-of-code / noc-examples-processing

Repository for example code from The Nature of Code book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For particle systems - iterator needs to be explicitly called.

kevincannon opened this issue · comments

Since Processing 2, you need to import the iterator class explicitly to handle it.

import java.util.Iterator;

thanks for simplicity i've been removing iterator and just using a for loop from all the examples (though it's still in the book text). if you see it in one still, please file an issue and note the specific example.