loop() Structure Web & Application void setup() { size(200, 200); noLoop(); } float x = 0; void draw() { background(204); x = x + .1; if (x > width) { x = 0; } line(x, 0, x, height); } void mousePressed() { loop(); } void mouseReleased() { noLoop(); } Causes Processing to continuously execute the code within draw(). If noLoop() is called, the code in draw() stops executing. loop() None noLoop() 1.0 Function PDE