2 ms·
Processing seems to use a draw() event, unlike Basic where you can just issue graphic commands anywhere as you go.
by Razengan 6y ago
Processing seems to use a draw() event, unlike Basic where you can just issue graphic commands anywhere as you go.
- MauranKilom 6y agoIf you write your code only within the draw() function (which is pretty common), it's the same as an infinite loop around your code. If you want it to execute just once, just call noLoop() at the end of your setup. Elsethread there's also links to tweets involving a "golfified" version of Processing if that's what you're looking for.