mirror of
https://github.com/donlucasx/xscapes.git
synced 2026-10-20 08:43:32 +02:00
HIS NOTE, 2026-09-10: "can we have the stars appear randomly across the sky, instead of from left to right? Also can we spread them more vertically? currently sitting in a narrow band pretty high up". Both asks are ONE change, because the fix is to place in TWO DIMENSIONS rather than spread in x and hash y. THE SCATTER. Dart-throwing (Poisson-disk): each slot throws darts from the hash and takes the first that clears a minimum separation measured in SCREEN units, a row being worth two columns. Column-gap sd/mean goes 0.29-0.47 to 0.63-0.80 against a truly random sky's ~1.00 -- which is where it should sit, because a random sky COLLIDES and two touching stars read as one, which is a count error. ⚠ MITCHELL'S BEST-CANDIDATE WAS BUILT FIRST AND REJECTED, with the render to show why: maximising nearest-neighbour distance in a band 119 columns by 16 screen units tall produces ROWS -- at twelve stars, ten landed on two lines. Optimal spacing is not what a sky looks like. ⚠ The first four are still thrown as far apart as the band allows. Pure randomness from the first star puts the second beside it -- measured, two stars spanning 72 of 153 columns, which is the "two specks in the corner" s27 fixed. THE BAND. hy*3/5 becomes hy*3/4, and the bottom is MEASURED rather than picked: the deepest row a star still clears 40 luma at the worst hour (17:45, pale warm horizon). At 4/5 the dimmest measures exactly 40.0, on the bar, which is why it is 3/4. The ink adapts too -- the palette tone at the old fixed alpha stops reading at 0.36 of the sky, SHALLOWER than the band that already shipped, so the old band was over the line at some hours and nobody had measured it. ⭐⭐ AND HIS OTHER REPORT IS CLOSED, THE ONE I ANSWERED WRONG. He said stars were "appearing and dissapearing"; I said the constellation was steady, measured three ways. It was measured at SEED 7 ONLY. Swept over seeds 1/7/42 x 6 geometries x 101 context steps, the old layout has 891 of 1818 frames with the wrong count and 5 outright disappearances -- at 125x28 seed 1 with one star lit it draws ZERO, because that star's fixed cell lands on the disc and is skipped. The layout now keeps off the moon's whole COLUMN CORRIDOR rather than the cells it currently covers, so a sinking disc cannot eclipse anything: 0 of 1818. Two more holes closed on the way, neither reported: the deeper band collided with the context READOUT (50 hits over the sweep, losing a star for a stretch of the context range in 4 of 24 window-and-seed pairs), and no star was ever guaranteed out of the WATER -- foam() plots into the same near layer AFTER the constellation and wins the cell, which cost 2168 star-frames at 40x9. ⚠ UNRULED AND IN HERE: each slot now has a fixed MAGNITUDE, its alpha from 0.70 to opaque, so the sky is not a row of identical asterisks -- 6 distinct tones at night. It only ever runs upward from the legibility floor. He has not ruled on it; it is in what he is testing. ⚠ OPEN, both below the 40x12 design floor: at 40x12 two stars in one column on consecutive rows measure exactly 2.00 screen units and pass the bar -- 8 touching pairs at 19 stars, 97 at 32. And 30x8 draws 21 of 32 (the old layout drew 16). 14 new guarantees in star_spread_test.go. Cost 0.091 ms a frame at 125x28. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FpWuRRqmoTMo6ayCkx9yYZ