//circle
/* (Processing java/android mode) */
/*PDP-1 computers drew circles
* this way:
* x := x − ( y >> 4 )
* y := y + ( x >> 4 )
* notice second operation uses
* new value of x.
*/
int x;
int y;
void setup(){
background(255,255,255);
size(512,512);
x=200;
y=0;
}
void draw(){
stroke(0,0,0);
x -=y>>4;
y += x>>4;
point(256+x,256+y);
}