mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-26 19:46:58 -06:00
The row count came from 1/(1.5*rh) - the row spacing alone - and ignored how far a settled hexagon actually reaches. On a 16:9 slide the eleven rows stopped at ~75% of the height: from t~0.9, when every cell has settled, the bottom quarter was plain black until the t=1 endpoint snapped to the full new slide. The count now derives from the real geometry: rows sit 0.866*rh apart and the flat bottom zone of a settled hexagon reaches 0.289*rh past its centre, so counting to the flat-zone reach covers the slide for every aspect ratio - counting to the vertex reach still left small V-notches of black above the bottom edge on about a third of them (US Letter, square, ...). 16:9 gains four rows (15, was 11), 4:3 seven (20, was 13). Tests: at t=0.99, when every cell is settled and the seams are nearly closed, a 0.02-step grid over the slide must sit inside settled incoming cells (padded 1% past the hairline seams) on five aspect ratios including US Letter and square. Fails on the old count at (0.2, 0.74); before/after frames rendered with render-transition.