mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-12 21:02:14 +00:00
The galaxy's sizing moves from fixed birth-to-full scaling to the real ask: every frame each card takes a tunable density fraction of the exact axis-aligned gap to its nearest neighbor (O(N²) over ~20 cards), so the field packs as tight as the Density knob allows and can never overlap — growth is eased so freed space fills organically, shrinking is instant so the guarantee never breaks. Wobble is now collision-safe (sizing measures wobbled positions) but defaults to 0. Cards travel past the viewport corner before wrapping, so the death is never on screen; the exit fade is gone (birth fade stays) and the arm linework extends past the exit. Corners get a tunable radius via a rounded-rect SDF in the card shader, with the hairline frame drawn as a band riding the same edge (replacing the rectangular EdgesGeometry frames). Clip playback start points are staggered across each clip's duration so loop resets never line up across the wall. Claude-Session: https://claude.ai/code/session_01YBoaBEt3gynzTwogBFtn4B