Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use a more robust triangle test#2037

Merged
Fil merged 1 commit intomainfrom
fil/barycentric-precision
Mar 27, 2024
Merged

Use a more robust triangle test#2037
Fil merged 1 commit intomainfrom
fil/barycentric-precision

Conversation

@Fil
Copy link
Contributor

@Fil Fil commented Mar 26, 2024

fix #2035

A curious consequence of this change on the penguins-barycentric image: since a few pixels have become valid, the sequence of pseudo-random numbers that determines the color of each pixel in the mix is called on less elements, which shifts the pattern of pixels to the right. I triple-checked that this is not a bug: the densities (viewed by blurring) are correct.

shift.mp4

cc: @jheer

@Fil Fil requested a review from mbostock March 26, 2024 13:30
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.

Barycentric interpolator leaves some raster cells uninterpolated

2 participants