redraw() Structure Web & Application float x = 0; void setup() { size(200, 200); noLoop(); } void draw() { background(204); line(x, 0, x, height); } void mousePressed() { x += 1; redraw(); } Causes Processing to execute the code within draw() one time. This gives control for updating the display window only when it's necessary. redraw() None noLoop() loop() 1.0 Function PDE