#include <stdio.h>
#include <math.h>
#include "svg.h"

int main(void){
    int i,j,col;
    
    start();
    rulers();

    fill(0xffff00);
    stroke(0x0000ff);
    strokeWeight(1);

    fill(0xff0000);
    textFont("Verdana", 12);
    text("Kagawa Univ.", 20, 40);

    for (i=2; i<5; i++) {
        col=0;
        for (j=1; j<7; j++) {
            if(i==2){
                fill(0xff0000+col*0x000030);
            }else if(i==3){
                fill(0x0000ff+col*0x003000);
            }else{
                fill(0x00ff00+col*0x300000);
            }
            arc(40*j, 40*i, 20, 20, 360, 0);
            col++;
        }
    }

    finish();
    return 0;
}
