Mercurial > hg > nodescore
annotate www/oi/hello-web.pde @ 101:52e44ee1c791 tip master
enabled all scores in autostart script
author | Rob Canning <rc@kiben.net> |
---|---|
date | Tue, 21 Apr 2015 16:20:57 +0100 |
parents | d802954248a7 |
children |
rev | line source |
---|---|
rob@100 | 1 |
rob@100 | 2 void setup() { |
rob@100 | 3 size(1150,650); |
rob@100 | 4 background(255,0); |
rob@100 | 5 frameRate(30); |
rob@100 | 6 } |
rob@100 | 7 |
rob@100 | 8 |
rob@100 | 9 int x=0; |
rob@100 | 10 |
rob@100 | 11 void draw(){ |
rob@100 | 12 |
rob@100 | 13 //background(255,0); |
rob@100 | 14 //fill(random(255)); |
rob@100 | 15 //line(x,height, x,0); |
rob@100 | 16 //x = (x+1)%width; |
rob@100 | 17 } |