kmll
December 29, 2022, 11:31am
1
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)
stroke(255)
background(192, 64, 0)
def draw():
line(150, 25, mouseX, mouseY)
VS.
void setup() {
size(800, 600);
stroke(255);
background(192, 64, 0);
}
void draw() {
line(150, 25, mouseX, mouseY);
}
Chrisir
December 29, 2022, 4:40pm
2
kmll:
background(192, 64, 0)
I would repeat that at the start of draw() in both versions, it looks more sharp
Can’t offer more to your question though
glv
December 29, 2022, 7:58pm
3
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:
opened 07:34PM - 30 Nov 22 UTC
## Description
In Processing 4.1.1 it is currently seemingly impossible to down… load and switch between modes.
## Expected Behavior
In Processing 3.5.4 if you open the "Modes" tab in the "Contribution Manager" window, there is a list of modes you can potentially install. At the very least you should find "R Mode" and "Python Mode". You can download any of these (the ones that are supported anyways) and than can use them in Processing.
## Current Behavior
In Processing 4.1.1 (and 4.1 and possibly earlier versions I haven't tested) when you click "Manage Modes..." you are taken to an empty "Modes" tab in the "Contribution Manager" window. There are no modes ready to download, therefore you are stuck in Java mode.
## Steps to Reproduce
1. Run Processing 4.1.*
2. Click on the selector with the word "Java" and a little downward triangle in it
3. Click on "Manage Modes..."
## Your Environment
* Processing version: 4.1.1
* Operating System and OS version: Windows 11 Pro x64 22H2 Build: 22621.900
## Possible Causes / Solutions
Not sure about the cause but I found a workaround (though haven't tested fully).
I downloaded Processing 3.5.4 and installed Python mode on it.
I than opened Processing 4.1.1 and I found that it also had Python mode installed.
The Modes tab was still empty, but apparently the mode for 3.5.4 was saved in the same place 4.1.1 was looking, and it at least thinks it can be used. I'm not sure how well it works.
Image:
![image](https://user-images.githubusercontent.com/6439157/204891586-96bee15a-c6b1-41ae-a295-c66902c92a62.png)
:)
1 Like