Repository navigation
feat(site): a depth curvature check beside the head-turn preview - #83
Merged
Merged
Conversation
A new page, /demos/head-turn/curvature/, shows the original painting displaced by its depth map, with no rig. A single WebGL fragment shader samples each pixel at its position plus depth times a pointer-driven camera offset (max 3% of width at strength 1, exponentially damped). The panel has strength, depth gamma/contrast/bias, a Show depth toggle and Centre, and is collapsed on phones. It is a tool for reading the depth map, not the head-turn feature, and its caption says so. The depth map (1359x2000) is a crop of the painting's frame (1368x2000), not a scaled copy. Fitted on 1,920 rows of silhouette edges it is x = 0.99908 x' - 2.939, with a residual median of 0.17 px (p90 1.09), against a median of 2.77 px for a uniform stretch. It is resampled into the painting's frame ahead of time, so the shader carries no registration. The head-turn wrapper gains one link; the hash-pinned bundle is untouched. verify checks the page's five files, its caption, its relative references and the links both ways, with a negative control. Co-Authored-By: Roa <342598975+fj-roa[bot]@users.noreply.github.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Adds
/demos/head-turn/curvature/: the original painting displaced by its depth map, with no rig. It is a tool for reading the depth map; the method follows a shader-based fake-3D effect. The head-turn page links to it, and the hash-pinned bundle is unchanged.bun test srcbun run build+bun run verify🤖 Generated with Claude Code