package sample.svg.contributed;
import static util.SVGUtil.*;

public class Shiraga1 {
    public static void main(String[] args){
        int i, angle = 50;
    
        start();
        rulers();

        noFill();
        translate(centerX(), centerY());
        scale(0.7, 0.7);
        for(i = 0; i < 50 ;i++){
            stroke(hsb360(i * 15,i * 5, i * 10));
            pushMatrix();

            rotate(radians((i * 25) + angle));
            translate(5, 0);

            bezier(0,0, 15+i,-20-(2 * i), 40+(3*i),90-(2*i), 60,60);
            popMatrix();
        }

        finish();
        return;
    }
}