aboutsummaryrefslogtreecommitdiffstats
path: root/csci4611/lec/hexagon/hexagon.pde
blob: 46eaf2e320a6cfeccfdc91f1f497ae82bca79f5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void setup() {
    size(800,800);
}

void draw() {
    background(255);
    noFill();
    beginShape();
    float lineCount=1000;
    for (float i = 0; i<=lineCount; i++) {
        vertex(i,400+200*cos(i/80));
    }
    endShape();
}