0.6.0 • Published 5 years ago
three-text2d v0.6.0
three-text2d
Render texture from canvas into THREE's Mesh or Sprite.
Usage
Mesh
import { MeshText2D, textAlign } from 'three-text2d'
var text = new MeshText2D("RIGHT", { align: textAlign.right, font: '30px Arial', fillStyle: '#000000', antialias: true })
scene.add(text)
Sprite
import { SpriteText2D, textAlign } from 'three-text2d'
var sprite = new SpriteText2D("SPRITE", { align: textAlign.center, font: '40px Arial', fillStyle: '#000000' , antialias: false })
scene.add(sprite)
License
MIT
0.6.0
5 years ago
0.5.3
6 years ago
0.5.2
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.4.1
7 years ago
0.3.4
8 years ago
0.3.3
8 years ago
0.3.2
8 years ago
0.3.1
8 years ago
0.3.0
9 years ago
0.3.0-rc2
9 years ago
0.3.0-rc1
9 years ago
0.2.3-rc1
9 years ago
0.2.2
9 years ago
0.2.1
9 years ago
0.2.0
9 years ago
0.1.1
9 years ago
0.1.0
9 years ago