feat: polyhedra zoo, Glyph rename, camera-wraps-scene, rasterizer + gallery overhaul#3
Merged
Conversation
…braille/runes palettes
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.
Summary
Big consolidated branch covering several connected workstreams since
main.Core / geometry
@glyphcss/corecovering the Platonic solids, Kepler-Poinsot stars, Archimedean / Catalan duals, prism / antiprism / bipyramid / trapezohedron families, and round primitives (sphere, cylinder, cone, torus, pyramid).resolveGeometry(name, opts)lookup over 44 generators (used by<GlyphMesh geometry=\"…\">in React / Vue / HTML).API surface
Glyphcss*→Glyph*across components, hooks, vanilla factories, and custom-element tags. No BC shims.<GlyphCamera>is the ergonomic default — an orthographic alias. Perspective remains explicit.<GlyphMesh geometry=\"…\">in all three bindings.Rasterizer
Examples scaffold
examples/{vanilla,html,react,vue}/{baked-shapes,solid-mesh,hotspot}apps demonstrating cross-path parity. All useautoSize: true.Gallery
website/src/glyph-runtime.tsto the publiccreateGlyphSceneAPI so library fixes propagate.inline-block+isolation: isolate), reconnected line-height slider, fixed vertical drag direction.autoSizecols/rowsto the host's box via ResizeObserver + monospace cell probe.Docs
api/{react,vue,html}.mdxpages registered in the sidebar.Test plan
pnpm test— full vitest suite acrosscore/glyphcss/react/vuepnpm build— packages + website (catches DTS / declaration breakage that vitest misses)/introductionrenders the apple mesh in solid mode/gallery— switch between primitives, OBJ / GLB / VOX, wireframe + solid, all glyph palettesprimitive-cubeshows 12 edges only (no face diagonals)rotationexamples/<framework>/<scene>/app boots and renders against the published API