Endless Stairs: Infinite Streamed Staircase and Themed Areas Kit
README.md
layout
Where every chunk of an endless staircase is, from its seed. Splits the course into areas of areaLength metres (one theme each), plans each area (gate chunk then weighted stair shapes) from hash(seed, area), and chains area start frames so the course is continuous. Keeps one tiny checkpoint per area plus a small cache of full plans, so memory stays flat however far a run goes. Also answers centre-line position/yaw (planAt), walking-surface height (heightAt), wall line (railLine) and width (halfWidth) inside a chunk. Called by endlessStairs.course.