This three.js demo aims to demontrate the generateText() function, and can be found right here: https://github.com/MQDev/three.js/generateText

Example of how to use it you'll find here.