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

'tiling' pattern #13

Closed
trevorld opened this issue May 20, 2021 · 3 comments
Closed

'tiling' pattern #13

trevorld opened this issue May 20, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@trevorld
Copy link
Owner

  • Tiling by convex regular polygons in a 'geometry' pattern would be nice
  • In particular tiling with Dissected regular polygons would be cool
  • In particular focus on a dissected 'hex' pattern?
  • The 'magick' pattern already supports some 'tiling' patterns in an 'array' pattern...
  • The 'image' pattern with the 'tile' type could also support some tiling with carefully chosen images...
@trevorld trevorld added the enhancement New feature or request label May 20, 2021
trevorld added a commit that referenced this issue May 31, 2021
* 'grid.pattern_regular_polygon()' provides support
  for regular polygon patterns
* can be used to achieve a variety of 'tiling' patterns (#13)

closes #20
trevorld added a commit that referenced this issue Jun 1, 2021
* Allows use of the argument ``xoffset`` and ``yoffset``.
* Allows use of argument ``type`` to setup a "hex" arrangement instead of default "square" arrangement.
* Use of multiple ``fill`` colors now produces a more attractive pattern.
* Use of ``density`` greater than ``1`` will now sometimes give an attractive result.
* Uses ``{sf}`` to clip circles to boundary instead of ``{gridGeometry}``.

Allows for new tiling #13
closes #17, closes #22
@trevorld
Copy link
Owner Author

trevorld commented Jun 1, 2021

trevorld added a commit that referenced this issue Jun 2, 2021
* Use more helper functions to simplify 'regular_polygon' code
  and looking forward to lining up 'crosshatch' spacing
  with 'regular_polygon' spacing (#24) which will enable
  more tiling possibilities (#13)
* Move helper functions to new 'utils-params.R'
* Move helper functions to new 'utils-sf.R'
@trevorld
Copy link
Owner Author

trevorld commented Jun 8, 2021

I wrote a vignette highlighting several of the regular polygon tilings achievable using grid.pattern_regular_polygon(): https://trevorldavis.com/R/gridpattern/dev/articles/tiling.html

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