Three.js用のフォントを変換する方法
- フォントを選択: Drag and drop your `.ttf` or `.otf` file into the upload zone.
- プレビュー: The tool will instantly render a 3D preview of your font using WebGL.
- 設定: (Optional) Use "Restrict Characters" to reduce file size by including only necessary glyphs.
- ダウンロード: Click "Convert & Download" to get your `.json` file.
なぜTypeface.jsonを使うのか?
Standard web fonts (WOFF/TTF) cannot be directly extruded into 3D geometry in Three.js. They must first be converted into a geometric description format called `typeface.json`.
This converter handles that process for you, creating a file that contains all the path data needed to generate 3D text meshes in your WebGL applications.