Python visual quality

I have tested the new version of Processing and tried the Python module. However the visual is not of the same quality as if I use Java. Is this a known issue?

def setup():
    size(800, 600)
    background(192, 64, 0)

def draw():
    line(150, 25, mouseX, mouseY)


void setup() {
  size(800, 600);
  background(192, 64, 0);

void draw() {
  line(150, 25, mouseX, mouseY);

I would repeat that at the start of draw() in both versions, it looks more sharp

Can’t offer more to your question though

Hello @kmll,

Python mode looks good here with Processing 3.5.4 and the windows are each 500x500.

With Processing 4.1.1 the sketch window is scaled larger for Python mode!

I do have 125% scaling on my W10 PC for displays.

Not related but I did come across this adding Python mode in 4.1.1:


1 Like