<script src="http://spelprogrammering.nu/simple.js">
function start()
{
math.axes();
math.point(-3, 2, 3, "black", "(-3, 2)");
math.point(3, -1, 3, "black", "(3, -1)");
math.line(-3, 2, 3, -1, "black");
math.text(0.4, 0.3, 40, "c");
math.line(-3, 2, -3, -1, "red");
math.text(-3.3, 0.4, 40, "a", "green");
math.line(-3, -1, 3, -1, "red");
math.text(0.3, -1.35, 40, "b", "green");
}
</script>