package sample.svg.contributed;
import static util.SVGUtil.*;

public class Matsu1 {
	public static void main(String[] args) {
		int i;

		start();
		rulers();

		fill(0xffff00);
		stroke(0x0000ff);
		strokeWeight(1);

		fill(0x00ff00);
		textFont("Verdana", 12);
		text("Kagawa Univ.", 20, 50);

		translate(74, 105);

		for (i=0; i<12; i++) {
			stroke(hsb1((i*2)/29.0, 1, 1));
			fill(hsb1((i*2)/29.0, 1, 1));
			rotate(PI/6);
			rect(20, 20, 20, 20);
		}

		translate(150, 0);
		for (i=0; i<24; i++) {
			stroke(hsb1((i*2)/29.0, 1, 1));
			fill(hsb1((i*2)/29.0, 1, 1));
			rotate(PI/12);
			rect(20, 20, 20, 20);
		}

		finish();		
		return;
	}
}
