Skip to content

Fixed draw selection to be better overall#209

Open
ReverM wants to merge 1 commit intoswaroopg92:masterfrom
ReverM:irregRotationFixes
Open

Fixed draw selection to be better overall#209
ReverM wants to merge 1 commit intoswaroopg92:masterfrom
ReverM:irregRotationFixes

Conversation

@ReverM
Copy link
Copy Markdown

@ReverM ReverM commented Dec 1, 2025

Completely redid the draw_selection method to be less complex, and better with irregular grids.

This uses fancy linear algebra to find the vertices of the inner selection shape. There is an improvement to be made regarding actually projecting to a vector perpendicular to the side, but this only affects the penrose tiling at the moment so I believe it is passable. Please let me know if the look of draw_selection for penrose is too odd.

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.

1 participant