-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
array stopping #7
Comments
aw you're so close! take a look at what you're measuring the length of right now and think about what you're trying to measure the length of. lmk if you still can't figure it out. if (index > index.length - 1){
index=0;
} |
ok, so i knew it was in that line. and i've tried a few different things and moved the if statement around. and just retried them. i'm understanding it as: |
Your if (index > burn.length - 1){
index=0;
} |
ah ha! i had it wrong in my notes! |
once my array cycles through, the program stops.
How can I get it to start back at the beginning?
I'm struggling with a few things, but one at a time I guess. All the // stuff is another issue.
https://alpha.editor.p5js.org/a.pitre/sketches/rkPxaaT9Z
The text was updated successfully, but these errors were encountered: