medieval-kit/my-registry/models
CRT bde0717e89 Stop createTinter sharing one Color, and fix what that was hiding
The tinter returned a single Color and mutated it on every call. The
reasoning was sound -- the geometry helpers read the colour immediately, so
an allocation per call is waste -- and it holds right up until two tints
appear as arguments of the SAME call:

    latheGeometry(profile, 7, origin, tint('char', 0.06),
      { colourTop: tint('charHot', -0.12) })

Both arguments are the same object and both carry whatever the second call
computed. That is why the torch's pitch head rendered hot orange instead of
black: the char never reached the geometry. The same mistake turned up
twice more in one session -- the anvil's stump came out painted in end
grain on every face, and the shovel nearly went the same way. Three
occurrences means the hazard belongs to the helper, not to the callers, and
a few hundred allocations at build time is not a price worth one class of
silent, invisible bug. `steelTint` and `ironTint` already allocate; the two
disagreeing was itself part of the trap.

With the colour actually arriving, the torch head is also fatter -- at 2.5
shaft radii it was a spindle, where a torch head is a fist of tow and rags
bound on, and it is the whole reason the object is not a stick -- and its
flame is shorter than the head that feeds it rather than twice its height.

The cart wheel's tyre was 23 mm of iron on a 0.52 m radius, set wider than
the wheel itself, and read as a pneumatic. A real tyre is 8 to 12 mm of bar
shrunk onto the felloe. It could not simply be narrowed: the felloe's axial
thickness jitters by ±7%, so anything from 0.93 to 1.07 of the width will
sooner or later share a plane with some piece, and the earlier fix for that
flicker was to go wider than the whole range at 1.1 -- which is what made it
look pneumatic. Going UNDER the range solves it the same way and is the
truer shape: the hoop is set into the tread, and on a worn wheel a sliver
of felloe shows at each edge where the iron has bedded in.

27 models, 19007 triangles, all checks pass, 0 floating cases, GLB
round-trip clean, Conformant, build clean.
2026-08-23 05:10:20 +00:00
..
bronze-bell Stand the bell's frame clear of the bell, and stop painting it brass 2026-08-22 07:02:22 +00:00
cart-wheel Stop createTinter sharing one Color, and fix what that was hiding 2026-08-23 05:10:20 +00:00
coin-pouch Bind the book the way a board binding is bound, and soften the pouch 2026-08-23 05:04:00 +00:00
core Stop createTinter sharing one Color, and fix what that was hiding 2026-08-23 05:10:20 +00:00
glass-phial Enforce "nothing floats", and rebuild the barrel from a reference photo 2026-08-21 12:23:11 +00:00
hay-bale Give the bale back its cylinder, and its cords back their thickness 2026-08-22 06:30:48 +00:00
iron-anvil Put the anvil on the block it is used on 2026-08-23 04:13:46 +00:00
iron-lantern Give the tankard a handle you could hold, and the lantern one at all 2026-08-22 04:54:54 +00:00
leather-book Bind the book the way a board binding is bound, and soften the pouch 2026-08-23 05:04:00 +00:00
linen-sack Reshape the sack so it stops being an amphora 2026-08-22 07:05:31 +00:00
log-pile Fix the log pile's axis, and finish translating the repo 2026-08-21 12:34:44 +00:00
oak-tankard Give the tankard a handle you could hold, and the lantern one at all 2026-08-22 04:54:54 +00:00
pitch-torch Stop createTinter sharing one Color, and fix what that was hiding 2026-08-23 05:10:20 +00:00
straw-broom Make the besom spray, and stop cutting its twigs to one length 2026-08-22 06:25:08 +00:00
tavern-sign Give the sign real ironwork, and hang the board from what it hangs on 2026-08-22 06:40:31 +00:00
trestle-table Thicken the bench and the table, and cut the arch into the bench's legs 2026-08-23 04:51:01 +00:00
wicker-basket Close the basket's weave, fill it, and stop calling willow straw 2026-08-22 05:08:56 +00:00
wooden-barrel Enforce "nothing floats", and rebuild the barrel from a reference photo 2026-08-21 12:23:11 +00:00
wooden-bench Thicken the bench and the table, and cut the arch into the bench's legs 2026-08-23 04:51:01 +00:00
wooden-bucket Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-chest Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-crate Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-fence Translate the whole repository to English 2026-08-21 07:35:13 +00:00
wooden-hoe Build the hoe's blade as a dished sheet instead of a bent box 2026-08-23 04:57:59 +00:00
wooden-ladder Enforce "nothing floats", and rebuild the barrel from a reference photo 2026-08-21 12:23:11 +00:00
wooden-pitchfork Make the wooden tools wooden, and give the spade its handle 2026-08-23 04:21:37 +00:00
wooden-shovel Make the wooden tools wooden, and give the spade its handle 2026-08-23 04:21:37 +00:00
wooden-stool Translate the whole repository to English 2026-08-21 07:35:13 +00:00