<script src="http://spelprogrammering.nu/simple.js">
function start() 
{
    factor = 2;
    scale(factor,factor);
    translate(-totalWidth/2+10,-70)

    math.arcRadians(0.4, pi/7, 4, "brown");
    math.line(0, 0, 4, 2, "brown", 5);
    math.line(0, 0, 4, 0, "brown", 5);
    math.line(4, 0, 4, 2, "brown", 5);

    math.text(1.7, 1,      33, "1");
    math.text(0.45, 0.05,  33, "v");
    math.text(1.6, -0.25, 33, "cos(v)");
    math.text(4.05, 1,    33, "sin(v)");
}
</script>
        
Gå tillbaka