Skip to content

fix(registry): halftone fidelity - #8

Merged
KacemMathlouthi merged 8 commits into
mainfrom
fix/halftone-fidelity
Aug 30, 2026
Merged

KacemMathlouthi merged 8 commits into
mainfrom
fix/halftone-fidelity

Conversation

@KacemMathlouthi

@KacemMathlouthi KacemMathlouthi commented Aug 30, 2026 •

Copy link
Copy Markdown
Owner
  • Paint dot area as the cell's own tone. Coverage, source tone and depth each entered through a floor, so every logo arrived the same flat grey. dotScale is now measured against a full-coverage halftone dot — same default, different paint.
  • Read tone as contrast against the surface the artwork sits on rather than the source's own range, so mid shades keep their weight.
  • Measure the lattice floor in device pixels, not CSS pixels, so small marks keep their shape instead of collapsing to a handful of dots.
  • Resample the lattice by area when consolidating, so edges lose the uneven beat they picked up.
  • Size the playground preview bake by device pixels so the grid control reaches it; close the gap above the preset picker's first category.
  • Mirror the renderer's tone law in the launch video.
  • Tests and changesets updated; public/r regenerated.

Breaking: one major changeset — the same dotScale value paints differently.


Summary by cubic

Fixes halftone dot rendering so painted area matches each cell's own tone, and small marks keep their shape on high-DPI screens. dotScale now measures against a full-coverage halftone dot — the same default value paints differently, so this is a breaking change.

Bug Fixes

  • Tone is read as contrast against the surface the artwork sits on, not the source's own range, so mid shades keep their weight.
  • The lattice floor is measured in device pixels, so small marks don't collapse to a few dots.
  • Lattice resampling by area removes the uneven edge beat when consolidating.
  • The playground preview bake is sized by device pixels so the grid control reaches it, and the preset picker gap is closed.
  • The launch video's tone law now mirrors the renderer's.

Written for commit f4f85c0. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Aug 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
benday-playground Ready Ready Preview Aug 30, 2026 4:07pm

@KacemMathlouthi
KacemMathlouthi merged commit 193bb21 into main Aug 30, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — f4f85c06 Deployed Aug 30, 2026 by vercel[bot]
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.

1 participant