Skip to content

Slows down with each iteration  #7

@gormlabenz

Description

@gormlabenz

I have tried the example script on MacOS.

app = App(600, 400)  # create window: width, height

while(True):
    app.background(0, 0, 0)  # set background:  red, green, blue
    app.fill(255, 255, 0)  # set color for objects: red, green, blue
    # draw a circle: center_x, center_y, size_x, size_y
    app.ellipse(app.mouseX, app.mouseY, 50, 50)
    app.redraw()  # refresh the window

First of all, it runs smoothly. But after a few seconds the window is redrawing less and less. The interval between the individual redraws lasts several seconds, the whole Mac becomes extremely slow.

The whole performance is not comparable with native processing. Is this a known issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions