◐ Shell
clean mode source ↗

window dimensions appear to be incorrect

It seems that the sketch dimensions are doubled, tested with macos 26.5 on a 2023 macbook pro, using mewnala.

The following code produces a window that is 600x600, with an ellipse that is 200x200:

import mewnala as m


def setup():
    m.size(300, 300)


def draw():
    m.background(242, 237, 230)

    m.ellipse(150, 150, 100, 100)


m.run()

Image

If I add m.pixel_density(1) after size it does produce a 300x300 window...

Also, I'm really enjoying playing around with this!