Page 10 - October_Newsletter_2017
P. 10
function render() {
mesh.rotation.x += 0.01;
mesh.rotation.y += 0.02;
renderer.render( scene, camera );
}
</script>
Barry then showed us some stunning 3D graphics that are available in the
free library. These ranged from simple rotating cubes to extremely so-
phisticated scenes with movement and corresponding shading. There are
a whole host of example to run and play with, as very often the routines
parameters can be changed to great effect.
The hard work and ingeniousness of the programmers is there to be seen
and you can even pore over the coding to see how it was done.
The whole package can be downloaded from https://threejs.org/ as a zip
file which when uncompressed only requires around 450MB. There are
so many samples in the library that you could be whiling away a lot of
time enthralled in the complex ingenuity of it all.
Some corresponding sites that may well be worth a look are
http://davidscottlyons.com/threejs/presentations/frontporch14/
https://aerotwist.com/tutorials/getting-started-with-three-js/
http://learningthreejs.com/

