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

ZoomToFit path change #7

Open
asinghvi17 opened this issue May 21, 2024 · 0 comments
Open

ZoomToFit path change #7

asinghvi17 opened this issue May 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@asinghvi17
Copy link
Collaborator

asinghvi17 commented May 21, 2024

It would be nice to have a ZoomToFit path change, that could binary search to fit some provided boundingbox. This would require that we implement viewing frustum calculations in this package though, which we may or may not want.

ZoomToFit(time, path, boundingbox) = ZoomToFit(time, last_state(path), boundingbox)

where we could pick up the current camera position from the path, and get the boundingbox either via user input or from Makie.boundingbox(plot). It would have to be a 3D rect so maybe we allow ((xmin, ymin, zmin), (xmax, ymax, zmax)) to be the canonical accepted form.

@asinghvi17 asinghvi17 changed the title ZoomToFit path change ZoomToFit path change May 22, 2024
@asinghvi17 asinghvi17 added the enhancement New feature or request label May 22, 2024
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

1 participant