Repository navigation
Generative pools: varied shapes, sizes, bridges, piers, trampolines - #75
Merged
Merged
Conversation
Generation-2 poolrooms now draw a seeded basin: rectangle, Grecian, Roman end, oval, true-L, lazy-L, kidney, or freeform lagoon, from small plunge pools to hall-filling ones. Some get a footbridge or a pier that stops over open water, and some get a deck trampoline that bounces the player (a timed jump goes much higher). Coping, deck, and water follow the outline; Rapier gets per-segment convex coping and dry-deck floors inside the bounding box. Legacy v1 tapes, the opening pool, and colonnades keep the classic 16x25m basin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pools were always the same 16x25m lane rectangle. Generation-2 poolrooms now roll a seeded basin.
Unchanged: v1 tapes (goldens pass), the opening pool at 0,0, and colonnades keep the classic basin. Water stays at
POOL_WATER_Y, so #72's reflector and drips work as-is.Dev:
?visit=poolroom&pool=kidney(orbridge,pier,trampoline, any shape name) jumps to a matching pool.Tests:
tests/pool-shapes.test.tscovers variety and determinism, room margins, bridge and pier landings, trampolines staying dry, water clipped to the outline, and every batch merging. Real Rapier walks cross a full bridge at coping height, bounce on a trampoline, and stand in an L notch. 253/253 pass; typecheck, lint and shader checks are clean. Section build time matches the classic pool (~45ms median).Browser: checked shaped pools, a bridge, a pier and a trampoline in the dev build. One known quirk: loading straight into a shaped poolroom via
?visit=can leave the start-screen frame blank until you press record. Normal tapes start at the classic origin pool.🤖 Generated with Claude Code