This is post is part of the ‘one threex a day’ challenge. This challenge is to publish every day one game extension for three.js! One per day, every day and that for 2month! In this post, we gonna talk about 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…
To see the other posts about one threex a day and forget our moto! “A THREEx extension a day, gets your game on its way!”
Show Don’t Tell
- examples/basic.html [view source] : It shows a 3d text.
- examples/requirejs.html [view source] : It show a 3d text and it is all loaded thru require.js
How To Install It
You can install it via script tag
Or you can install with bower, as you wish.
How To Use It
Here is a very basic usage
Here is another example with more parameters. The options are passed directly
See three.js docs
1 2 3 4 5 6 7