Skip to content

jeromeetienne/threex.text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

threex.text

threex.text is a threex game extension for three.js which makes it easy to add 3d text in your game. You can use it to create a big logo on top of a shop or a big sign of any kind Las Vegas style. Up to you to see :) It is very flexible. You can fine tune lots of parameters to make it fit your needs. You can choose the fonts, the size, the bevel, the weight etc...

Show Don't Tell

A Screenshot

screenshot

How To Install It

You can install it via script tag

<script src='threex.text.js'></script>

Or you can install with bower, as you wish.

bower install threex.text

How To Use It

Here is a very basic usage

var mesh	= new THREEx.Text('THREEx')
scene.add(mesh)

Here is another example with more parameters. The options are passed directly to THREE.TextGeometry. See three.js docs for details.

var mesh	= new THREEx.Text('THREEx', {
	font		: "droid serif",
	weight		: "bold",
	size		: 1,
	height		: 0.4,
})
scene.add(mesh)

Releases

No releases published

Packages

No packages published