HolyLab / HolyLab/FlyThroughPaths.jl
`ZoomToFit` path change
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 16
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing ZoomToFit and last_state(path) entry points, then investigate how Makie.boundingbox(plot) and 3D viewing-frustum calculations could support the proposed behavior. Done requires an agreed bounding-box representation and a defined ZoomToFit path method that binary-searches to fit it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- computer-graphics, data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100