expo-three-text icon indicating copy to clipboard operation
expo-three-text copied to clipboard

Expo Three Text

Example of using text in Expo

  • expo: https://exp.host/@bacon/3D-text
  • snack: https://snack.expo.io/@bacon/three-simple-text

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
});

Links