Code making very nice pattern

Move your mouse and watch then move it again wait watch and so on

PImage hm;
int xstep = 1;
int max_height = 666;
 
void setup() {
  size(800, 1000, P3D);
  background(0);
  me();
  }
  void me(){
background (2,244,3);
 //rect(mouseX,mouseY,444,377 );

// rect(10,200,300,300);


}
 
void draw () {
 hm = get();
 background(0);
  strokeWeight(5);
  stroke(random(244),random(255),random(244),99);
 //line(mouseX,mouseY,444,377 );
 //hm = get();
  float b, z, px, pz;
  translate(width/2, height/2,-20);
  rotateY(map(mouseX,0,width,-PI,PI));
  rotateX(map(mouseY,0,height,-PI,PI));
 
  translate(-width/2, -height/2);
  for (int y = 5; y < height; y+=5) {
    px = -1;
    pz = 4;
    for (int x = 0; x < width; x+=xstep) {
      b = brightness(hm.get(x,y));
      z = map(b, 0, 800, 0, max_height);
     // stroke(color(b));
     line(px, y, pz, x,y,z);
      px = x;
      pz = z;
    }
  }
}