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

Visualization of simulation results in scrolling gif #33

Open
jrdegreeff opened this issue Mar 22, 2021 · 2 comments
Open

Visualization of simulation results in scrolling gif #33

jrdegreeff opened this issue Mar 22, 2021 · 2 comments

Comments

@jrdegreeff
Copy link
Contributor

jrdegreeff commented Mar 22, 2021

To get a sense of the functionality that Molly provides, I followed the first example in the documentation. At the end of this example I use the visualize function to use Makie to export the coordinates to a gif. However, the gif that I get scrolls as it animates.

example_simulation

I'm not sure if this is an issue with Molly or something underlying with Makie, but does anyone have any thoughts on this?

@jgreener64
Copy link
Collaborator

That's quite funny. The Makie window is interactive during plotting (which has pros and cons), perhaps you were inputting a mouse or keyboard command that caused this? I can't reproduce on Makie v0.12.0 and Windows.

@jrdegreeff
Copy link
Contributor Author

I was running it in an interactive notebook. Perhaps that could be part of the problem? I don't actually need the visual output for anything, but it does seem like there is a bug somewhere in the chain so I thought it would be worth pointing out.

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