Posted December 03, 2018 by Anniecooke
#Three.js #student #pro #christmas
Getting started getting to grips with Three.js this week.
To start off with Three.js I began by creating a simple rotating normal material cube. The ‘Hello World’ of Three.js, this is important as it gives me a chance to play around with setting up the camera, rendering my scene and adding geometry’s and so on. I created an array of four blocks in a line. I also experimented with materials I took from some example code found here: https://threejs.org/examples/?q=mater#webgl_materials