Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnimatePolygon does not close the shape that is defined by spec #37

Closed
citrusvanilla opened this issue Dec 7, 2022 · 2 comments
Closed

Comments

@citrusvanilla
Copy link

AnimatePolygon should close an unclosed polygon for drawing purposes.

sim.AnimatePolygon(
    spec=[
        *(-75.0, -75.0), #sw
        *(75.0, -75.0), #nw
        *(75.0, 75.0), #ne
        *(-75.0, 75.0) #se
    ],
    linewidth=5,
    ...
)

image

@citrusvanilla
Copy link
Author

Suggested fix submitted in PR #38

@salabim
Copy link
Owner

salabim commented Jan 4, 2023

Thanks. This will be fixed in the next release.

@salabim salabim closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants