🌍 Public
Viewing a saved revision (read-only)
df91ecdff6ab40c48a7a7b8f8bd2c007
three.js webgl - simple text from json
This example renders the text "Three.js\nStroke text." as 3D geometry in a WebGL scene using Three.js. A `FontLoader` loads a typeface JSON file containing glyph outlines, from which `generateShapes` creates filled shapes with semi-transparent material and stroked outlines with darker material. The scene includes an `OrbitControls` camera for interactive rotation and a light gray background. The rendering highlights both the filled and stroked paths of each character.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.