Claude/cuboctahedral tetrahedron array z78a4#2
Open
calexo-metacorp wants to merge 3 commits into
Open
Conversation
…m nucleus Construct, verify, and visualize an array of 64 regular tetrahedra (8 star tetrahedra x 8) on the isotropic vector matrix whose innermost vertices form a central cuboctahedron with radius = edge (Fuller's vector equilibrium), the balanced nuclear space of the array. - tetra64/geometry.mjs: dependency-free construction + verification - tetra64/generate.mjs: emits and checks tetra64.json (10/10 invariants pass) - tetra64/render-svg.mjs: static SVG snapshot - tetra64.html: self-contained interactive 3D viewer (live verification) https://claude.ai/code/session_01H3gemf4BCojCkaK3tNvGB3
A canvas is a replaced element, so position:fixed; inset:0 leaves it at its intrinsic 300x150 anchored top-left. Set explicit width/height:100% so the canvas fills the viewport and W/2,H/2 is the true screen centre. https://claude.ai/code/session_01H3gemf4BCojCkaK3tNvGB3
Compute the canvas size and drawing centre straight from the viewport instead of the canvas client box, eliminating any reliance on replaced-element layout quirks so the artifact always centres on screen. https://claude.ai/code/session_01H3gemf4BCojCkaK3tNvGB3
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.
No description provided.