processing / processing-docs

[Deprecated] Processing reference, examples, tutorials, and website
https://processing.org
371 stars 179 forks source link

Nevermind #794

Closed massoudyan1 closed 4 years ago

massoudyan1 commented 4 years ago

fullScreen(); Not working.

My screen is: HP EliteDisplay E202

massoudyan1 commented 4 years ago

The ellipse is drawn in the top left corner

void setup() { fullScreen(P2D,1); background(0); noStroke(); fill(120); } color c = color(30,30,80); float x = width/2; float y = height/2; float speed = 1;

void draw() {

ellipseMode(CENTER); ellipse(x,y,40,40);

}