<script src="http://spelprogrammering.nu/simple.js"> function start() { math.rotate3D(0.2, 0.25, 0.36); p = {x: 1, y: 1, z: 1}; } function update() { clearScreen(); math.axes3D(); math.point3D(p.x, p.y, p.z, "green"); p = math.calculate3DRotatedCoordinates(p.x, p.y, p.z, 0, 0, 0.02); } </script>