How to use three-spritetext - 1 common examples

To help you get started, we’ve selected a few three-spritetext examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rapyuta-robotics / amphion / src / primitives / ViewFacingText.js View on Github external
constructor(text) {
    super();
    this.color = new Color(1, 1, 1);
    this.text = new SpriteText(text, 1, `#${this.color.getHexString()}`);
    this.add(this.text);
  }

three-spritetext

A sprite based text component for ThreeJS

MIT
Latest version published 3 months ago

Package Health Score

68 / 100
Full package analysis

Popular three-spritetext functions