When the libprocessing / mewnala window is resized, the drawing appears to be stretched to fit the new window dimensions.
Processing (Java)
void setup() {
size(400, 400, P3D);
windowResizable(true);
}
void draw() {
background(255, 0, 0);
ellipse(width/2, height/2, 100, 50);
}
libprocessing / mewnala
from mewnala import *
def setup():
size(400, 400)
def draw():
background(255, 0, 0)
ellipse(width/2, height/2, 100, 50)
run()
Expected behavior
After resizing the window, the canvas should adapt and update width and height correctly.
Actual behavior
In libprocessing / mewnala, resizing the window appears to stretch the rendered output instead of updating the drawing surface properly.
Screenshot

When the libprocessing / mewnala window is resized, the drawing appears to be stretched to fit the new window dimensions.
Processing (Java)
libprocessing / mewnala
Expected behavior
After resizing the window, the canvas should adapt and update
widthandheightcorrectly.Actual behavior
In libprocessing / mewnala, resizing the window appears to stretch the rendered output instead of updating the drawing surface properly.
Screenshot