Dim dot-art highlights with a levels pre-pass#73
Merged
itamarwe merged 2 commits intoJun 29, 2026
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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
8b31f86
into
claude/profile-dot-art-sampling-uo3vkz
3 checks passed
This was referenced Jun 29, 2026
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.
The bright shirt/face highlights in the profile dot-art were packing in so many stipple dots that they read as a blown-out white blob. This adds a highlight rolloff ("levels"-style pre-pass) to the stipple generator that dims the top of the brightness range before the dots are placed, while leaving the mid-tones essentially untouched — so the highlights get fewer, slightly smaller dots and open up into texture.
What changed
research/profile-dots/stipple.mjs: applyb' = b * (1 - HL_DIM * b^HL_POW)(HL_DIM=0.42,HL_POW=2.5) to the brightness field before computing stipple density and dot radius. Theb^HL_POWfactor concentrates the dimming in the highlights.public/img/profile-dots/points.json(same 8000 dots, redistributed away from the over-dense highlights).research/profile-dots/README.md: documented the pre-pass.Verification
Rendered a before/after of the two point sets headlessly: the bright chest goes from a solid white mass to distinct, evenly-spaced dots, with the face and overall form preserved and tonality more balanced.
Note on base branch
This stacks on top of
claude/profile-dot-art-sampling-uo3vkz(PR #72), since it depends on the dot-art generator and points that aren't onmasteryet. Base is set to that branch so the diff shows only the highlight change. It can be retargeted tomasteronce #72 merges.🤖 Generated with Claude Code
Generated by Claude Code