Interesting "pattern"

Code
int r = 300;
void setup() { size(600,600); }
void draw() {
  background(0);
  noFill();
  stroke(255);
  for(float i = 0; i < 600; i+=0.1) {
    drawLine(i,300,cos(i/sqrt(300)*15*PI/3)*r);
  }
  stroke(255,0,0);
  circle(300,300,r*2);
}
void drawLine(float x,float y,float h) {
  line(x,y-h,x,y+h);
}