clone

an endless marble-race generator in the browser; the url is the seed, so every track can be shared

Polygon offsets kill z-fighting: island caps, glass arch flanges, wire lattices

Dami committed 7a7cede
Cap tiles lie exactly coplanar with the cliff-block tops beneath them
(the distance shimmer on island tops) — cap materials pull toward the
camera (factor/units -1). Glass tunnel arches push back (+1) so the
opaque rim wins the contact line; wire lattices pull forward (-1) so
edges on the rim surface draw clean. Browser-verified on both tunnel
variants + glass marbles, 0 console errors; 116 tests green.
commit
7a7cede3250050d93f506b09210468eabcd08a17
parent
13c41feb8e1643ac7a326c31d2e3d17e866cdc09
author
Dami <dami.etoile@gmail.com>
2 files changed, +17 -0
Msrc/client/islandRender.ts8++++++++
Msrc/client/marbleGlass.ts9+++++++++
M src/client/islandRender.ts +8 -0
M src/client/marbleGlass.ts +9 -0