function drawScale(){
  for(let i=-14;i<47;i++){
    const win=i*2*Math.PI/60;
    let d=2;
    if(i%5==0){d=5;}
    g.fillPoly(zeiger(300,d,win),true);
    g.setColor(0,0,0);
    g.fillRect(10,10,2*c.x-10,2*c.x-10);
    g.setColor(1,1,1);
  }
}
//draws the scale once the app is startet
draws the scale once the app is startet
draws the scale once the app is startet
function drawScale(){
  for(let i=-14;i<47;i++){
    const win=i*2*Math.PI/60;
    let d=2;
    if(i%5==0){d=5;}
    g.fillPoly(zeiger(300,d,win),true);
    g.setColor(0,0,0);
    g.fillRect(10,10,2*c.x-10,2*c.x-10);
    g.setColor(1,1,1);
  }
}
function drawScale ( ) { for ( let i = - 14 ; i < 47 ; i ++ ) { const win = i * 2 * Math . PI / 60 ; let d = 2 ; if ( i % 5 == 0 ) { d = 5 ; } g . fillPoly ( zeiger ( 300 , d , win ) , true ) ; g . setColor ( 0 , 0 , 0 ) ; g . fillRect ( 10 , 10 , 2 * c . x - 10 , 2 * c . x - 10 ) ; g . setColor ( 1 , 1 , 1 ) ; } }
draws the scale once the app is startet
draws the scale once the app is startet