#include <stdio.h>
#include <math.h>
#include "svg.h"
/* カニッツアの三角形 */

int main(void){
    int i;
    
    start();
    rulers();

    stroke(0x000000);
    fill(0x000000);
    fillOpacity(1);
    strokeOpacity(1);

    rect(0, 29, 297, 152.5);
    stroke(0x00ffff);
    strokeWeight(0.8);
    for (i=2; i<9; i++){
        line(0,i*20+9,297,i*20+9);
    }
    for (i=0; i<15; i++){
        line(i*20,29,i*20,181.5);
    }
    stroke(0xff0000);
    strokeWeight(6);

    for (i=0; i<20; i++){
        line(-160+i*40,29,-8+i*40,181);
    }

    finish();
    return 0;
}
