Skip to content

Conversation

@willdunklin
Copy link
Contributor

Changed voronoi tesselation to respect frame dimensions during distance calculations.

Previously, because the tesselation is based on the centroids of frames, the distance metric used by the algorithm mishandled non-square frame sizes. In effect, horizontal distance in frames had precedence over vertical distance, resulting in partially clipped regions & lost data. This has been corrected by scaling frames to be square during tesselation.

@willdunklin
Copy link
Contributor Author

Here's a relevant boundary with distance errors present in the old algorithm:

Screenshot from 2024-06-20 14-56-11

Compared to the new square frame size computation results:

Screenshot from 2024-06-20 14-51-38

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.

2 participants