import static util.SVGUtil.*;

public class List207d {

    public static void main(String[] args) {
        int i, angle = 24, x = 2;
            
        start();
        rulers();

        noFill();
        
        // 左半分
        pushMatrix();
        translate(centerX()-60, centerY());

        for (i=0; i<30 ;i++) {
            stroke(hsb1(i/30.0, 1, 1));

            pushMatrix();

            rotate360(i*angle);
            translate(i*x, 0);
            rect(-5, -5, 10, 10);
            
            popMatrix();
        }
        popMatrix();
        
        // 右半分
        pushMatrix();
        translate(centerX()+60, centerY());

        angle = 36;
        for (i=0; i<30 ;i++) {
            stroke(hsb1(1-i/30.0, 1, 1));

            pushMatrix();

            rotate360(-i*angle);
            translate(i*x, 0);
            rect(-5, -5, 10, 10);
            
            popMatrix();
        }
        popMatrix();

        finish();
        return;
    }
}
