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

feature: VCR controls #408

Open
BenWibking opened this issue Dec 19, 2023 · 3 comments · May be fixed by #411
Open

feature: VCR controls #408

BenWibking opened this issue Dec 19, 2023 · 3 comments · May be fixed by #411

Comments

@BenWibking
Copy link
Contributor

Would it be possible to add playback controls to automatically advance/reverse the iterations in a series similar to VCR controls?

In Paraview or VisIt, there is functionality like this: https://visit-sphinx-github-user-manual.readthedocs.io/en/develop/using_visit/WorkingWithFiles/Time_Pane.html

@BenWibking
Copy link
Contributor Author

BenWibking commented Dec 20, 2023

The current slider widget is:

slider = widgets.IntSlider( description="iteration",

I think this could be done by replacing this with the "Play (Animation)" widget: https://ipywidgets.readthedocs.io/en/stable/examples/Widget%20List.html#play-animation-widget

Additional desired controls would be first frame/last frame/previous frame/next frame buttons (similar to: jupyter-widgets/ipywidgets#717). This could also be implemented using the existing previous/next iteration buttons.

@RemiLehe
Copy link
Member

Interesting idea!
Do you think that you could implement this on a branch of openPMD-viewer, so that we can experiment with it, and see what the user experience feels like?

@BenWibking
Copy link
Contributor Author

Sure, happy to give it a try!

@BenWibking BenWibking linked a pull request Dec 22, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants