A simple 3D engine for JavaScript and the Canvas element