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

more shape generators #17

Merged
merged 5 commits into from
Feb 19, 2023
Merged

Conversation

mgrider
Copy link
Contributor

@mgrider mgrider commented Feb 12, 2023

This PR adds a parallelogram generator, as well as an irregular hexagon grid generator. The irregular hexagon algorithm took a while to work out, but I think I'm happy with it now. (Definitely open to improvement!)

You can see this in action by checking out the feature-more-generators branch of mgrider/SKHexGrid and then pointing the hex-grid package at this branch, but I've also attached a screenshot of a 4x7 hexagon grid.

Simulator Screen Shot - iPad (10th generation) - 2023-02-12 at 17 44 30

Copy link
Owner

@fananek fananek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for PR

@fananek fananek merged commit ff25d73 into fananek:main Feb 19, 2023
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.

None yet

2 participants