ashlee3dee_Processing/SquineWave/SquineWave.pde

void setup() {
  size(400, 400);
}

void draw() {
  background(0);
  stroke(255);
  strokeWeight(2);
  pushMatrix();
  translate(0, height/2);
  for (int i=0; i < width; i++) {
    stroke(color(0, 0, 255));
    point(i, squine(i/50f, 10f)*100);
    stroke(color(0, 255, 0));
    point(i, sin(i/50f)*100);
  }
  popMatrix();
}
float squine(float t, float k) {
  return 1f-(2/(1f+pow(exp(k), (sin(t)))));
}
