draw() Structure Web & Application void setup() { size(200, 200); noStroke(); } int a = 0; void draw() { fill(a); a = a + 1; if (a > width) { a = 0; } rect(a, 0, 2, 200); } Continuously executes the lines of code contained inside its block until the program is stopped or noLoop() is called. Calling redraw() will cause the code inside draw() to execute once and calling loop() will cause the code inside draw() to execute continuously. The draw() function is used in conjunction with setup(). The number of times draw() executes in each second may be controlled with the delay() and framerate() functions. draw() { statements } A sequence of statements to be executed over and over again None setup() loop() noLoop() 1.0 Processing Function PDE