I use a processing language to draw a rectangle that grows with time. The following code gives no output.
void setup() { size(900,900); } void draw() { int edge=100; for(int i=0;i<300;i++) { delay(100); edge++; rect(100,100,edge,edge); } }
I suspect that I used the delay () function incorrectly.
source share