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

Frame number in NGLView? #83

Closed
chryswoods opened this issue Jul 21, 2023 · 3 comments
Closed

Frame number in NGLView? #83

chryswoods opened this issue Jul 21, 2023 · 3 comments

Comments

@chryswoods
Copy link
Contributor

New feature request - adding the frame number of a trajectory (and possibly the time data?) to the NGLView widget, so it is easier to find a particular frame, and then extract it in the next cell.

Describe the solution you'd like
The trajectory frame number should just appear in one corner of the NGLView widget, and should change as the trajectory is played.

@chryswoods chryswoods self-assigned this Jul 21, 2023
@lohedges
Copy link
Contributor

Nice, I think this would be really helpful.

@chryswoods chryswoods added this to the 2023.4.0 milestone Jul 28, 2023
@chryswoods
Copy link
Contributor Author

I've just noticed that NGLView already shows a frame number! It is in a black font, which is why I didn't see it (as we use a black background).

I'm looking into the docs to see how to change the font colour. Interestingly, I've found on this tutorial that you can execute JS code from Python using a convenient interface in NGLView.

@chryswoods chryswoods added 2023.5.0 roadmap Issue relating to the roadmap and development and removed 2023.4.0 labels Sep 11, 2023
@chryswoods chryswoods removed their assignment Sep 11, 2023
@chryswoods chryswoods modified the milestones: 2023.4.0, 2023.5.0 Sep 11, 2023
@chryswoods chryswoods removed this from the 2023.5.0 milestone Oct 25, 2023
@chryswoods chryswoods removed roadmap Issue relating to the roadmap and development 2023.5.0 labels Oct 25, 2023
@chryswoods
Copy link
Contributor Author

I'm archiving this as I haven't had a chance to look at it. It can be revived later if there is interest.

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