Loop processing

The loop() function causes draw() to execute continuously. If noLoop is called in setup() the draw() is only executed once.

Description, Controls a sequence of repetitions. A basic for structure has three parts: init, test, and update. This function can be dangerous because the code inside the while loop will not finish until the expression inside while becomes false.

Description, Causes Processing to continuously execute the code within draw(). A for structure has three parts: init, test, and update. Each part must be separated by a semi-colon ;. It is problematic to stop drawing of window because of draw function witch redraw scene 30-times per second.