So, i tried my hand on three.js to have a small animation... basically a CUBE having shadow, and camera is moving in a circular fashion around the cube.
Very basic but first one.
important points,
1) lights are very important, without that it will be black.
2) high light number produce more bright light
Code is here,
https://github.com/tapeshmaheshwari/JavaScript/blob/master/initial_experiment/first_example.html
Very basic but first one.
important points,
1) lights are very important, without that it will be black.
2) high light number produce more bright light
Code is here,
https://github.com/tapeshmaheshwari/JavaScript/blob/master/initial_experiment/first_example.html