Tutorial #3: Callback
This tutorial will show how you can use a simple callback function — spinduck — to control what goes on in the scene.
Before we begin
- Ensure that you have a WebGL enabled browser. Tutorial #1 describes how to do this.
- Download the canvas 3d JS api. This tutorial was written using release 2.x+
- Set up the library along with a folder for you demo in the same manner as that described in Tutorial #2
- You will also need a model and texture for this tutorial. You can download a pre-made model of a duck here:
The HTML documentInside the mydemo folder, start by creating a simple html page.