Only using line commands

Hey guys!

I’m new to this whole processing thing. I have a project for a class and we can only use the line command. I’m trying to duplicate what i’ve done on the left side of my window to the right to make it look kind of like an eye shape. But I’m having difficulties. I want it to be a mirror image of other. Any clues? thanks

Here is my code:

void setup() {
size (1200,900);
background(0);
smooth();
noLoop();
}



void draw() {
for (int i=0; i<width; i+=10)
{
  //Left side curve
  
    strokeWeight(0.5);
stroke(i/2,50,200);
line(0,i,i,height);
} 

//right side curve (the one thats not working)
for (int i=0; i<width; i=i+10)
{
pushMatrix();
strokeWeight(0.5);
stroke(i/2,50,200);
translate(width,-height);
line(0,i,i,height);
popMatrix();
}
}

Thanks for your help it would be much appreciated:)

-a- please format your code with the
</> Preformatted text button from the editor menu

-b- i like your colors and the mirror idea
if that is what you wanted?

void setup() {
  size (1200, 900);
  background(0);
  strokeWeight(0.5);
  noLoop();
}

void draw() {
  for (int i=0; i<width; i+=10) {
    stroke(i/2, 50, 200);
    line(0, i, i, height);
    line(width, i, width-i, height);
  }
}