JuliaMolSim / Molly.jl

Molecular simulation in Julia
Other
372 stars 51 forks source link

Visualization of simulation results in scrolling gif #33

Open jrdegreeff opened 3 years ago

jrdegreeff commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.