Skip to content

Feat: Quadray polar grids + camera fix + Phase 6 N-gon plan#96

Merged
arossti merged 3 commits intomainfrom
Gravity
Feb 15, 2026
Merged

Feat: Quadray polar grids + camera fix + Phase 6 N-gon plan#96
arossti merged 3 commits intomainfrom
Gravity

Conversation

@arossti
Copy link
Owner

@arossti arossti commented Feb 15, 2026

Summary

  • Quadray polar grids: 4 tetrahedral face planes (⊥ QW/QX/QY/QZ) with Weierstrass concentric circles
  • Camera far plane extended from 1000 to 10000 (fixes clipping at high zoom-out)
  • Retired broken gravity-chordal/gravity-spherical modes from Central Angle grids
  • Phase 6 (Great-Circle-as-N-gon) workplan added to Gravity-Grids.md

Changes

  • modules/rt-grids.js: New createQuadrayPolarPlane() with in-plane orthonormal basis; buildQuadrayPlanes() branches polar→4 face planes, uniform→6 Central Angle; stripped gravity modes from createIVMGrid(); removed unused ARC_SEGMENTS_PER_EDGE constant
  • modules/rt-rendering.js: Camera far plane 1000→10000; dynamic window globals for both IVM and face plane keys
  • index.html: Removed "Gravity" button from Central Angle UI; updated Polar button tooltip
  • Geometry documents/Gravity-Grids.md: Phase 3 marked done, Phase 6 N-gon geodesic plan added

🤖 Generated with Claude Code

Co-Authored-By: Andy🤦‍♂️ & Claude🤖 andy@openbuilding.ca

Gravity grids at high divisions (100+) were clipped by camera
frustum when zoomed out on diagonal views (QW, Axo).

🤖 Co-Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Andy🤦‍♂️ & Claude🤖 <andy@openbuilding.ca>
Replace broken gravity-chordal/gravity-spherical triangular tessellation
with clean concentric circles on 4 tetrahedral face planes (⊥ QW/QX/QY/QZ).
Retire Gravity button, strip unused gravity modes from createIVMGrid(),
add createQuadrayPolarPlane() with in-plane orthonormal basis construction.

🤖 Co-Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Andy🤦‍♂️ & Claude🤖 <andy@openbuilding.ca>
… plan

Mark Quadray polar grids (4 face planes) as done. Add Phase 6 workplan:
great-circle-as-N-gon for polygonal geodesic generation. Fix QY face
plane color from blue to cyan for visibility.

🤖 Co-Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Andy🤦‍♂️ & Claude🤖 <andy@openbuilding.ca>
@arossti arossti self-assigned this Feb 15, 2026
@github-actions
Copy link

🤖 Claude Code Review

No issues found.


ℹ️ About this review

This automated review checks for:

  • Debug statements (console.log)
  • Commented-out code
  • Code duplication
  • Large functions (>50 lines)
  • Unused variables

Human review required - these are suggestions only.
Diff size: 34572 bytes

@arossti arossti merged commit 4289e5e into main Feb 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant