<script src="http://spelprogrammering.nu/simple.js">
function start()
{
  math.rotate3D(0.2, 0.25, 0.36);
  math.axes3D();

  for (var v = 0; v < 2*pi; v += (2*pi/60))
  {
    math.sphericalLine(2.8, 0.5, v, "silver");
    math.sphericalPoint(2.8, 0.5, v, "orange");
  }

  math.sphericalPoint(2.8, 0.5, 0, "blue");
  math.sphericalPoint(2.8, 0.5, pi/2, "green");
  math.sphericalPoint(2.8, 0.5, pi, "red");
}
</script>
        
Gå tillbaka