Skip to content

window dimensions appear to be incorrect #163

@antiboredom

Description

@antiboredom

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions