Processing Community Forum
Looping through an array?
Processing
Beginners
InferNova
July 31, 2019, 12:09pm
8
Hey There!
Modulo is the way to do it !
for int i = 0 true i++ ar[i%ar.length]
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Wrap around iteration
Coding Questions
9
679
July 9, 2019
Problem making a wrap around loop with modulo
Coding Questions
9
1618
February 19, 2020
Can't handle the loop
Coding Questions
8
1046
September 10, 2018
Alternative to Circular Array?
Coding Questions
13
1040
November 3, 2018
Iterating through an array with a timer - almost there?
Coding Questions
11
654
December 31, 2019