TextSprite Class
Text sprite is used to represent text as a sprite.
This approach is memory expensive since it needs to write a new texture for each text. But allows the used to access any font available in the browser.
The text is rendered to canvas and then copied to a texture. It automatically ajusts the object scale to match the text aspect.