Skip to content

new tilt stack API and layer connectors#22

Draft
e-kotov wants to merge 24 commits into
mainfrom
feat-lines
Draft

new tilt stack API and layer connectors#22
e-kotov wants to merge 24 commits into
mainfrom
feat-lines

Conversation

@e-kotov
Copy link
Copy Markdown
Collaborator

@e-kotov e-kotov commented Apr 12, 2026

This will close #1 and #7 and also introduce a new layered streamlined user API.

Example:

tilt_stack(x_shift_step = 25, y_shift_step = 50) |>
  tilt_layer(landscape_1, palette = "bilbao") |>
  tilt_layer(landscape_2, palette = "mako") |>
  tilt_layer(landscape_3, palette = "rocket") |>
  tilt_connector(landscape_points, color = "grey40")

Work in progress, not for merging just yet.

e-kotov added 19 commits April 12, 2026 23:11
- Add tilt_stack(), tilt_layer(), and tilt_connector() for a pipeline-friendly API.
- Implement automated spatial parameter resolution and 3D coordinate math.
- Implement automated connector line generation with 3D occlusion.
- Add smart auto-positioning for layer labels.
- Add S3 print method for tilt_stack.
- Integrate memoise for performance caching.
- Add new primary vignette 'vignettes/layer.qmd'.
- Implement , , , , , and  in  and .
- Update  to resolve and apply these typography parameters to labels.
- Improve  logic to support both auto-alignment and user overrides.
- Update  documentation and  with typography examples.
- Implement  for connector lines in .
- Add , , , and  for top points.
- Implement  toggle to choose between 3D occlusion and foreground drawing.
- Update  to apply these aesthetics and support conditional interleaving.
…t and performance

- Removed memoization from tilt_map to streamline processing.
- Added `label_align` parameter to `tilt_stack` and `tilt_layer` for flexible label positioning.
- Updated documentation to reflect changes in parameters and usage.
- Enhanced connector handling in `tilt_connector` with new `linewidth` parameter.
- Introduced tests for `tilt_stack`, `tilt_layer`, and `tilt_connector` to ensure functionality.
- Deprecated `plot_tiltedmaps` in favor of `tilt_stack` for a more cohesive API.
- Added SVG lifecycle graphics for package status representation.
…mports; refactor tilt_maps for modern R syntax
… variables for parallel processing; enhance documentation in animate_tilt_stack
…ent variable setup; refactor global assignments in tilt_animate
@e-kotov e-kotov marked this pull request as ready for review May 4, 2026 11:24
e-kotov added 5 commits May 5, 2026 18:35
- Added new parameters `sequential` and `verbose` to `animate_tilt_stack` for better control over animation behavior and progress messaging.
- Updated `tilt_layer` documentation to include new parameters for label positioning and offsets.
- Improved `tilt_stack` documentation with additional label alignment options and offsets.
- Modified vignettes to demonstrate new features, including animations and custom transport routes.
- Enabled evaluation in vignettes for dynamic content generation.
@e-kotov e-kotov marked this pull request as draft May 6, 2026 06:44
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

Successfully merging this pull request may close these issues.

feature request: lines linking points to underlying raster

1 participant