<script src="http://spelprogrammering.nu/simple.js">
function start()
{
with(trig)
{
  axes();
  point(1, 1);
  point(1, 2);
  point(2, 1);
  
  line(1, 1, 1, 2);
  text(1.4, 0.8, 20, "a");
  
  line(1, 1, 2, 1);
  text(0.8, 1.4, 20, "b");
  
  line(2, 1, 1, 2);
  text(1.6, 1.5, 20, "c");
}
/*
  math.axes();
  math.point(1, 1);
  math.point(1, 2);
  math.point(2, 1);
  
  math.line(1, 1, 1, 2);
  math.text(1.4, 0.8, 20, "a");
  
  math.line(1, 1, 2, 1);
  math.text(0.8, 1.4, 20, "b");
  
  math.line(2, 1, 1, 2);
  math.text(1.6, 1.5, 20, "c");
*/
}
</script>
        
Gå tillbaka