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

Animating the SPR operation in PyGame #4

Open
brianzhang01 opened this issue Nov 25, 2019 · 1 comment
Open

Animating the SPR operation in PyGame #4

brianzhang01 opened this issue Nov 25, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@brianzhang01
Copy link
Member

Right now going between marginal trees just draws a fresh tree. It would be great to add an animation of the process -- called an SPR for subtree pruning and regrafting. I already have some ideas on how to show this, but making it cover all the cases may require some casework of what sorts of SPRs can possibly show up. We can make the animation speed selectable by the user in a set of options on the side of the UI, with an option to turn animations off.

@brianzhang01 brianzhang01 added the enhancement New feature or request label Nov 25, 2019
@jeromekelleher
Copy link
Member

Sounds great @brianzhang01. It might be worth thinking about the full-arg case here as well, as it makes these SPRs easier to see. You can get these from an msprime simulation with record_full_arg=True.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants