┌─ package managers ─┐
$ npm install glyphcss $ npm install @glyphcss/react $ npm install @glyphcss/vue ┌─ cdn ─┐
<script type="module" src="https://esm.sh/glyphcss/elements"></script> >
glyphcss loads OBJ, glTF, GLB, STL, and VOX mesh files. Each scene
renders into a single <pre>: the rasteriser
projects every polygon, fills a cols × rows character
grid, and writes one string to textContent per render.
There are no per-polygon DOM nodes and no matrix3d.
>
Interactivity is opt-in and sparse: drop a <GlyphHotspot>
at any 3D anchor and glyphcss emits one absolutely-positioned
<div> over the projected cell. Real DOM events,
real :hover styles, real role="button"
accessibility — without one DOM node per polygon.
>
glyphcss provides custom elements (<glyph-scene>, <glyph-mesh>),
an imperative createGlyphScene API, and optional React / Vue bindings.
Use whichever entry point fits your stack.
<script type="module" src="https://esm.sh/glyphcss/elements"></script>
<glyph-camera rot-x="23" zoom="1.3">
<glyph-scene>
<glyph-orbit-controls drag wheel></glyph-orbit-controls>
<glyph-mesh geometry="dodecahedron">
<glyph-hotspot at="0,1,0"></glyph-hotspot>
</glyph-mesh>
</glyph-scene>
</glyph-camera>