Aliasing issue Processing 4

Hi, ever since Procesing 4 was launched I’ve been having this aliasing issue. Everything from the splashscreen, the UI and the sketch window looks jaggy. Is there a way to make everything look sharper? I’m working on a Windows computer.



I tried your code on my iMac and it worked fine so maybe its just when using Processing with Windows.

Another option is to use JavaFx in the default Processing window:

import javafx.scene.canvas.Canvas;
import javafx.scene.layout.StackPane;

Canvas canvas;
StackPane root;

void setup(){
 size(760,760,FX2D);  
 surface.setTitle("JavaFX in Default Wnd");
 canvas = (Canvas)surface.getNative();
 root = (StackPane)canvas.getParent();
 rectMode(CENTER);
 translate(width/2,height/2);
 rotate(40);
 rect(0,0,200,200);
}

void draw(){

}

Output in Windows 11: