Repository navigation
feat(examples): show how the reprojection explainer measures error - #702
Merged
kylebarron merged 5 commits intoOct 13, 2026
Merged
Conversation
…ntil it is calculated. Don't show max error until it is calculated.
- Restore the original slide text and the first attempt's error display, and show the image outline from the first slide again. - Drop the edge-flip slide and its flip detection: the explainer doesn't need to show every part of the algorithm. - Start the measure slide where the first attempt ends. Only the worst error's label is full size, and every label sits clear of its dot. - Fade the error tint as the mesh converges (squared log scale, clear at the final tolerance), instead of tinting relative to the current worst. - Drop the added captions. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
|
Thanks! I really like the idea of using the visual reprojection demo as a way to manage intractable or hard to understand problems like the antimeridian. I did some iterations on this with Claude. In particular, I reverted a lot of the text to the original text, since that was text I wrote by hand, and I didn't want it to be converted to AI text. I also lessened the red tints over the iterations, and I took out the slide about meeting the delaunay condition. For now I don't feel like that fits in anywhere cleanly, and it's more of an underlying implementation detail than the rest of the reprojection handling. |
Member
|
I also rewrote the PR description so that the commit message would match it, I hope that's ok 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This description was written by Claude (Claude Code) on behalf of @kylebarron, not by @kylebarron or @willjnz.
Add a step to the reprojection explainer that shows how the mesh error is measured, and show each triangle's error while the mesh refines.
RasterReprojector's priority queue. The tint fades as the error shrinks (on a log scale), and a triangle below the threshold has none. Pausing on a split, or watching the slow first splits, shows the split triangle's test points.recordRefinementnow also records the test points of the seed triangles (seedSamples) and of each split triangle (split.samples), and every triangle's score after each step (seedScores,scores).measureTrianglereproduces the library's error metric, and the scores come from its private_errorsand_queueIndices. The explainer now has 7 steps (jump keys 1–7), and the README describes the new one.🤖 Written by Claude Code