itch.io is community of indie game creators and players

Devlogs

Getting started with Three.js

Winter Wonderland! - Student Project
A browser Student Project made in HTML5

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

experimenting with three.js