Repository navigation
Conversation
The owner asked for a rounding slider "within reasonable ranges, no too
round dice that never settle". Measured at 20,000 throws a shape: at 12 %
every solid is fair but a coin's rounded rim rolls like a wheel, and 42
throws ran out the backstop against a bar of 2, with the d18's worst face at
0.98 % of a 1 % bound. At 8 % the coin sat exactly on its bar; at 6 % and
1.5 % nothing gave up and every shape passed with room. The settle harness,
which throws no coins, found nothing wrong anywhere up to 12 %.
DieMaterial.EdgeRoundingRange is the one place the range lives, so the
validator's clamp, the designer's slider, the harness and FairnessTest all
follow it. The figures are in physics-and-rendering.md ("How round a die
may be"); decision 100 records the bound, and 94 and 98 point to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This branch has not been deployed
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.



Measures the edge-rounding range decision 98 left open, and narrows it from 1.5–12 % to 1.5–6 %. The new cap applies to the face designer's slider and to a set file's
edge_roundingalike.Based on #389 (
feature/sample-dice-sets), stacked as.claude/CLAUDE.mdasks.Measured on the Pixel 10a, 2026-10-05
Fairness:
FairnessTest, every catalogue shape, 20,000 throws each.Settling:
tools/harness.sh -n 200 -c 20on d4, d6 and d20 at 1.5 %, 3 % and 12 %.What gives first is the coin: rounded enough, its rim rolls like a wheel until the twelve-second backstop. 6 % is twice the default and the last value with a margin.
Device suites, same session: 131 tests across app, designer, dicesets/install, feature/roll, render/filament and simulation/jolt. 0 failed. 3 declined: the opt-in gallery and harness tests, which skip themselves unless asked. That run includes the designer branch's
AtlasTextureTest, with 5 tests passing, its first time on a device.Change
DieMaterial.EdgeRoundingRange = 0.015..0.06. It is the single source for the validator's clamp, the designer's slider (now 10 positions), the harness's--roundingandFairnessTest'sedgeRounding.HarnessRoundingTestnow also refuses0.12.docs/physics-and-rendering.md("How round a die may be") has the tables above, replacing "not yet measured".docs/dice-sets.md,docs/face-designer.md(range, and the visibility table, whose top values halve),docs/build-setup.md, the prototype's slider (max="6"),design/README.md,docs/STATUS.mdanddocs/TODO.md. The measurement box is gone, and a 100,000-throw follow-up with coins in the harness is left.Checks (devcontainer)
verifyDocsIndex,verifyDocsLinksandverifyDesignSystempass.Note
A set already installed with
edge_roundingabove 0.06 now loads clamped, with the validator's usual warning.🤖 Generated with Claude Code