processing resolution code example
Example: processing resolution
void setup() {
size(100, 100);
pixelDensity(2);
noStroke();
}
void draw() {
background(0);
ellipse(30, 48, 36, 36);
ellipse(70, 48, 36, 36);
}
void setup() {
size(100, 100);
pixelDensity(2);
noStroke();
}
void draw() {
background(0);
ellipse(30, 48, 36, 36);
ellipse(70, 48, 36, 36);
}