Sunday, June 14, 2015

3D Rotating Square with WebGL in Three.js


 


Output Image (Compressed with GFYCAT) :- http://gfycat.com/WiltedReasonableFirefly
Full Screen Demo :- http://jsbin.com/hemaxe/1
Code (With Output) (Hosted in JSBin) :- http://jsbin.com/hemaxe/1/edit?html,output


In the live demo the image is not shown. Its a proxy problem with the Three.js library. When it will be fixed it will be done. If you the image you see above with the image is when I run the code in my localhost. The code for that is given below.

Replace the image url in the above code with any image you like. Make sure you give the right path else it won't work.


0 comments :

Post a Comment

Follow Me!

Blog Archive

Followers

Visitor Map