{"repo":"countertype/three-text","free":true,"listed":false,"github":"https://github.com/countertype/three-text","clone":"git clone https://github.com/countertype/three-text.git","description":"High fidelity 3D font rendering and text layout for the web, supporting Three.js with additional adapters for p5.js, WebGPU, and WebGL","language":"TypeScript","stars":121,"topics":["3d","agg","animation","font","fonts","harfbuzz","hyphenation","knuth-plass","line-breaking","tex"],"license":"MIT","category":"game-templates","readme_excerpt":"three-text High fidelity 3D text rendering and layout for the web Live demo Overview [!CAUTION] three-text is in alpha release and the API may break rapidly. This warning will likely last until summer of 2026. If API stability is important to you, consider pinning your version. Community feedback is encouraged; please open an issue if you have any suggestions or feedback, thank you three-text is a 3D font rendering and text layout library for the web. It supports TTF, OTF, WOFF, and WOFF2 font files and uses TeX-based parameters for layout, with support for CJK and RTL scripts. Two rendering pipelines share the same core: mesh (extrudable, deformable geometry) and vector (resolution-independent GPU outlines). Contours and geometries are cached per glyph for low CPU overhead in text-heavy scenes. Variable fonts are supported The library has a framework-agnostic core with lightweight adapters for Three.js, React Three Fiber, p5.js, WebGL, and WebGPU Table of contents - Overview - Getting started - Architecture - Mesh vs vector - Basic Usage - Coordinate systems - Development and examples - Why three-text? - Library structure - Key concepts and methods - Configuration - Querying text content - API reference - Memory management - Debugging - Browser compatibility - Testing - Build system - Entry points - Build outputs - Acknowledgements - License Getting started For Three.js projects, also install: harfbuzzjs is a direct dependency and will be installed automatically Architecture","default_branch":null,"files":null,"tree":[],"storefront":"/r/countertype","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/countertype/three-text/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}