Home

Awesome

Expo Three Text

Example of using text in Expo

Example:

Convert your fonts to three.js text json with this tool: https://gero3.github.io/facetype.js/

const textMesh = new TextMesh();
textMesh.material = new THREE.MeshPhongMaterial({ color: 0x056ecf });
textMesh.update({
  text: 'Hey There :)',
  font: require('./three_fonts/neue_haas_unica_pro_medium.json'), // This accepts json, THREE.Font, or a uri to remote THREE.Font json
});
<img src="./demo.gif" width="281" height="500" />

Links