Orthographic path traveling

So I am trying to use the camera function and the orthographic view to travel down a path I have managed to get it to work with perspective but I cant get it to work properly with the orthographic view. Below is the code:

void setup(){
  size(800,800,P3D);
  ortho(-width/2, width/2, -height/2, height/2,1,1000);
  //ortho();
  //perspective(PI/3.0, float(width)/float(height),1,1000);
  frameRate(60);
}

void draw(){
  background(0);
  camera(0,-10,200-frameCount,0,0,0-frameCount,0,0,1);
  fill(255,0,0);
  ellipse(0,-20,10,10);
  beginShape();
  vertex(-10,0,-400);
  vertex(10,0,-400);
  vertex(10,0,100);
  vertex(-10,0,100);
  endShape();
  fill(0,255,0);
  beginShape();
  vertex(-10,0,100);
  vertex(10,0,100);
  vertex(10,0,800);
  vertex(-10,0,800);
  endShape();
}

To get an idea of what i want it to do uncomment the perspective line and run it, but in orthographic there must be some clipping issue i am having because even though there is no depth the green part of the path should still extend to the bottom of the screen, not be clipped away.

Have you tried manipulating the near and far arguments to ortho – in particular, near? Those should control clipping.

https://processing.org/reference/ortho_.html

Yes I have, If you know how to fix it and can post the code I would appreciate it, because I have spent hours messing around every which way with the ortho parameters trying to get it to work but no matter what I do it doesn’t seem to fix the near clipping issue.