Polish about page portrait and navigation#76
Merged
Conversation
The bright shirt/face highlights were packing in so many stipple dots they read as a blown-out white blob. Add a highlight rolloff to the generator (b' = b * (1 - HL_DIM * b^HL_POW), HL_DIM=0.42) that dims the top of the brightness range before stippling while leaving the mid-tones alone, so the highlights get fewer, slightly smaller dots and open up into texture. Regenerated public/img/profile-dots/points.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017TDdCdTJbUkH7ZoWDhj7AV
A bit more rolloff at the high end so the brightest chest/shirt opens up further into even dots. Regenerated points.json. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017TDdCdTJbUkH7ZoWDhj7AV
Density now mixes tone with edges so the dots follow image *information*: rho = tone^GAMMA * (FLAT_BASE + EDGE_GAIN * edge), where edge is a blurred Sobel magnitude. The face/hair/beard/collar pack in many more dots while the flat t-shirt thins out; tone still gates the figure against the empty background. Separate foreground from background without a transparent PNG: the subject is far brighter than the near-black backdrop, so a flood fill of dark pixels from the image border yields a clean foreground mask. Each emitted point carries an fg flag (output is now stride 4: x,y,b,fg). ProfileDots reads the flag and lets the background dots drift with a loose Brownian wander (weak tether + random kicks) while the figure animates exactly as before. Breathing now pivots on the foreground centroid, and the cursor repulsion is shared by both. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017TDdCdTJbUkH7ZoWDhj7AV
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
Verification