User Supplied Epic Images in ThreeJS using Drupal
I have now built in the ability to use a user submitted image INSIDE the spheres of Epic cool three.js demo on XGeneration.net!
All you have to do is log in (Facebook log in or register for an account) then revisit this page and use the "Upload Picture" button above (Button appears when logged in).
You can now upload an image of any dimension and size up to 3MB and it will work.
Remember, you can right click and save the image on a desktop PC also - so please try and it out, submit an image and share the image in the comments below so everyone can see it also.
Final note on browser support - to pull off this feature, we had to leverage a pretty new html specification, the "iframe scrdoc" attribute. To see a list of all the browsers it will work in, please visit http://caniuse.com/#feat=iframe-srcdoc.
Main browsers supported include all modern browsers with the exceptions of Microsoft Edge, which appears to be taking over where IE left off in not having key features or following standards like all the other browsers.