title: ThreeJS render text in canvas as texture and then apply to a plane?
body: <p>I've been looking all day for a way to procedurally generate 2d texture with text in them so that I can apply them as a texture to a plane. Basically, I want to be able to change what text shows up in my WebGL page without having to just use texture made in an image editing program. I'm aiming to be able to edit the content of the page just as easily as with a totally 2d page, just edit the code and bam, it's there. </p>
  
  <p>The most promising method I've seen to accomplish this is to render the text in a blank canvas with CSS, use that canvas as a texture which ThreeJS makes very easy, and then apply that texture to a plane that I can place wherever in the 3d environment.
  I've attempted to accomplish this by adapting this example to my needs: <a href="http://jsfiddle.net/sSD65/28/" rel="noreferrer">http://jsfiddle.net/sSD65/28/</a></p>
  
  <p>However, I end up with a totally black page, indicating an error somewhere. An error that I cannot, for the life of me, find and fix. I have a feeling I'm missing something because of my lack of experience with ThreeJS and in fact Javascript in general so I've come here to ask for your help. </p>
  
  <p>I really appreciate any help I can get here. 
  Here's a link to the page, although I don't think you will be able to view it properly without hosting it locally since I'm loading an image from a folder there, but Python is wonderful for that. Just use Python -m SimpleHTTPServer in the console once you've navigated to that folder and it will host it locally so that you can access it from "http://localhost:8000/homepage.html": <a href="https://dl.dropbox.com/u/40043006/WebGLTest.zip" rel="noreferrer">https://dl.dropbox.com/u/40043006/WebGLTest.zip</a></p>