<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, v, 0, "silver");
    math.sphericalPoint(2.8, v, 0, "orange");
  }

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