Diagonal line loop

Thanks for sharing your sketch! It looks like this is running in Processing.js, which is an older system and no longer actively maintained. If you’d like to use Java-based Processing, I recommend downloading the Processing IDE from processing.org.

If you prefer to keep working in OpenProcessing, it’s best to switch to p5.js mode. The syntax is quite similar but using Javascript. Let us know if you’d like help converting your sketch.